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

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

@Schema(description = "水文站信息实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AttStBase extends AttStBaseKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "测站名称")
    private String stName;
    @Schema(description = "测站类型")
    private String stType;
    @Schema(description = "测站经度")
    private BigDecimal stLong;
    @Schema(description = "测站纬度")
    private BigDecimal stLat;
    @Schema(description = "测站地址")
    private String stSite;
    @Schema(description = "建站年月")
    private Date stYearMon;
    @Schema(description = "开始报汛年月")
    private Date begRepoYearMon;
    @Schema(description = "岸别")
    private String bank;
    @Schema(description = "方位")
    private Short stDir;
    @Schema(description = "集水面积(km²)")
    private BigDecimal catArea;
    @Schema(description = "监测项目")
    private String moniItem;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "更新日期")
    private Date updDate;
}
