| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.voSe; | 
 |  |  |  | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.dy.pipIrrGlobal.util.Double2Serializer; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.fasterxml.jackson.databind.annotation.JsonSerialize; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2023/12/6 9:21 | 
 |  |  |  * @LastEditTime 2023/12/6 9:21 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @Schema(title = "挂失记录视图对象") | 
 |  |  | public class VoLoss implements BaseEntity{ | 
 |  |  |     private static final long serialVersionUID = 1L; | 
 |  |  |  | 
 |  |  |     @Schema(title = "ID") | 
 |  |  |     private Long id; | 
 |  |  |  | 
 |  |  |     @Schema(title = "农户姓名") | 
 |  |  |     private String clientName; | 
 |  |  |  | 
 |  |  |     @Schema(title = "农户编号") | 
 |  |  |     private String clientNum; | 
 |  |  |  | 
 |  |  |     @Schema(title = "水卡编号") | 
 |  |  |     private String cardNum; | 
 |  |  |  | 
 |  |  |     @Schema(title = "卡片余额") | 
 |  |  |     @JsonSerialize(using = Double2Serializer.class) | 
 |  |  |     //private Float money; | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Double money; | 
 |  |  |  | 
 |  |  |     @Schema(title = "操作人") | 
 |  |  |     private String operator; | 
 |  |  |  | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
 |  |  |     @Schema(title = "操作时间") | 
 |  |  |     private Date operateDt; | 
 |  |  | } |