import { SysUserInfo } from "./SysUserInfo";
import { SysRoleInfo } from "./SysRoleInfo";

export class SysTenantInfo {
  tenantId: string;
  tenantName: string;
  tenantType: string;
  userId: string;
  authState: string;
  authType: string;
  businessCode: string;
  useState: string;
  remark: string;
  adminSysUserInfo: SysUserInfo | undefined;
  superAdminSysRoleInfo: SysRoleInfo | undefined;
  constructor(
    options: {
      tenantId?: string;
      tenantName?: string;
      tenantType?: string;
      userId?: string;
      authState?: string;
      authType?: string;
      businessCode?: string;
      useState?: string;
      remark?: string;
      adminSysUserInfo?: SysUserInfo;
      superAdminSysRoleInfo?: SysRoleInfo;
    } = {}
  ) {
    this.tenantId = options.tenantId || "";
    this.tenantName = options.tenantName || "";
    this.tenantType = options.tenantType || "";
    this.userId = options.userId || "";
    this.authState = options.authState || "";
    this.authType = options.authType || "";
    this.businessCode = options.businessCode || "";
    this.useState = options.useState || "";
    this.remark = options.remark || "";
    this.adminSysUserInfo = options.adminSysUserInfo;
    this.superAdminSysRoleInfo = options.superAdminSysRoleInfo;
  }
}
