39 lines
893 B
Java
39 lines
893 B
Java
package com.gunshi.project.hsz.model;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
@Data
|
|
@TableName("his_water_data")
|
|
public class HisWaterData {
|
|
|
|
@TableId(value = "id",type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
|
|
@TableField("year")
|
|
@Schema(description = "年度")
|
|
private String year;
|
|
|
|
@TableField("month")
|
|
@Schema(description = "月份")
|
|
private String month;
|
|
|
|
@TableField("avg_water")
|
|
@Schema(description = "月份平均蓄水量")
|
|
private BigDecimal avgWater;
|
|
|
|
@TableField(exist = false)
|
|
@Schema(description = "年度总蓄水量")
|
|
private BigDecimal totalWater;
|
|
|
|
|
|
}
|