package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.*;

@TableName(value = "wx_profit_sharing_order")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxProfitSharingOrder extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value="接收方(商场租户id)",name="tenantId")
	private String tenantId;
	@io.swagger.annotations.ApiModelProperty(value="商户ID",name="merchantId")
	private Long merchantId;
	@io.swagger.annotations.ApiModelProperty(value="订单ID",name="orderId")
	private Long orderId;
	@io.swagger.annotations.ApiModelProperty(value="分账总金额(分)",name="payAmount")
	private Integer payAmount;
	@io.swagger.annotations.ApiModelProperty(value="分账结束时间(秒)",name="payTimeEnd")
	private Date payTimeEnd;
	@io.swagger.annotations.ApiModelProperty(value="分账发起时间(秒)",name="payTimeStart")
	private Date payTimeStart;
	@io.swagger.annotations.ApiModelProperty(value="微信生成的支付单号",name="transactionId")
	private String transactionId;
	@io.swagger.annotations.ApiModelProperty(value="微信生成分账单号",name="sharingOrderId")
	private String sharingOrderNo;
	@io.swagger.annotations.ApiModelProperty(value="分账类型(0单次,1多次,2完结)",name="type")
	private Integer type;
	@io.swagger.annotations.ApiModelProperty(value="分账接收者参数",name="receivers")
	private String receivers;
	@io.swagger.annotations.ApiModelProperty(value="分账申请失败原因",name="errorMsg")
	private String errorMsg;
	@io.swagger.annotations.ApiModelProperty(value="分账状态:1=提交订单失败, 2=提交业务失败,3=受理成功,4=处理中,5=处理完成,6=处理失败, 已关单,(1-2)为API返回,2具体信息在error_des中,(2-6)为查询返回",name="sharingStatus")
	private Integer sharingStatus;
	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateTime")
	private Date updateTime;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createTime")
	private Date createTime;


}
