ExDish.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace ivf_tl_Entity.GlobalEntitys
  9. {
  10. public partial class ExDish: ObservableObject
  11. {
  12. public long id { get; set; }
  13. public string tlSn { get; set; }
  14. public int houseSn { get; set; }
  15. private string _caseId;
  16. public string caseId
  17. {
  18. get => _caseId;
  19. set => SetProperty(ref _caseId, value);
  20. }
  21. public string _cycle;
  22. public string cycle
  23. {
  24. get => _cycle;
  25. set => SetProperty(ref _cycle, value);
  26. }
  27. //public string caseId { get; set; }
  28. private string _wife;
  29. public string wife
  30. {
  31. get => _wife;
  32. set
  33. {
  34. SetProperty(ref _wife, value);
  35. DishName = $"{husband}/{value}";
  36. }
  37. }
  38. private string _husband;
  39. public string husband
  40. {
  41. get => _husband;
  42. set
  43. {
  44. SetProperty(ref _husband, value);
  45. DishName = $"{value}/{wife}";
  46. }
  47. }
  48. private string _dishName;
  49. public string DishName
  50. {
  51. get => _dishName;
  52. set
  53. {
  54. SetProperty(ref _dishName, value);
  55. }
  56. }
  57. public string wifeBirth { get; set; }
  58. public string husbandBirth { get; set; }
  59. /// <summary>
  60. ///备注
  61. /// </summary>
  62. public string note { get; set; }
  63. private int _vip;
  64. /// <summary>
  65. /// 0普通 1重点关注
  66. /// </summary>
  67. public int vip
  68. {
  69. get => _vip;
  70. set
  71. {
  72. SetProperty(ref _vip, value);
  73. }
  74. }
  75. public int embryoCount { get; set; }
  76. /// <summary>
  77. /// 0培养结束 1正在培养
  78. /// </summary>
  79. public int state { get; set; }
  80. public string startTime { get; set; }
  81. public string endTime { get; set; }
  82. public string createTime { get; set; }
  83. public int developTime { get; set; }
  84. public int Row { get; set; }
  85. public string fertilizationType { get; set; }
  86. public int fertilizationTypeId { get; set; }
  87. public string phone { get; set; }
  88. private ObservableCollection<ExEmbryo> _embryoList = new ObservableCollection<ExEmbryo>();
  89. public ObservableCollection<ExEmbryo> embryoList
  90. {
  91. get => _embryoList;
  92. set => SetProperty(ref _embryoList, value);
  93. }
  94. public DateTime? SouJingTime { get; set; }
  95. public List<int> wellSn { get; set; }
  96. }
  97. }