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

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

@Schema(description = "桥梁信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttBridBase extends AttBridBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "桥梁名称")
    private String bridName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "桥梁位置")
    private String bridLoc;
    @Schema(description = "主要桥梁类型")
    private String mainBridYtpe;
    @Schema(description = "主桥长度(m)")
    private BigDecimal mainBridLen;
    @Schema(description = "主桥宽度(m)")
    private BigDecimal mainBridWid;
    @Schema(description = "主桥孔数")
    private Short mainBridHoleNum;
    @Schema(description = "副桥孔数")
    private Short depuBridHoleNum;
    @Schema(description = "主桥孔净跨(m)")
    private BigDecimal mainBridHoleNetSpan;
    @Schema(description = "桥梁设计荷载")
    private BigDecimal bridDesLoad;
    @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;
}
