| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.voSe; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | 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-26 20:44 | 
|---|
|  |  |  | * @LastEditTime 2023-12-26 20:44 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Schema(title = "交易记录视图对象") | 
|---|
|  |  |  | public class VoTransaction implements BaseEntity { | 
|---|
|  |  |  | private static final long serialVersionUID = 202401241705001L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "订单编号") | 
|---|
|  |  |  | private Long orderNumber; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "村庄ID") | 
|---|
|  |  |  | private Long villageId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "村庄") | 
|---|
|  |  |  | private String districtTitle; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "农户编号") | 
|---|
|  |  |  | private String clientNum; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "姓名") | 
|---|
|  |  |  | private String name; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "水卡编号") | 
|---|
|  |  |  | private Long cardNum; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "身份证号") | 
|---|
|  |  |  | private String idCard; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "联系电话") | 
|---|
|  |  |  | private String phone; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "业务类型") | 
|---|
|  |  |  | private String operateType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "交易时间") | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|---|
|  |  |  | private Date operateTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "余额") | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Float money; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "购水金额") | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Float waterCost; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "赠送金额") | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) | 
|---|
|  |  |  | private Float gift; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "购卡金额") | 
|---|
|  |  |  | private Integer cardCost; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "支付方式") | 
|---|
|  |  |  | private String paymentMethod; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "操作员") | 
|---|
|  |  |  | private String operatorName; | 
|---|
|  |  |  | } | 
|---|