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

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

@Schema(description = "机电排灌信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttInsiBase extends AttInsiBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "机电排灌名称")
    private String insiName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "位置")
    private String insiLoc;
    @Schema(description = "类型")
    private String insiType;
    @Schema(description = "管涵净高(m)")
    private BigDecimal pipeNetHeig;
    @Schema(description = "管涵净宽(m)")
    private BigDecimal pipeNetWid;
    @Schema(description = "管道内径(m)")
    private BigDecimal pipeIndi;
    @Schema(description = "孔数")
    private Short orifNum;
    @Schema(description = "基础结构形式")
    private String baseStrPatt;
    @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;
}
