package com.seer.teach.user.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TenantResp {

    private Integer id;

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

    @Schema(description = "租户编号")
    private String tenantId;

    @Schema(description = "租户管理员用户ID")
    @TableField("admin_user_id")
    private Long adminUserId;

    @Schema(description = "管理员手机号码")
    @TableField("admin_phone")
    private String adminPhone;

    @Schema(description = "管理员银行卡号(加密存储)")
    private String adminBankCard;

    @Schema(description = "营业执照文件")
    private String businessLicenseFile;

    @Schema(description = "营业执照编码")
    private String businessLicenseCode;

    @Schema(description = "过期时间")
    @TableField("expire_time")
    private LocalDateTime expireTime;

    @Schema(description = "账号数量限制")
    @TableField("account_limit")
    private Integer accountLimit;

    @Schema(description = "租户套餐编号")
    @TableField("package_id")
    private String packageId;

    @Schema(description = "状态(0-禁用,1-正常,2-过期)")
    @TableField("`status`")
    private Integer status;
}
