package com.lesingle.creation.vo.tenant;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 租户详情 VO
 */
@Data
@Schema(description = "租户详情响应")
public class TenantDetailVO {

    @Schema(description = "租户 ID")
    private Long id;

    @Schema(description = "租户名称")
    private String name;

    @Schema(description = "租户编码")
    private String code;

    @Schema(description = "租户域名")
    private String domain;

    @Schema(description = "租户描述")
    private String description;

    @Schema(description = "是否为超级租户：0-否，1-是")
    private Integer isSuper;

    @Schema(description = "租户类型")
    private String tenantType;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "用户数量")
    private Integer userCount;

    @Schema(description = "角色数量")
    private Integer roleCount;
}
