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

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

@Schema(description = "消力池信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttDiscBase extends AttDiscBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "消力池名称")
    private String discName;
    @Schema(description = "起点经度")
    private BigDecimal startLong;
    @Schema(description = "起点纬度")
    private BigDecimal startLat;
    @Schema(description = "终点经度")
    private BigDecimal endLong;
    @Schema(description = "终点纬度")
    private BigDecimal endLat;
    @Schema(description = "起点位置")
    private String startLoc;
    @Schema(description = "终点位置")
    private String endLoc;
    @Schema(description = "消力池等级")
    private String discGrad;
    @Schema(description = "消力池类型")
    private String discType;
    @Schema(description = "消力池形式")
    private String discPatt;
    @Schema(description = "消力池长度(m)")
    private BigDecimal discLen;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
