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;

/**
 * @author gongbiao
 */
@TableName(value = "wx_bill_rent_deposit")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxBillDeposit extends BaseEntity {


    protected Long id;


    @TableField(exist = false)
	private String merchantName;

    @TableField(exist = false)
    private String shopNumber;

	@io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId")
	private Long rentContractId;
	@io.swagger.annotations.ApiModelProperty(value="实际应收金额",name="receivePay")
    private Long receivePay;
	@io.swagger.annotations.ApiModelProperty(value="实收金额",name="pay")
    private Long pay;
	@io.swagger.annotations.ApiModelProperty(value="收款日期",name="receiveDate")
	private Date receiveDate;
	@io.swagger.annotations.ApiModelProperty(value="到账日期",name="payDate")
	private Date payDate;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime")
	private Date createtime;
	@io.swagger.annotations.ApiModelProperty(value="逾期天数",name="expiredDay")
	private Long expiredDay;
	@io.swagger.annotations.ApiModelProperty(value="租户",name="tenantId")
	private String tenantId;
	@io.swagger.annotations.ApiModelProperty(value="欠缴",name="owe")
    private Long owe;
	@io.swagger.annotations.ApiModelProperty(value = "账单状态1欠缴2待缴3已结清4未到期5已退还", name = "status")
	private Integer status;
	@io.swagger.annotations.ApiModelProperty(value="是否删除 是1否0 未到期不显示",name="isDel")
	private Integer isDel;
	@io.swagger.annotations.ApiModelProperty(value="应收金额",name="needPay")
    private Long needPay;
	@io.swagger.annotations.ApiModelProperty(value="商户ID",name="merchantId")
	private Long merchantId;
	@io.swagger.annotations.ApiModelProperty(value="账号ID",name="userId")
	private Long userId;
	@io.swagger.annotations.ApiModelProperty(value="商铺ID",name="shopId")
	private Long shopId;
	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updatetime")
	private Date updatetime;

	@io.swagger.annotations.ApiModelProperty(value="开始时间",name="starttime")
	private Date starttime;

	@io.swagger.annotations.ApiModelProperty(value="结束时间",name="endtime")
	private Date endtime;

    @io.swagger.annotations.ApiModelProperty(value = "租赁商铺类型", name = "rentShopType")
    private Integer rentShopType;

	@io.swagger.annotations.ApiModelProperty(value = "退还金额", name = "returnPrice")
	private Integer returnPrice;

	@io.swagger.annotations.ApiModelProperty(value = "商铺信息", name = "shopInfo")
	private String shopInfo;

	@io.swagger.annotations.ApiModelProperty(value = "支付方式：见枚举EnumBillPayWay", name = "payWay")
	private Integer payWay;

	@io.swagger.annotations.ApiModelProperty(value = "冻结状态，0正常1冻结", name = "freeze")
	private Integer freeze;

	@io.swagger.annotations.ApiModelProperty(value = "手续费", name = "serviceChargePay")
	private Integer serviceChargePay;

	@io.swagger.annotations.ApiModelProperty(value="实际应收金额",name="realReceivePay")
	@TableField(exist = false)
	private Long realReceivePay;

	@TableField(exist = false)
	private String serviceChargePayBefore;
	@TableField(exist = false)
	private String serviceChargePayUpdate;
}
