Files
smartDriveEE/src/main/java/com/rj/entity/Tenant.java
2025-12-20 17:23:07 +08:00

66 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.rj.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 租户表
* </p>
*
* @author 系统生成
* @since 2025-01-XX
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tenant")
@Schema(description="租户表")
public class Tenant implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "租户主键ID")
@TableId("id")
private String id;
@Schema(description = "租户编码,唯一")
@TableField("tenant_code")
private String tenantCode;
@Schema(description = "租户名称")
@TableField("tenant_name")
private String tenantName;
@Schema(description = "状态1-启用0-禁用")
@TableField("status")
private Integer status;
@Schema(description = "联系人姓名")
@TableField("contact_name")
private String contactName;
@Schema(description = "联系人电话")
@TableField("contact_phone")
private String contactPhone;
@Schema(description = "租户过期时间")
@TableField("expire_time")
private LocalDateTime expireTime;
@Schema(description = "创建时间")
@TableField("create_time")
private LocalDateTime createTime;
@Schema(description = "更新时间")
@TableField("update_time")
private LocalDateTime updateTime;
}