import PersonItem from "./personItem"; declare type iOrganizationType = Readonly<"PERSON" | "DEPARTMENT" | "ZONE" | "GRADE" | "PHYSICALCLAZZ" | "TEACHINGCLAZZ">; declare type iViewSubItems = Readonly; export default class Organization { /** * 组织ID */ id: string; /** * 组织名称 */ name: string; /** * 组选择器,选择策略 */ selectType: string; /** * 用户编号,学生学号,教职工编号 */ no: string; /** * 组织所包含用户数量 */ personNumber: number; /** * 组织类型 */ organizationType: iOrganizationType; /** * 下属部门 */ subItems: Organization[]; /** * 上级部门,如为顶级部门,则parentID为空 */ parentId: string; viewSubItems: iViewSubItems[]; constructor({ id, parentId, name, selectType, no, personNumber, organizationType, subItems, viewSubItems }?: { id?: string; parentId?: string; name?: string; selectType?: string; no?: string; personNumber?: number; organizationType?: string; subItems?: any[]; viewSubItems?: any[]; }); } export {};