| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.voSe; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | 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 15:46 | 
|---|
|  |  |  | * @LastEditTime 2023/12/6 15:46 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Schema(title = "冲正记录视图对象") | 
|---|
|  |  |  | public class VoReversal { | 
|---|
|  |  |  | 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 = "剩余金额") | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Float cardBalance; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @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; | 
|---|
|  |  |  | } | 
|---|