declare type iOrganizationType = Readonly<"PERSON" | "DEPARTMENT" | "ZONE" | "GRADE" | "PHYSICALCLAZZ" | "TEACHINGCLAZZ">; declare type iUserType = Readonly<"TEACHER" | "STUDENT" | "PARENT">; export default class PersonItem { /** * 用户ID */ id: string; /** * 用户名 */ name: string; /** * 用户编号,学生学号,教职工编号 */ no: string; /** * 组选择器类型 */ selectType: string; /** * 用户对象为所属组织ID, * 组织对象为上级组织ID */ organizationId: string; /** * 用户(person)|组织(organization) */ itemType: iUserType; /** * 组织类型,item为用户时为OrganizationType.PERSON */ organizationType: iOrganizationType; /** * 手机 */ personNumber: string; constructor({ id, name, no, selectType, organizationId, organizationType, personNumber, }?: { id?: string; name?: string; no?: string; selectType?: string; organizationId?: string; organizationType?: string; personNumber?: string; }); } export {};