/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.estate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-04-23
 */
@Data
@TableName("estate_bills")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Bills对象", description = "Bills对象")
public class Bills extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
		private Long id;

	/**
	* 园区id
	*/
		@ApiModelProperty(value = "园区id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long agencyId;
	/**
	* 园区名称
	*/
		@ApiModelProperty(value = "园区名称")
		private String agencyName;
	/**
	* 小区id
	*/
		@ApiModelProperty(value = "小区id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long residentialId;
	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "小区名称")
		private String residentialName;
	/**
	* 楼栋id
	*/
		@ApiModelProperty(value = "楼栋id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long buildingId;
	/**
	* 楼栋名称
	*/
		@ApiModelProperty(value = "楼栋名称")
		private String buildingName;
	/**
	* 单元id
	*/
		@ApiModelProperty(value = "单元id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long unitId;
	/**
	* 单元名称
	*/
		@ApiModelProperty(value = "单元名称")
		private String unitName;
	/**
	* 楼层id
	*/
		@ApiModelProperty(value = "楼层id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long floorId;
	/**
	* 楼层名称
	*/
		@ApiModelProperty(value = "楼层名称")
		private String floorName;
	/**
	* 房间id
	*/
		@ApiModelProperty(value = "房间id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long roomId;
	/**
	* 房间名称
	*/
		@ApiModelProperty(value = "房间名称")
		private String roomName;
	/**
	* 资源路径
	*/
		@ApiModelProperty(value = "资源路径")
		private String orgPosition;
	/**
	* 账单日期
	*/
		@ApiModelProperty(value = "账单日期")
		private String billsDate;
	/**
	* 账单总费用
	*/
		@ApiModelProperty(value = "账单总费用")
		private Double totalFee;
	/**
	* 物业公司
	*/
		@ApiModelProperty(value = "物业公司")
		private String estateCompany;
	/**
	* 物业公司Id
	*/
		@ApiModelProperty(value = "物业公司Id")
		@JsonSerialize(using = ToStringSerializer.class)
		private Long estateCompanyId;
	/**
	* 缴费方式
	*/
		@ApiModelProperty(value = "缴费方式")
		private Integer payWay;
	/**
	* 支付流水
	*/
		@ApiModelProperty(value = "支付流水")
		private Long payId;
	/**
	 * 支付流水
	 */
		@ApiModelProperty(value = "支付状态")
		private Long payStatus;

}
