Res_MediaSuppliers.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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_MediaSuppliers")]
  13. public class Res_MediaSuppliers : EntityBase
  14. {
  15. /// <summary>
  16. /// 供应商Type(设置数据外键编号)
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "供应商关联团组", ColumnName = "TypeId", IsNullable = true, ColumnDataType = "int")]
  19. public int TypeId { get; set; }
  20. /// <summary>
  21. /// 省份
  22. /// </summary>
  23. [Encrypted]
  24. [SugarColumn(ColumnDescription = "省份", ColumnName = "Privince", IsNullable = true, ColumnDataType = "nvarchar(240)")]
  25. public string Privince { get; set; }
  26. /// <summary>
  27. /// 城市
  28. /// </summary>
  29. [Encrypted]
  30. [SugarColumn(ColumnDescription = "城市", ColumnName = "City", IsNullable = true, ColumnDataType = "nvarchar(240)")]
  31. public string City { get; set; }
  32. /// <summary>
  33. /// 单位名称
  34. /// </summary>
  35. [Encrypted]
  36. [SugarColumn(ColumnDescription = "单位名称", ColumnName = "UnitName", IsNullable = true, ColumnDataType = "nvarchar(400)")]
  37. public string UnitName { get; set; }
  38. /// <summary>
  39. /// 单位缩写
  40. /// </summary>
  41. [Encrypted]
  42. [SugarColumn(ColumnDescription = "单位缩写", ColumnName = "UnitAbbreviation", IsNullable = true, ColumnDataType = "nvarchar(400)")]
  43. public string UnitAbbreviation { get; set; }
  44. /// <summary>
  45. /// 单位地址
  46. /// </summary>
  47. [Encrypted]
  48. [SugarColumn(ColumnDescription = "单位地址", ColumnName = "UnitAddress", IsNullable = true, ColumnDataType = "nvarchar(240)")]
  49. public string UnitAddress { get; set; }
  50. /// <summary>
  51. /// 单位联系人
  52. /// </summary>
  53. [Encrypted]
  54. [SugarColumn(ColumnDescription = "单位联系人", ColumnName = "Contact", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  55. public string Contact { get; set; }
  56. /// <summary>
  57. /// 联系人性别
  58. /// </summary>
  59. [SugarColumn(ColumnDescription = "联系人性别", ColumnName = "Sex", IsNullable = true, ColumnDataType = "int")]
  60. public int Sex { get; set; }
  61. /// <summary>
  62. /// 联系人职位
  63. /// </summary>
  64. [Encrypted]
  65. [SugarColumn(ColumnDescription = "联系人职位", ColumnName = "Post", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  66. public string Post { get; set; }
  67. /// <summary>
  68. /// 联系人电话
  69. /// </summary>
  70. [Encrypted]
  71. [SugarColumn(ColumnDescription = "联系人电话", ColumnName = "Tel", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  72. public string Tel { get; set; }
  73. /// <summary>
  74. /// 联系人邮箱
  75. /// </summary>
  76. [Encrypted]
  77. [SugarColumn(ColumnDescription = "联系人邮箱", ColumnName = "Email", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  78. public string Email { get; set; }
  79. /// <summary>
  80. /// 联系人微信
  81. /// </summary>
  82. [Encrypted]
  83. [SugarColumn(ColumnDescription = "联系人微信", ColumnName = "WeChat", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  84. public string WeChat { get; set; }
  85. /// <summary>
  86. /// 传真
  87. /// </summary>
  88. [Encrypted]
  89. [SugarColumn(ColumnDescription = "传真", ColumnName = "Fax", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  90. public string Fax { get; set; }
  91. }
  92. }