package com.sckw.payment.model.dto.wallet;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Setter
public class SplitDto implements Serializable {
    @Serial
    private static final long serialVersionUID = -2392867380336186963L;
    /**
     * 支付方UID
     */
    @JSONField(name = "uid")
    private String uid;
    /**
     * 清分收款方UID
     */
    @JSONField(name = "recv_uid")
    private String recvUid;

    /**
     * 清分金额
     */
    @JSONField(name = "money")
    private int money;
    /**
     * 记录时间
     */
    @JSONField(name = "create_time")
    private String createTime;
    /**
     * 业务号
     */
    @JSONField(name = "business_no")
    private String businessNo;
    /**
     * 支付通道
     */
    @JSONField(name = "channel")
    private String channel;

    @JSONField(name = "ap_no")
    private Object apNo;
    /**
     * 清分单号
     */
    @JSONField(name = "sub_no")
    private String subNo;
    /**
     * 完成时间
     */
    @JSONField(name = "finish_time")
    private String finishTime;
    /**
     * 1-成功 2-等待分账 3-分帐中
     */
    @JSONField(name = "status")
    private int status;

    @JSONField(name = "status_label")
    private String statusLabel;

}