package com.eleadmin.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 租户
 *
 * @author gxwebsoft.com
 * @since 2021-08-28 11:31:06
 */
@Data
@ApiModel(description = "租户")
@TableName("sys_tenant")
public class Tenant implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("租户id")
    @TableId(type = IdType.AUTO)
    private Integer tenantId;

    @ApiModelProperty("租户名称")
    private String tenantName;

    @ApiModelProperty("管理员密码")
    @TableField(exist = false)
    private String password;

    @ApiModelProperty("备注")
    private String comments;

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

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

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

}
