package com.goldenwater.slgc.domain;

import com.goldenwater.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Schema(description = "堤防信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttDikeBase extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "堤防编码")
    private String dikeCode;
    @Schema(description = "采集日期")
    private Date collDate;
    @Schema(description = "堤防名称")
    private String dikeName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "起点位置")
    private String startLoc;
    @Schema(description = "终点位置")
    private String endLoc;
    @Schema(description = "堤防等级")
    private String dikeGrad;
    @Schema(description = "堤防类型")
    private String dikeType;
    @Schema(description = "堤防结构")
    private String dikePatt;
    @Schema(description = "堤防长度")
    private BigDecimal dikeLen;
    @Schema(description = "起始桩号")
    private String dikeStartNum;
    @Schema(description = "终止桩号")
    private String dikeEndNum;
    @Schema(description = "起点堤顶高程")
    private BigDecimal startDikeTopEl;
    @Schema(description = "终点堤顶高程")
    private BigDecimal endDikeTopEl;
    @Schema(description = "最小堤高")
    private BigDecimal dikeHeigMin;
    @Schema(description = "最大堤高")
    private BigDecimal dikeHeigMax;
    @Schema(description = "最小堤顶宽")
    private BigDecimal dikeTopWidMin;
    @Schema(description = "最大堤顶宽")
    private BigDecimal dikeTopWidMax;
    @Schema(description = "工程状态")
    private String engStat;
    @Schema(description = "运行状态")
    private String runStat;
    @Schema(description = "工程任务")
    private String engTask;
    @Schema(description = "开工日期")
    private Date startDate;
    @Schema(description = "竣工日期")
    private Date compDate;
    @Schema(description = "管理单位")
    private String admDep;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
    @Schema(description = "数据来源")
    private String source;
    @Schema(description = "堤防结构名称")
    private String dikePattName;
    @Schema(description = "临时编码")
    private String tempcode;
    @Schema(description = "类型")
    private String type;
    @Schema(description = "关键字")
    private String key;
}
