package com.huiju.estateagents.property.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 账单流水表
 * </p>
 *
 * @author weiximei
 * @since 2019-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tp_bill_statement")
public class BillStatement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小区id
     */
    private Integer communityId;

    /**
     * 缴费单id
     */
    private Integer billInvoiceId;

    /**
     * app 用户id
     */
    private Integer taUserId;

    /**
     * 收费金额
     */
    private Integer payPrice;

    /**
     * 缴费人
     */
    private String payName;

    /**
     * 缴费备注
     */
    private String payRemark;

    /**
     * 缴费方式  0：微信支付  1：线下缴费
     */
    private String payType;

    /**
     * 生成流水时间
     */
    private Date createTime;

    /**
     * 收费组编号
     */
    @TableField(exist = false)
    private Integer billId;

    /**
     * 收费组名称
     */
    @TableField(exist = false)
    private String billName;


}
