| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | 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 Long id; |
| | | /** |
| | | * 操作ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long opeId; |
| | | |
| | | @Schema(title = "农户姓名") |
| | | /** |
| | | * 水卡ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long cardId; |
| | | |
| | | /** |
| | | * 农户姓名 |
| | | */ |
| | | private String clientName; |
| | | |
| | | @Schema(title = "农户编号") |
| | | /** |
| | | * 手机号 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 身份证号 |
| | | */ |
| | | private String idCard; |
| | | |
| | | /** |
| | | * 农户编号 |
| | | */ |
| | | private String clientNum; |
| | | |
| | | @Schema(title = "水卡编号") |
| | | private String cardNum; |
| | | /** |
| | | * 村委会名称 |
| | | */ |
| | | private String villageName; |
| | | |
| | | @Schema(title = "充值金额") |
| | | /** |
| | | * 居住地址 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 水卡最终余额 |
| | | */ |
| | | private Float money; |
| | | |
| | | /** |
| | | * 水卡编号 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long cardNum; |
| | | |
| | | /** |
| | | * 购卡费用 |
| | | */ |
| | | 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; |
| | | |
| | | /** |
| | | * 充值后金额,充值时余额 + 本次充值金额 + 本次赠送金额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float afterRecharge; |
| | | |
| | | @Schema(title = "支付方式") |
| | | private Integer paymentId; |
| | | /** |
| | | * 支付方式 |
| | | */ |
| | | private String paymentName; |
| | | |
| | | @Schema(title = "水价") |
| | | /** |
| | | * 水价 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Float price; |
| | | |
| | | @Schema(title = "操作人") |
| | | private String operator; |
| | | /** |
| | | * 操作人 |
| | | */ |
| | | 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; |
| | | } |