account.model.ts 666 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. export interface AccountModel {
  2. id: string;
  3. name: string;
  4. username?: string;
  5. nickname?: string;
  6. gender?: string;
  7. age?: string;
  8. ageUnit?: string;
  9. birthdate?: string;
  10. phone?: string;
  11. }
  12. export interface DoctorModel extends AccountModel {
  13. /**
  14. * 关联患者
  15. */
  16. client?: string | PatientModel;
  17. }
  18. export interface PatientModel extends AccountModel {
  19. /**
  20. * 医院
  21. */
  22. hospital?: string;
  23. /**
  24. * 科室
  25. */
  26. department?: string;
  27. /**
  28. * 病区
  29. */
  30. area?: string;
  31. /**
  32. * 病床
  33. */
  34. bed?: string;
  35. /**
  36. * 门诊/住院
  37. */
  38. category?: string;
  39. /**
  40. * 关联医生
  41. */
  42. service?: string | DoctorModel;
  43. }