package com.zksy.property.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
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 java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 标准化厂房收入情况表
 * @TableName a_property_receipt
 */
@TableName(value ="a_property_receipt")
@Data
public class APropertyReceipt implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_UUID)
    @ExcelIgnore
    private String id;

    /**
     * 收据号
     */
    @ApiModelProperty("收据号")
    @ExcelProperty(value = "收据号")
    private String receiptId;

    /**
     * 楼栋
     */
    @ApiModelProperty("楼栋")
    @ExcelProperty(value = "楼栋")
    private String building;

    /**
     * 单位
     */
    @ApiModelProperty("单位")
    @ExcelProperty(value = "单位")
    private String unit;

    /**
     * 收取时间
     */
    @ExcelProperty(value = "收取时间")
    @ApiModelProperty("收取时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDate collectionTime;

    /**
     * 房租
     */
    @ApiModelProperty("房租")
    @ExcelProperty(value = "房租")
    private BigDecimal rent;

    /**
     * 押金
     */
    @ApiModelProperty("押金")
    @ExcelProperty(value = "押金")
    private BigDecimal deposit;

    /**
     * 水费
     */
    @ExcelProperty(value = "水费")
    @ApiModelProperty("水费")
    private BigDecimal waterFee;

    /**
     * 电费
     */
    @ExcelProperty(value = "电费")
    @ApiModelProperty("电费")
    private BigDecimal electricityFee;

    /**
     * 物业管理费
     */
    @ApiModelProperty("物业管理费")
    @ExcelProperty(value = "物业管理费")
    private BigDecimal propertyManagementFee;

    /**
     * 租金收取时段
     */
    @ApiModelProperty("租金收取时段")
    @ExcelProperty(value = "租金收取时段")
    private String rentPeriod;

    /**
     * 经手人
     */
    @ExcelProperty(value = "经手人")
    @ApiModelProperty("经手人")
    private String handler;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String remarks;

    /**
     * 创建时间
     */
    @ExcelIgnore
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @ExcelIgnore
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}