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 com.fasterxml.jackson.annotation.JsonPropertyOrder; 
 | 
import lombok.Data; 
 | 
import org.springframework.format.annotation.DateTimeFormat; 
 | 
  
 | 
import java.util.Date; 
 | 
  
 | 
/** 
 | 
 * @author :WuZeYu 
 | 
 * @Date :2024/6/17  11:24 
 | 
 * @LastEditTime :2024/6/17  11:24 
 | 
 * @Description 
 | 
 */ 
 | 
@Data 
 | 
@JsonPropertyOrder({"vcId", "clientId", "rechargeTime", "rechargeAmount", "afterRecharge", "rechargeType"}) 
 | 
public class VoVcRecharge implements BaseEntity { 
 | 
    private static final long serialVersionUID = 202410211420001L; 
 | 
  
 | 
    /** 
 | 
     * 虚拟卡ID 
 | 
     */ 
 | 
    @JSONField(serializeUsing= ObjectWriterImplToString.class) 
 | 
    private Long vcId; 
 | 
  
 | 
    /** 
 | 
     * 农户ID 
 | 
     */ 
 | 
    @JSONField(serializeUsing= ObjectWriterImplToString.class) 
 | 
    private Long clientId; 
 | 
  
 | 
    /** 
 | 
     * 充值完成时间 
 | 
     */ 
 | 
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
 | 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 
 | 
    private Date rechargeTime; 
 | 
  
 | 
    /** 
 | 
     * 充值金额 
 | 
     */ 
 | 
    private Double rechargeAmount; 
 | 
  
 | 
    /** 
 | 
     * 充值后余额 
 | 
     */ 
 | 
    @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) 
 | 
    private Double afterRecharge; 
 | 
  
 | 
    /** 
 | 
     * 充值类型 
 | 
     */ 
 | 
    private String rechargeType; 
 | 
  
 | 
    /** 
 | 
     * 虚拟卡状态,暂时不用,直接过滤掉已注销虚拟卡 
 | 
     */ 
 | 
    //private String cardState; 
 | 
  
 | 
} 
 |