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

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

@Schema(description = "涵洞信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttRudABase extends AttRudABaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "涵洞名称")
    private String rudaName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "涵洞位置")
    private String rudaLoc;
    @Schema(description = "涵洞高度(m)")
    private BigDecimal rudaHeig;
    @Schema(description = "涵洞长度(m)")
    private BigDecimal rudaDamLen;
    @Schema(description = "工程等级")
    private String engGrad;
    @Schema(description = "主要建筑物级别")
    private String mainBuildGrad;
    @Schema(description = "调节类型")
    private String retType;
    @Schema(description = "填筑类型")
    private String filEmType;
    @Schema(description = "影响程度")
    private String inflMed;
    @Schema(description = "工程状态")
    private String engStat;
    @Schema(description = "运行状态")
    private String runStat;
    @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;
}
