package com.iformall.domain.po;

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

import java.util.Date;

@TableName(value = "wx_profit_sharing_receiver")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxProfitSharingReceiver 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="分账接收方类型,1 = MERCHANT_ID(商户 ID) 2 = PERSONAL_WECHATID(个人微信号) 3 = PERSONAL_OPENID(个人openid(由父商 户 APPID 转换得到) 4 = PERSONAL_SUB_OPENID(个人 sub_openid(由子商户 APPID 转换得到))",name="receiverType")
	private Integer receiverType;
	@io.swagger.annotations.ApiModelProperty(value="分账接收方账号,见接收方类型",name="receiverAccount")
	private String receiverAccount;
	@io.swagger.annotations.ApiModelProperty(value="分款接受方说明",name="receiverComments")
	private String receiverComments;
	@io.swagger.annotations.ApiModelProperty(value="",name="createTime")
	private Date createTime;
	@io.swagger.annotations.ApiModelProperty(value="",name="updateTime")
	private Date updateTime;
	@io.swagger.annotations.ApiModelProperty(value="分账类型:1-服务商户分账,2-商户转入银行卡",name="sharingType")
	private Integer sharingType;
	@io.swagger.annotations.ApiModelProperty(value="",name="bankNo")
	private String bankNo;
	@io.swagger.annotations.ApiModelProperty(value="",name="trueName")
	private String trueName;
	@io.swagger.annotations.ApiModelProperty(value="",name="bankCode")
	private String bankCode;
	@io.swagger.annotations.ApiModelProperty(value="分账接收方状态 0,正常 1,停用",name="status")
	private Integer status;
	@io.swagger.annotations.ApiModelProperty(value="分账参数,目前为分账比例(单位为万分之一)",name="parameter")
	private String parameter;

	@TableField(exist = false)
    @io.swagger.annotations.ApiModelProperty(value="分账金额(分)",name="sharingAmount")
	private Integer sharingAmount;

    @io.swagger.annotations.ApiModelProperty(value = "是否使用 0,不使用 1,使用", name = "isUse")
    private Integer isUse;

}
