| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.pojoSt; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @Author: liurunyu | 
 |  |  |  * @Date: 2024/7/24 16:38 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | @TableName(value="st_intake_amount_year", autoResultMap = true) | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Schema(name = "取水口年取水量统计") | 
 |  |  | public class StIntakeAmountYear implements BaseEntity { | 
 |  |  |  | 
 |  |  |     public static final long serialVersionUID = 202407241644002L; | 
 |  |  |     /** | 
 |  |  |      * 主键 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED) | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     public Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 取水口ID | 
 |  |  |     */ | 
 |  |  |     @Schema(description = "取水口实体外键", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     public Long intakeId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 统计年度 | 
 |  |  |     */ | 
 |  |  |     @Schema(description = "统计年度", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     public Integer year; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 年取水量 | 
 |  |  |     */ | 
 |  |  |     @Schema(description = "年取水量", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     public Double amount; | 
 |  |  |  | 
 |  |  | } |