xuhy
2025-04-27 5fa6e6f8410ef9d057174bcff2a3c5038c54a551
ruoyi-system/src/main/java/com/ruoyi/system/model/TTenant.java
@@ -1,12 +1,9 @@
package com.ruoyi.system.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
@@ -16,6 +13,7 @@
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
/**
 * <p>
@@ -43,9 +41,9 @@
    @ApiModelProperty(value = "入住时间")
    @NotNull(message = "入住时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("checkIn_time")
    private LocalDateTime checkinTime;
    private LocalDate checkinTime;
    @ApiModelProperty(value = "租户属性")
    @TableField("tenant_attributes")
@@ -53,19 +51,7 @@
    @ApiModelProperty(value = "租户类型")
    @TableField("tenant_type")
    private Integer tenantType;
    @ApiModelProperty(value = "租户楼栋")
    @TableField("tenant_building")
    private String tenantBuilding;
    @ApiModelProperty(value = "房号")
    @TableField("room_number")
    private String roomNumber;
    @ApiModelProperty(value = "建筑面积")
    @TableField("building_area")
    private Integer buildingArea;
    private String tenantType;
    @ApiModelProperty(value = "联系电话")
    @NotBlank(message = "联系电话不能为空")
@@ -98,5 +84,24 @@
    @ApiModelProperty(value = "登录密码")
    @TableField("password")
    private String password;
    @ApiModelProperty(value = "微信openid")
    @TableField("open_id")
    private String openId;
    @ApiModelProperty(value = "法人")
    @TableField("legal_person")
    private String legalPerson;
    @ApiModelProperty(value = "社会统一信用代码")
    @TableField("credit_code")
    private String creditCode;
    @ApiModelProperty(value = "开户行")
    @TableField("bank_name")
    private String bankName;
    @ApiModelProperty(value = "承租人")
    @TableField("lessee")
    private String lessee;
}