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

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

@Schema(description = "渡槽信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttFlumBase extends AttFlumBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "渡槽名称")
    private String flumName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "渡槽位置")
    private String flumLoc;
    @Schema(description = "渡槽水力特性")
    private BigDecimal flumWatProp;
    @Schema(description = "渡槽形式")
    private String flumPatt;
    @Schema(description = "断面形式")
    private String flumSecPatt;
    @Schema(description = "跨河长度(m)")
    private BigDecimal crRvLen;
    @Schema(description = "支撑类型")
    private String suppType;
    @Schema(description = "支撑孔数")
    private Short suppOrifNum;
    @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;
}
