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

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

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

    @Schema(description = "沟渠名称")
    private String grpjName;
    @Schema(description = "经度")
    private BigDecimal grpjLong;
    @Schema(description = "纬度")
    private BigDecimal grpjLat;
    @Schema(description = "沟渠位置")
    private String grpjLoc;
    @Schema(description = "工程数量")
    private Short engNum;
    @Schema(description = "工程长度(m)")
    private BigDecimal engLen;
    @Schema(description = "管理长度(m)")
    private BigDecimal mangReaLen;
    @Schema(description = "岸别")
    private String bank;
    @Schema(description = "走向")
    private String grpjBrin;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
