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

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

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

    @Schema(description = "河流名称")
    private String rvName;
    @Schema(description = "河源经度")
    private BigDecimal rvSourLong;
    @Schema(description = "河源纬度")
    private BigDecimal rvSourLat;
    @Schema(description = "河口经度")
    private BigDecimal rvMouLong;
    @Schema(description = "河口纬度")
    private BigDecimal rvMouLat;
    @Schema(description = "河源位置")
    private String rvSourLoc;
    @Schema(description = "河口位置")
    private String rvMouLoc;
    @Schema(description = "跨河类型")
    private String crOverType;
    @Schema(description = "流经地区")
    private String flowArea;
    @Schema(description = "河流类型")
    private String rvType;
    @Schema(description = "河流等级")
    private String rvGrad;
    @Schema(description = "岸别")
    private String bank;
    @Schema(description = "河流长度(km)")
    private BigDecimal rvLen;
    @Schema(description = "流域面积(km²)")
    private BigDecimal rvBasArea;
    @Schema(description = "多年平均流量(m³/s)")
    private BigDecimal lonAverAnnFlow;
    @Schema(description = "实测年径流量(万m³)")
    private BigDecimal meaAnnRuof;
    @Schema(description = "平均比降")
    private BigDecimal averSlop;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
