package cn.superdesk.uniorder.dto.dubbo.base;

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

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author linjinyu
 * @email linjinyu@avic-s.com
 * @date 2020-09-23 15:16:04
 */
@Data
@ToString
public class UnifiedOrderCreditParam implements Serializable {

	@ApiModelProperty("")
	private Long       id;
	@ApiModelProperty("")
	private String     orderSn;
	@ApiModelProperty("")
	private Long       orderId;
	@ApiModelProperty("")
	private Long       goodsId;
	@ApiModelProperty("")
	private Long       outSnapshotOrderCreditId;
	@ApiModelProperty("积分类型id(如果是微信支付,显示0)")
	private Integer    creditType;
	@ApiModelProperty("积分名称")
	private String     creditName;
	@ApiModelProperty("积分变动类型(1充值 2消费 3退款)")
	private Integer    dailyAccountType;
	@ApiModelProperty("积分批次 (如果是微信支付,显示 wechat)")
	private String     batchs;
	@ApiModelProperty("消耗 积分额度 积分支付金额")
	private BigDecimal balance;
	@ApiModelProperty("所属企业id(买家)")
	private Long       enterpriseId;
	@ApiModelProperty("会员(买家)id")
	private Long       memberId;
	@ApiModelProperty("0未支付  1已支付")
	private Integer    payStatus;
	@ApiModelProperty("1积分支付  2微信支付")
	private Integer    payType;
	@ApiModelProperty("客户对账:1-已对账;2-未对账")
	private Integer    accountingStateCustomer;
	@ApiModelProperty("供应商对账:1-已对账;2-未对账")
	private Integer    accountingStateSupplier;
	@ApiModelProperty("发票申请状态 是否已申请 0-未申请;1-已申请;")
	private Integer    invoiceApplyStatus;
	@ApiModelProperty("开票状态 是否已登记开票 0-未登记;1-已登记;")
	private Integer    invoiceMakeStatus;
	@ApiModelProperty("回款状态 是否回款 0-未回款;1-已回款;")
	private Integer    backStatus;
	@ApiModelProperty("")
	private Integer    direction;
	@ApiModelProperty("")
	private Date       createTime;
	@ApiModelProperty("")
	private Long       createUserId;
	@ApiModelProperty("")
	private Date       updateTime;
	@ApiModelProperty("")
	private Long       updateUserId;


}
