|  |  | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonPropertyOrder; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @Schema(title = "充值记录视图对象") | 
 |  |  | @JsonPropertyOrder({ "opeId", "cardId", "clientName", "phone", "idCard", "clientNum", "villageName", "address", "money", "cardNum", "cardCost", "amount", "gift", "refundAmount", "afterRecharge", "paymentName", "price", "opr"}) | 
 |  |  | public class VoRecharge implements BaseEntity { | 
 |  |  |     private static final long serialVersionUID = 1L; | 
 |  |  |     private static final long serialVersionUID = 202409211025001L; | 
 |  |  |  | 
 |  |  |     //@Schema(title = "ID") | 
 |  |  |     //private String id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 操作ID | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     private Long opeId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 水卡ID | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     private Long cardId; | 
 |  |  |  | 
 |  |  |     @Schema(title = "农户姓名") | 
 |  |  |     /** | 
 |  |  |      * 农户姓名 | 
 |  |  |      */ | 
 |  |  |     private String clientName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 手机号 | 
 |  |  |      */ | 
 |  |  |     private String phone; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 身份证号 | 
 |  |  |      */ | 
 |  |  |     private String idCard; | 
 |  |  |  | 
 |  |  |     @Schema(title = "农户编号") | 
 |  |  |     /** | 
 |  |  |      * 农户编号 | 
 |  |  |      */ | 
 |  |  |     private String clientNum; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 村委会名称 | 
 |  |  |      */ | 
 |  |  |     private String villageName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 居住地址 | 
 |  |  |      */ | 
 |  |  |     private String address; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 水卡余额 | 
 |  |  |      * 水卡最终余额 | 
 |  |  |      */ | 
 |  |  |     private Float money; | 
 |  |  |  | 
 |  |  |     @Schema(title = "水卡编号") | 
 |  |  |     private String cardNum; | 
 |  |  |     /** | 
 |  |  |      * 水卡编号 | 
 |  |  |      */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     private Long cardNum; | 
 |  |  |  | 
 |  |  |     @Schema(title = "充值金额") | 
 |  |  |     /** | 
 |  |  |      * 购卡费用 | 
 |  |  |      */ | 
 |  |  |     private Integer cardCost; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 本次充值金额 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Float amount; | 
 |  |  |  | 
 |  |  |     @Schema(title = "返回金额") | 
 |  |  |     /** | 
 |  |  |      * 本次赠送金额 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Float gift; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 返还金额 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Float refundAmount; | 
 |  |  |  | 
 |  |  |     @Schema(title = "充值后金额") | 
 |  |  |     /** | 
 |  |  |      * 充值后金额,充值时余额 + 本次充值金额 + 本次赠送金额 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Float afterRecharge; | 
 |  |  |  | 
 |  |  |     @Schema(title = "支付方式") | 
 |  |  |     /** | 
 |  |  |      * 支付方式 | 
 |  |  |      */ | 
 |  |  |     private String paymentName; | 
 |  |  |  | 
 |  |  |     @Schema(title = "水价") | 
 |  |  |     /** | 
 |  |  |      * 水价 | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
 |  |  |     private Float price; | 
 |  |  |  | 
 |  |  |     @Schema(title = "操作人") | 
 |  |  |     /** | 
 |  |  |      * 操作人 | 
 |  |  |      */ | 
 |  |  |     private String opr; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 操作类型 | 
 |  |  |      */ | 
 |  |  |     private String operateType; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 操作时间 | 
 |  |  |      */ | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
 |  |  |     @Schema(title = "操作时间") | 
 |  |  |     private Date operateDt; | 
 |  |  | } |