package cn.iocoder.yudao.module.payment.entity;

import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 分账记录对象 fz_record
 *
 * @author zcy
 * @date 2023-10-18
 */
@Data
public class FzRecord extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 商户主键 */
    private Long partnerId;

    /** 商户名称 */
    @Excel(name = "商户名称")
    private String partnerName;

    /** 订单主键 */
    private Long orderId;

    /** 单号 */
    @Excel(name = "单号")
    private String orderNo;

    /** 入账金额单位分 */
    @Excel(name = "入账金额单位分")
    private Long amount;

    /** 总金额 */
    @Excel(name = "总金额")
    private Long totalAmount;

    /** 是否成功1成功0失败 */
    @Excel(name = "是否成功1成功0失败")
    private String isSuccess;

    /** 失败原因 */
    @Excel(name = "失败原因")
    private String reason;

}
