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.

169 lines
4.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 month ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 month ago
1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Volo.Abp.Domain.Entities.Auditing;
  9. using Volo.Abp.Domain.Entities;
  10. using Org.BouncyCastle.Crypto.Tls;
  11. namespace Shentun.Peis.Models
  12. {
  13. /// <summary>
  14. /// 第三方预约人员记录
  15. /// </summary>
  16. [Table("third_booking")]
  17. public class ThirdBooking : AuditedEntity<Guid>, IHasConcurrencyStamp
  18. {
  19. public ThirdBooking() { }
  20. public ThirdBooking(Guid id) : base(id)
  21. {
  22. }
  23. /// <summary>
  24. /// 姓名
  25. /// </summary>
  26. [Column("patient_name")]
  27. [StringLength(100)]
  28. public string PatientName { get; set; }
  29. /// <summary>
  30. /// 单位分组ID
  31. /// </summary>
  32. [Column("customer_org_group_id")]
  33. [StringLength(50)]
  34. public string CustomerOrgGroupId { get; set; }
  35. /// <summary>
  36. /// 第三方体检中心Id
  37. /// </summary>
  38. [Column("third_medical_center_id")]
  39. [StringLength(50)]
  40. public string ThirdMedicalCenterId { get; set; }
  41. /// <summary>
  42. /// 身份证类型( 0 身份证 )
  43. /// </summary>
  44. [StringLength(2)]
  45. [Column("id_type")]
  46. public string IdType { get; set; }
  47. /// <summary>
  48. /// 身份证
  49. /// </summary>
  50. [StringLength(18)]
  51. [Column("id_no")]
  52. public string IdNo { get; set; }
  53. /// <summary>
  54. /// 性别
  55. /// </summary>
  56. [StringLength(2)]
  57. [Column("sex_name")]
  58. public string SexName { get; set; }
  59. /// <summary>
  60. /// 年龄
  61. /// </summary>
  62. [Column("age")]
  63. public short Age { get; set; }
  64. /// <summary>
  65. /// 预约日期
  66. /// </summary>
  67. [Column("booking_date")]
  68. public DateTime BookingDate { get; set; }
  69. /// <summary>
  70. /// 电话
  71. /// </summary>
  72. [StringLength(20)]
  73. [Column("phone")]
  74. public string Phone { get; set; }
  75. /// <summary>
  76. /// 分公司
  77. /// </summary>
  78. [StringLength(100)]
  79. [Column("child_company_name")]
  80. public string ChildCompanyName { get; set; }
  81. /// <summary>
  82. /// 部门
  83. /// </summary>
  84. [StringLength(100)]
  85. [Column("department_name")]
  86. public string DepartmentName { get; set; }
  87. /// <summary>
  88. /// 岗位类别
  89. /// </summary>
  90. [StringLength(100)]
  91. [Column("position_name")]
  92. public string PositionName { get; set; }
  93. /// <summary>
  94. /// 是否在职 0:在职,1:退休
  95. /// </summary>
  96. [StringLength(1)]
  97. [Column("emp_status")]
  98. public string EmpStatus { get; set; }
  99. /// <summary>
  100. ///婚姻状况 0:未婚、1:已婚
  101. /// </summary>
  102. [StringLength(1)]
  103. [Column("marital_status")]
  104. public string MaritalStatus { get; set; }
  105. /// <summary>
  106. /// 体检状态 0未开始 1已登记 2已完成体检 3已推送报告
  107. /// </summary>
  108. [Column("medical_status")]
  109. public char MedicalStatus { get; set; }
  110. /// <summary>
  111. /// ICode
  112. /// </summary>
  113. [Column("icode")]
  114. public string ICode { get; set; }
  115. /// <summary>
  116. /// 来源渠道 0 测试环境 1 正式环境
  117. /// </summary>
  118. [Column("source_channel")]
  119. [StringLength(1)]
  120. public string SourceChannel { get; set; }
  121. /// <summary>
  122. /// 预约类型 1 线上预约 2 电话预约 3 门店预约 4 团体(上门)预约 5 其它
  123. /// </summary>
  124. [Column("booking_type")]
  125. [StringLength(1)]
  126. public string BookingType { get; set; }
  127. /// <summary>
  128. /// 到检方式 1 到店体检 2 团体(上门)体检
  129. /// </summary>
  130. [Column("confirm_type")]
  131. [StringLength(1)]
  132. public string ConfirmType { get; set; }
  133. /// <summary>
  134. /// 岗位名称
  135. /// </summary>
  136. [StringLength(100)]
  137. [Column("position2")]
  138. public string Position2 { get; set; }
  139. [Column("concurrency_stamp")]
  140. public string ConcurrencyStamp { get; set; }
  141. }
  142. }