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

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

@Schema(description = "排水沟信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttDpdsBase extends AttDpdsBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "排水沟名称")
    private String dpdsName;
    @Schema(description = "经度")
    private BigDecimal dpdsLong;
    @Schema(description = "纬度")
    private BigDecimal dpdsLat;
    @Schema(description = "排水沟位置")
    private String dpdsLoc;
    @Schema(description = "挡数")
    private Short dangNum;
    @Schema(description = "排水沟编码")
    private String dpdsNum;
    @Schema(description = "排水沟长度(m)")
    private BigDecimal dpdsLen;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
