package com.cool.store.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

@Data
public class SplitOrderResponse implements Serializable {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("分账单号")
    private String splitNo;

    @ApiModelProperty("分账类型（1-门店付款/2-门店收款/3-公司间结算）")
    private Integer splitType;

    @ApiModelProperty("关联门店")
    private String relatedStoreId;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("门店编码")
    private String storeNum;

    @ApiModelProperty("付款账户名称")
    private String payerAccountName;

    @ApiModelProperty("付款账户")
    private String payerAccountNo;

    @ApiModelProperty("收款账户")
    private String payeeAccountNo;

    @ApiModelProperty("分账失败原因")
    private String failReason;

    @ApiModelProperty("收款账户名称")
    private String payeeAccountName;

    @ApiModelProperty("费用类型")
    private String expenseTypeCode;

    @ApiModelProperty("分账金额")
    private BigDecimal splitAmount;

    @ApiModelProperty("关联单据号（如费用调整单号）")
    private String relatedDocNo;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态（待分账/已完成）")
    private Integer status;

    @ApiModelProperty("确认人")
    private String confirmer;

    @ApiModelProperty("确认人姓名")
    private String confirmerName;

    @ApiModelProperty("确认时间")
    private Date confirmTime;

    @ApiModelProperty("创建人")
    private String createUserId;

    @ApiModelProperty("创建人姓名")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("单据来源（1-手工新增/2-费用调整单/3-费用单）")
    private Integer source;



}
