电子药箱通讯服务端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Operation.cs 778B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Rdh.ElectronicMedicineKit.Models
  4. {
  5. public class Operation : RootEntity
  6. {
  7. public string Name { get; set; }
  8. public string Department { get; set; }
  9. public virtual Patient Patient { get; set; }
  10. public Guid PatientId { get; set; }
  11. public virtual User Doctor { get; set; }
  12. public Guid? DoctorId { get; set; }
  13. public OperationStates State { get; set; } = OperationStates.Normal;
  14. public virtual List<OperationDrug> Drugs { get; set; } = new List<OperationDrug>();
  15. public override string ToString()
  16. {
  17. return $"#{Id}|{Patient.Name}|{Patient.PatientNo}|{Patient.Gender}|{Patient.Age}Ëê|{Department}|{Name}";
  18. }
  19. }
  20. }