package com.gxwebsoft.tower.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 标准节租金
 *
 * @author 科技小王子
 * @since 2024-02-05 15:04:19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerRent对象", description = "标准节租金")
public class TowerRent implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租单记录id")
    @TableId(value = "rent_id", type = IdType.AUTO)
    private Integer rentId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "租金")
    private BigDecimal rent;

    @ApiModelProperty(value = "每个月租金")
    private BigDecimal month;

    @ApiModelProperty(value = "月数")
    private Integer num;

    @ApiModelProperty(value = "获取的租金")
    private BigDecimal totalRent;

    @ApiModelProperty(value = "项目ID")
    private Integer projectId;

    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "设备ID")
    private Integer equipmentId;

    @ApiModelProperty(value = "起租日期")
    private String startDate;

    @ApiModelProperty(value = "停租日期")
    private String stopDate;

    @ApiModelProperty(value = "检测日期")
    private String checkDate;

    @ApiModelProperty(value = "报停日期")
    private String reportStopDate;

    @ApiModelProperty(value = "报停类型")
    private String reportStopType;

    @ApiModelProperty(value = "复工日期")
    private String restoreDate;

    @ApiModelProperty(value = "报监编号")
    private String reportMonitorNo;

    @ApiModelProperty(value = "承租单位")
    private Integer companyId;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "状态(0未起租1起租2中途报停3报停复工4拆卸停租)")
    private Boolean status;

    @ApiModelProperty(value = "所有人")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
