package com.ruoyi.collaborativeApproval.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import java.time.LocalDateTime; import java.math.BigDecimal; import java.time.LocalDate; /** * 房屋租赁管理主表对象 house_lease * * @author ruoyi */ @Data @TableName("house_lease") public class HouseLease { private static final long serialVersionUID = 1L; /** 主键 */ @TableId(type = IdType.AUTO) private Long id; /** 办事处 */ @Excel(name = "办事处") private String office; /** 使用人 */ @Excel(name = "使用人") private String userName; /** 驻省人员 */ @Excel(name = "驻省人员") private String residentStaff; /** 地址 */ @Excel(name = "地址") private String address; /** 起租时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "起租时间", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate rentStartDate; /** 合同起租日 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "合同起租日", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate contractStartDate; /** 合同到期日 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "合同到期日", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate contractEndDate; /** 承租人 */ @Excel(name = "承租人") private String tenant; /** 合同甲方 */ @Excel(name = "合同甲方") private String partyA; /** 电话 */ @Excel(name = "电话") private String phone; /** 面积 */ @Excel(name = "面积") private BigDecimal area; /** 支付方式 */ @Excel(name = "支付方式") private String paymentMethod; /** 押金 */ @Excel(name = "押金") private BigDecimal deposit; /** 租金(元/月) */ @Excel(name = "租金(元/月)") private BigDecimal rent; /** 备注 */ @Excel(name = "备注") private String remark; /** 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** 创建时间 */ @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; /** 更新者 */ @TableField(fill = FieldFill.UPDATE) private Integer updateUser; /** 更新时间 */ @TableField(fill = FieldFill.UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; /** 租户ID */ @TableField(fill = FieldFill.INSERT) private Integer tenantId; /** 部门ID */ @TableField(fill = FieldFill.INSERT) private Long deptId; /** 删除标志(0代表存在 2代表删除) */ @TableLogic private String delFlag; }