package com.zcloud.modules.kangzai.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author fangjiakai
 * @Desc 河流基础信息表(BusRiver)实体
 * @Date 2025-06-09 09:44:22
 */
@Data
@TableName("bus_river")
public class BusRiverEntity implements Serializable {
    private static final long serialVersionUID = -53156131697551773L;
    //河流唯一ID
    @ApiModelProperty(value = "河流唯一ID")
    @TableId
    private String riverId;
    //河流名称
    @ApiModelProperty(value = "河流名称")
    private String riverName;
    //全长（km）
    @ApiModelProperty(value = "全长（km）")
    private Double totalLength;
    //流域面积（km²）
    @ApiModelProperty(value = "流域面积（km²）")
    private Double basinArea;
    //占全市国土面积百分比（%）
    @ApiModelProperty(value = "占全市国土面积百分比（%）")
    private Double cityAreaPercentage;
    //我市境内河长（km）
    @ApiModelProperty(value = "我市境内河长（km）")
    private Double inCityRiverLength;
    //我市境内流域面积（km²）
    @ApiModelProperty(value = "我市境内流域面积（km²）")
    private Double inCityBasinArea;
    //添加人
    @ApiModelProperty(value = "添加人")
    private String creator;
    //添加时间
    @ApiModelProperty(value = "添加时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    //修改人
    @ApiModelProperty(value = "修改人")
    private String operator;
    //修改时间
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String operatTime;
    //是否删除
    @ApiModelProperty(value = "是否删除")
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;

    //流经区县数
    @ApiModelProperty(value = "流经区县数")
    @TableField(exist = false)
    private long countyCount;
    //河道行洪隐患区村庄数
    @ApiModelProperty(value = "河道行洪隐患区村庄数")
    @TableField(exist = false)
    private long riskVillageCount;
}

