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

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

@Schema(description = "管道信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttPipeBase extends AttPipeBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "管道名称")
    private String pipeName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "管道位置")
    private String pipeLoc;
    @Schema(description = "管道类型")
    private String pipeType;
    @Schema(description = "管道外径(m)")
    private BigDecimal pipeOudi;
    @Schema(description = "管道用途")
    private String pipeUse;
    @Schema(description = "穿河形式")
    private String crRvForm;
    @Schema(description = "穿河长度(m)")
    private BigDecimal crRvLen;
    @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;
}
