account.model.ts 644 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. phone?: string;
  10. }
  11. export interface DoctorModel extends AccountModel {
  12. /**
  13. * 关联患者
  14. */
  15. client?: string | PatientModel;
  16. }
  17. export interface PatientModel extends AccountModel {
  18. /**
  19. * 医院
  20. */
  21. hospital?: string;
  22. /**
  23. * 科室
  24. */
  25. department?: string;
  26. /**
  27. * 病区
  28. */
  29. area?: string;
  30. /**
  31. * 病床
  32. */
  33. bed?: string;
  34. /**
  35. * 门诊/住院
  36. */
  37. category?: string;
  38. /**
  39. * 关联医生
  40. */
  41. service?: string | DoctorModel;
  42. }