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 luozukai
 */
@TableName(value = "wx_bill_settle_bill")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxBillSettleBill extends BaseEntity {
	public WxBillSettleBill(){}
	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="settleId")
	private Long settleId;
	@io.swagger.annotations.ApiModelProperty(value="类型: 0收款1承付",name="type")
	private Integer type;
	@io.swagger.annotations.ApiModelProperty(value="账单id",name="billId")
	private Long billId;
	@io.swagger.annotations.ApiModelProperty(value="账单类型: 1租金2押金3物业4水费5电费6其他7空调费",name="billType")
	private Integer billType;


	@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="账单类型/名称",name="billName")
	@TableField(exist = false)
	private String billName;
	@io.swagger.annotations.ApiModelProperty(value="应收金额",name="receivePay")
	@TableField(exist = false)
	private String receivePay;

	@TableField(exist = false)
	@io.swagger.annotations.ApiModelProperty(value="账单开始时间",name="starttime")
	private Date starttime;
	@TableField(exist = false)
	@io.swagger.annotations.ApiModelProperty(value="账单结束时间",name="endtime")
	private Date endtime;


	@TableField(exist = false)
	@io.swagger.annotations.ApiModelProperty(value="获取应收还是欠缴 0欠缴 1应收",name="getReceivePayOrOwe")
	private Integer getReceivePayOrOwe;
}
