Grp_VisaProgress.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Entities.Groups
  8. {
  9. /// <summary>
  10. /// 签证进度表
  11. /// </summary>
  12. [SugarTable("Grp_VisaProgress")]
  13. public class Grp_VisaProgress : EntityBase
  14. {
  15. /// <summary>
  16. /// 团组表Id
  17. /// </summary>
  18. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  19. public int DiId { get; set; }
  20. /// <summary>
  21. /// 国家
  22. /// </summary>
  23. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  24. public string Country { get; set; }
  25. /// <summary>
  26. /// 收集资料
  27. /// </summary>
  28. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  29. public string GetData { get; set; }
  30. /// <summary>
  31. /// 收集资料时间
  32. /// </summary>
  33. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  34. public DateTime GetDataTime { get; set; }
  35. /// <summary>
  36. /// 取护照
  37. /// </summary>
  38. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  39. public string GetPassport { get; set; }
  40. /// <summary>
  41. /// 取护照时间
  42. /// </summary>
  43. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  44. public DateTime GetPassportTime { get; set; }
  45. /// <summary>
  46. /// 填资料
  47. /// </summary>
  48. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  49. public string FillData { get; set; }
  50. /// <summary>
  51. /// 填资料时间
  52. /// </summary>
  53. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  54. public DateTime FillDataTime { get; set; }
  55. /// <summary>
  56. /// 送签
  57. /// </summary>
  58. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  59. public string SendVisa { get; set; }
  60. /// <summary>
  61. /// 送签时间
  62. /// </summary>
  63. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  64. public DateTime SendVisaTime { get; set; }
  65. /// <summary>
  66. /// 出签
  67. /// </summary>
  68. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  69. public string SignOut { get; set; }
  70. /// <summary>
  71. /// 出签时间
  72. /// </summary>
  73. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  74. public DateTime SignOutTime { get; set; }
  75. /// <summary>
  76. /// 归还护照
  77. /// </summary>
  78. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  79. public string SendBackPassport { get; set; }
  80. /// <summary>
  81. /// 归还护照时间
  82. /// </summary>
  83. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  84. public string SendBackPassporTime { get; set; }
  85. /// <summary>
  86. /// 护照接收者
  87. /// </summary>
  88. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  89. public string Receiver { get; set; }
  90. }
  91. /// <summary>
  92. /// 签证进度客户表
  93. /// 同团组下同一客户在不同国家数据是重复的
  94. /// </summary>
  95. [SugarTable("Grp_VisaProgressCustomer")]
  96. public class Grp_VisaProgressCustomer : EntityBase
  97. {
  98. /// <summary>
  99. /// 团组表Id
  100. /// </summary>
  101. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  102. public int DiId { get; set; }
  103. /// <summary>
  104. /// 客户表Id
  105. /// DeleClient.Id
  106. /// </summary>
  107. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  108. public int CustomerId { get; set; }
  109. /// <summary>
  110. /// 客户姓
  111. /// 正式使用新版OA后弃用
  112. /// </summary>
  113. [SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)")]
  114. public string LastName { get; set; }
  115. /// <summary>
  116. /// 客户名
  117. /// 正式使用新版OA后弃用
  118. /// </summary>
  119. [SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)")]
  120. public string FirstName { get; set; }
  121. /// <summary>
  122. /// 签证国家
  123. /// </summary>
  124. [SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)")]
  125. public string Country { get; set; }
  126. /// <summary>
  127. /// 该国家签证进度
  128. /// 0:未完成,1:已完成,2:忽略,3:签证未通过
  129. /// </summary>
  130. [SugarColumn(IsNullable = false, ColumnDataType = "int")]
  131. public int WorkStatus { get; set; }
  132. /// <summary>
  133. /// 最后操作人Id
  134. /// 新增时为空
  135. /// </summary>
  136. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  137. public int LastOperatorId { get; set; }
  138. /// <summary>
  139. /// 最后操作时间
  140. /// 新增时为空
  141. /// </summary>
  142. [SugarColumn(IsNullable = true, ColumnDataType = "datetime")]
  143. public DateTime LastOperatorDt { get; set; }
  144. }
  145. public enum Enum_DelegationVisaPicType
  146. {
  147. [Description("护照首页")]
  148. FirstPage,
  149. [Description("批件")]
  150. Documents,
  151. [Description("免签证明")]
  152. Exemption,
  153. [Description("派遣函红头文件")]
  154. Dispatch,
  155. [Description("签证页")]
  156. Visa,
  157. [Description("发票")]
  158. Invoice
  159. }
  160. [SugarTable("Grp_VisaProgressCustomerPicture")]
  161. public class Grp_VisaProgressCustomerPicture : EntityBase
  162. {
  163. /// <summary>
  164. /// 签证进度客户表Id
  165. /// </summary>
  166. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  167. public int VisaProgressCustomerId { get; set; }
  168. /// <summary>
  169. /// 图片名称
  170. /// </summary>
  171. [SugarColumn(IsNullable = false, ColumnDataType = "varchar(100)")]
  172. public string PicName { get; set; }
  173. /// <summary>
  174. /// 图片路径
  175. /// </summary>
  176. [SugarColumn(IsNullable = false, ColumnDataType = "nvarchar(200)")]
  177. public string PicPath { get; set; }
  178. /// <summary>
  179. /// 图片所属签证上传类型
  180. /// 0:护照首页
  181. /// 1:批件
  182. /// 2:免签证明
  183. /// 3:派遣函红头文件
  184. /// 4:签证页
  185. /// 5:发票
  186. /// </summary>
  187. [SugarColumn(IsNullable = false, ColumnDataType = "int")]
  188. public Enum_DelegationVisaPicType PicType { get; set; }
  189. }
  190. }