export interface AccountModel { id: string; name: string; username?: string; nickname?: string; gender?: string; age?: string; ageUnit?: string; birthdate?: string; phone?: string; } export interface DoctorModel extends AccountModel { /** * 关联患者 */ client?: string | PatientModel; } export interface PatientModel extends AccountModel { /** * 医院 */ hospital?: string; /** * 科室 */ department?: string; /** * 病区 */ area?: string; /** * 病床 */ bed?: string; /** * 门诊/住院 */ category?: string; /** * 关联医生 */ service?: string | DoctorModel; }