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

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

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

    @Schema(description = "河道名称")
    private String reaName;
    @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 rvChanPatt;
    @Schema(description = "河道长度(km)")
    private BigDecimal reaLen;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
