Res_TranslatorLibrary.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. using OASystem.Domain.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Entities.Resource
  8. {
  9. /// <summary>
  10. /// 翻译人员库
  11. /// </summary>
  12. [SugarTable("Res_TranslatorLibrary")]
  13. public class Res_TranslatorLibrary : EntityBase
  14. {
  15. /// <summary>
  16. /// 所在地区
  17. /// </summary>
  18. [Encrypted]
  19. [SugarColumn(ColumnDescription = "所在地区", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  20. public string Area { get; set; }
  21. /// <summary>
  22. /// 姓名
  23. /// </summary>
  24. [Encrypted]
  25. [SugarColumn(ColumnDescription = "翻译人员姓名", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  26. public string Name { get; set; }
  27. /// <summary>
  28. /// 性别(0:未设置 1:男 2:女)
  29. /// </summary>
  30. [SugarColumn(ColumnDescription = "性别(0:未设置 1:男 2:女)", IsNullable = true, ColumnDataType = "int")]
  31. public int Sex { get; set; }
  32. /// <summary>
  33. /// 照片
  34. /// </summary>
  35. [Encrypted]
  36. [SugarColumn(ColumnDescription = "照片", IsNullable = true, ColumnDataType = "nvarchar(max)")]
  37. public string Photo { get; set; }
  38. /// <summary>
  39. /// 联系电话
  40. /// </summary>
  41. [Encrypted]
  42. [SugarColumn(ColumnDescription = "联系电话", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  43. public string Tel { get; set; }
  44. /// <summary>
  45. /// 邮箱号
  46. /// </summary>
  47. [Encrypted]
  48. [SugarColumn(ColumnDescription = "邮箱号", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  49. public string Email { get; set; }
  50. /// <summary>
  51. /// 微信号
  52. /// </summary>
  53. [Encrypted]
  54. [SugarColumn(ColumnDescription = "微信号", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  55. public string WechatNo { get; set; }
  56. /// <summary>
  57. /// 其他社交账号
  58. /// </summary>
  59. [Encrypted]
  60. [SugarColumn(ColumnDescription = "其他社交账号", IsNullable = true, ColumnDataType = "nvarchar(500)")]
  61. public string OtherSocialAccounts { get; set; }
  62. /// <summary>
  63. /// 语种
  64. /// </summary>
  65. [Encrypted]
  66. [SugarColumn(ColumnDescription = "语种", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  67. public string Language { get; set; }
  68. /// <summary>
  69. /// 费用
  70. /// </summary>
  71. [SugarColumn(ColumnDescription = "费用", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  72. public decimal Price { get; set; }
  73. /// <summary>
  74. /// 币种
  75. /// </summary>
  76. [SugarColumn(ColumnDescription = "币种", IsNullable = true, ColumnDataType = "int")]
  77. public int Currency { get; set; }
  78. /// <summary>
  79. /// 简历或其他证书
  80. /// </summary>
  81. [Encrypted]
  82. [SugarColumn(ColumnDescription = "简历或其他证书", IsNullable = true, ColumnDataType = "text")]
  83. public string Files { get; set; }
  84. }
  85. }