package com.sptg.estate.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lianghanqiang
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("estate_bills")
public class Bills {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 社区id
     */
    @TableField("agency_id")
    private Long agencyId;
    /**
     * 社区名称
     */
    @TableField("agency_name")
    private String agencyName;
    /**
     * 小区id
     */
    @TableField("residential_id")
    private Long residentialId;
    /**
     * 小区名称
     */
    @TableField("residential_name")
    private String residentialName;
    /**
     * 楼栋id
     */
    @TableField("building_id")
    private Long buildingId;
    /**
     * 楼栋名称
     */
    @TableField("building_name")
    private String buildingName;
    /**
     * 单元id
     */
    @TableField("unit_id")
    private Long unitId;
    /**
     * 单元名称
     */
    @TableField("unit_name")
    private String unitName;
    /**
     * 楼层id
     */
    @TableField("floor_id")
    private Long floorId;
    /**
     * 楼层名称
     */
    @TableField("floor_name")
    private String floorName;
    /**
     * 房间id
     */
    @TableField("room_id")
    private Long roomId;
    /**
     * 房间名称
     */
    @TableField("room_name")
    private String roomName;
    /**
     * 账单日期
     */
    @TableField("bills_date")
    private String billsDate;
    /**
     * 账单总费用
     */
    @TableField("total_fee")
    private Double totalFee;
    /**
     * 账单支付状态，1为未支付，2为已支付
     */
    @TableField("status")
    private Integer status;
    /**
     * 支付流水
     */
    @TableField("pay_id")
    private Long payId;
    /**
     * 是否删除
     */
    @TableField("is_del")
    private Integer isDel;
    /**
     * orgPosition
     */
    @TableField("org_position")
    private String orgPosition;

}
