package com.goldenwater.slgc.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.goldenwater.slgc.domain.key.AttFsdaBaseKey;

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

@Schema(description = "蓄滞洪区信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttFsdaBase extends AttFsdaBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "蓄滞洪区名称")
    private String fsdaName;
    @Schema(description = "左下经度")
    private BigDecimal lowLeftLong;
    @Schema(description = "左下纬度")
    private BigDecimal lowLeftLat;
    @Schema(description = "右上经度")
    private BigDecimal upRightLong;
    @Schema(description = "右上纬度")
    private BigDecimal upRightLat;
    @Schema(description = "蓄滞洪区位置")
    private String fsdaLoc;
    @Schema(description = "蓄滞洪区类型")
    private String fedaType;
    @Schema(description = "建设日期")
    private Date buildFlDate;
    @Schema(description = "总面积(km²)")
    private BigDecimal fsdaTotAera;
    @Schema(description = "围堤长度(m)")
    private BigDecimal fsdaDikeLen;
    @Schema(description = "设计蓄洪面积(km²)")
    private BigDecimal desFlArea;
    @Schema(description = "设计蓄洪水位(m)")
    private BigDecimal desFlStag;
    @Schema(description = "设计蓄洪库容(万m³)")
    private BigDecimal desStorCap;
    @Schema(description = "设计分洪流量(m³/s)")
    private BigDecimal desFlFlow;
    @Schema(description = "影响面积(亩)")
    private Long arArea;
    @Schema(description = "影响人口(万人)")
    private BigDecimal fsdaPop;
    @Schema(description = "影响GDP(亿元)")
    private BigDecimal fsdaGdp;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
