package com.sckw.payment.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 预付预收数据
 */
@Getter
@Setter
public class PrePayWalletVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 7340075510663637767L;
    /**
     * 预付时，代表付款人
     * 预收时，代表收款人
     */
    @JSONField(name = "uid")
    private String uid;
    private String uidName;
    private Long uidEnt;

    /**
     * 预付时，代表收款人
     * 预收时，代表付款人
     */
    @JSONField(name = "filter")
    private String filter;
    private String filterName;
    private Long filterEnt;

    @JSONField(name = "channel")
    private String channel;
    /**
     * 字典渠道
     */
    private String channelDict;

    @JSONField(name = "channel_label")
    private String channelLabel;
    /**
     * 预付金额
     */
    @JSONField(name = "ap_money")
    private String apMoney;
    /**
     * 退款中
     */
    @JSONField(name = "refund_ap_money")
    private String refundApMoney;
    /**
     * 使用中
     */
    @JSONField(name = "using_ap_money")
    private String usingApMoney;
    /**
     * 结算中
     */
    @JSONField(name = "settling_ap_money")
    private String settlingApMoney;
    /**
     * 总预付金额
     */
    @JSONField(name = "total_ap_money")
    private String totalApMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


}