import { SysTenantInfo } from "./SysTenantInfo"; import { SysRoleInfo } from "./SysRoleInfo"; export class SysUserInfo { userId: string; tenantId: string; userCode: string; userName: string; comId: string; deptId: string; postId: string; postName: string; idnum: string; sex: string; birthday: string; headImg: string; phone: string; email: string; userSource: string; isBusTrip: string; useState: string; sysCompanyInfo: any; sysDeptInfo: any; sysPostInfo: any; sysRoleInfos: SysRoleInfo[]; sysTenantInfo: SysTenantInfo | undefined; sysUgroupSetting: any; constructor( options: { userId?: string; tenantId?: string; userCode?: string; userName?: string; comId?: string; deptId?: string; postId?: string; postName?: string; idnum?: string; sex?: string; birthday?: string; headImg?: string; phone?: string; email?: string; userSource?: string; isBusTrip?: string; useState?: string; sysCompanyInfo?: any; sysDeptInfo?: any; sysPostInfo?: any; sysRoleInfos?: SysRoleInfo[]; sysTenantInfo?: SysTenantInfo; sysUgroupSetting?: any; } = {} ) { this.userId = options.userId || ""; this.tenantId = options.tenantId || ""; this.userCode = options.userCode || ""; this.userName = options.userName || ""; this.comId = options.comId || ""; this.deptId = options.deptId || ""; this.postId = options.postId || ""; this.postName = options.postName || ""; this.idnum = options.idnum || ""; this.sex = options.sex || ""; this.birthday = options.birthday || ""; this.headImg = options.headImg || ""; this.phone = options.phone || ""; this.email = options.email || ""; this.userSource = options.userSource || ""; this.isBusTrip = options.isBusTrip || ""; this.useState = options.useState || ""; this.sysCompanyInfo = options.sysCompanyInfo; this.sysDeptInfo = options.sysDeptInfo; this.sysPostInfo = options.sysPostInfo; this.sysRoleInfos = options.sysRoleInfos || []; this.sysTenantInfo = options.sysTenantInfo; this.sysUgroupSetting = options.sysUgroupSetting; } }