Res_OfficialActivities.cs 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.Resource
  7. {
  8. /// <summary>
  9. /// 公务出访表
  10. /// </summary>
  11. [SugarTable("Res_OfficialActivities")]
  12. public class Res_OfficialActivities : EntityBase
  13. { /// <summary>
  14. /// 团组ID
  15. /// </summary>
  16. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  17. public int DiId { get; set; }
  18. /// <summary>
  19. /// 公务数据来源
  20. /// </summary>
  21. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  22. public int DataSource { get; set; }
  23. /// <summary>
  24. /// 0带公务 1不带公务 2纯公务
  25. /// 邀请方 1 公务方 0
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  28. public int Type { get; set; }
  29. /// <summary>
  30. /// 所在国家
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
  33. public string Country { get; set; }
  34. /// <summary>
  35. /// 所在区域(城市)
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
  38. public string Area { get; set; }
  39. /// <summary>-
  40. /// 公务单位
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  43. public string Client { get; set; }
  44. /// <summary>
  45. /// 公务日期
  46. /// </summary>
  47. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(120)")]
  48. public string Date { get; set; }
  49. /// <summary>
  50. /// 精确时间
  51. /// </summary>
  52. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(120)")]
  53. public string Time { get; set; }
  54. /// <summary>
  55. /// 地址
  56. /// </summary>
  57. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  58. public string Address { get; set; }
  59. /// <summary>
  60. /// 联系人
  61. /// 可能会存在特殊字符 使用nverchar
  62. /// </summary>
  63. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
  64. public string Contact { get; set; }
  65. /// <summary>
  66. /// 联系人职务
  67. /// </summary>
  68. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(50)")]
  69. public string Job { get; set; }
  70. /// <summary>
  71. /// 联系电话
  72. /// </summary>
  73. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
  74. public string Tel { get; set; }
  75. /// <summary>
  76. /// 公务形式
  77. /// </summary>
  78. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  79. public int OfficialForm { get; set; }
  80. /// <summary>
  81. /// 公务方所属领域
  82. /// </summary>
  83. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
  84. public string Field { get; set; }
  85. /// <summary>
  86. /// 请示范例
  87. /// </summary>
  88. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(500)")]
  89. public string ReqSample { get; set; }
  90. /// <summary>
  91. /// 公务方背景
  92. /// </summary>
  93. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  94. public string Setting { get; set; }
  95. /// <summary>
  96. /// 着装要求
  97. /// </summary>
  98. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
  99. public string Dresscode { get; set; }
  100. /// <summary>
  101. /// 参会人员
  102. /// </summary>
  103. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  104. public string Attendees { get; set; }
  105. /// <summary>
  106. /// 是否需要翻译
  107. /// </summary>
  108. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  109. public int IsNeedTrans { get; set; }
  110. /// <summary>
  111. /// 翻译人员
  112. /// </summary>
  113. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
  114. public string Translators { get; set; }
  115. /// <summary>
  116. /// 翻译语种
  117. /// </summary>
  118. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
  119. public string Language { get; set; }
  120. /// <summary>
  121. /// 暂定行程
  122. /// </summary>
  123. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  124. public string Trip { get; set; }
  125. /// <summary>
  126. /// 是否报批
  127. /// </summary>
  128. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  129. public int IsSubmitApproval { get; set; }
  130. /// <summary>
  131. /// 是否付费
  132. /// </summary>
  133. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  134. public int IsPay { get; set; }
  135. /// <summary>
  136. /// 确认邀请
  137. /// 0 未确认邀请 1 已确认邀请
  138. /// </summary>
  139. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  140. public int ConfirmTheInvitation { get; set; } = 0;
  141. /// <summary>
  142. /// 邮件截图
  143. /// </summary>
  144. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(500)")]
  145. public string? ScreenshotOfMailUrl { get; set; }
  146. /// <summary>
  147. /// 邮箱/微信
  148. /// </summary>
  149. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  150. public string? EmailOrWeChat { get; set; }
  151. /// <summary>
  152. /// 网址
  153. /// </summary>
  154. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  155. public string? Website { get; set; }
  156. /// <summary>
  157. /// 公务性质
  158. /// </summary>
  159. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(250)")]
  160. public string Nature { get; set; }
  161. /// <summary>
  162. /// 资料Id
  163. /// </summary>
  164. public int DataId { get; set; }
  165. }
  166. }