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

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

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

    @Schema(description = "防洪闸名称")
    private String poldName;
    @Schema(description = "左下经度")
    private BigDecimal lowLeftLong;
    @Schema(description = "左下纬度")
    private BigDecimal lowLeftLat;
    @Schema(description = "右上经度")
    private BigDecimal upRightLong;
    @Schema(description = "右上纬度")
    private BigDecimal upRightLat;
    @Schema(description = "防洪闸位置")
    private String poldLoc;
    @Schema(description = "防洪闸类型")
    private String poldClas;
    @Schema(description = "设计流量(m³/s)")
    private BigDecimal desFlow;
    @Schema(description = "运行方式")
    private String opPr;
    @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;
}
