Res_OfficialActivities.cs 5.6 KB

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