| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.pojoSt; | 
 |  |  |  | 
 |  |  | 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.*; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @Author: liurunyu | 
 |  |  |  * @Date: 2024/7/24 15:48 | 
 |  |  |  * @Description 取水口漏损月统计 | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @TableName(value="st_loss_month", autoResultMap = true) | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Schema(name = "取水口漏损月统计") | 
 |  |  | public class StLossMonth implements BaseEntity { | 
 |  |  |  | 
 |  |  |     public static final long serialVersionUID = 202407241523001L; | 
 |  |  |     /** | 
 |  |  |      * 主键 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED) | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     public Long id; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 取水口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) | 
 |  |  |     public Integer month; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 月统计 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "月漏损量(m3)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     public Double amount; | 
 |  |  |  | 
 |  |  | } |