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.AttIrrBaseKey;

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

@Schema(description = "灌区信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttIrrBase extends AttIrrBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "灌区名称")
    private String irrName;
    @Schema(description = "左下经度")
    private BigDecimal lowLeftLong;
    @Schema(description = "左下纬度")
    private BigDecimal lowLeftLat;
    @Schema(description = "右上经度")
    private BigDecimal upRightLong;
    @Schema(description = "右上纬度")
    private BigDecimal upRightLat;
    @Schema(description = "灌溉范围")
    private String irrRang;
    @Schema(description = "水源类型")
    private String wausType;
    @Schema(description = "节水类型")
    private String wasoType;
    @Schema(description = "工程规模")
    private String engScal;
    @Schema(description = "总灌溉面积(亩)")
    private Long totIrrArea;
    @Schema(description = "有效灌溉面积(亩)")
    private Long effIrrArea;
    @Schema(description = "设计灌溉面积(亩)")
    private Long desIrrArea;
    @Schema(description = "工程状态")
    private String engStat;
    @Schema(description = "运行状态")
    private String runStat;
    @Schema(description = "开工日期")
    private Date startDate;
    @Schema(description = "竣工日期")
    private Date compDate;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
