ChannelModel.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. namespace PMS.EntityModels.Channel
  2. {
  3. using QWPlatform.DataIntface.Database;
  4. using QWPlatform.Models;
  5. using System;
  6. /// <summary>
  7. /// 创建者:冉利
  8. /// 创建日期:2018/12/10
  9. /// 功能描述:渠道信息实体
  10. /// </summary>
  11. [Table("渠道信息")]
  12. public class ChannelModel : DataModelBase
  13. {
  14. /// <summary>
  15. /// Initializes a new instance of the <see cref="ChannelModel"/> class.
  16. /// </summary>
  17. public ChannelModel()
  18. {
  19. }
  20. //数据工厂直接操作实体
  21. /// <summary>
  22. /// Initializes a new instance of the <see cref="ChannelModel"/> class.
  23. /// </summary>
  24. /// <param name="factory">The factory<see cref="DataFactory"/></param>
  25. public ChannelModel(DataFactory factory) : base(factory)
  26. {
  27. }
  28. /// <summary>
  29. /// Gets or sets the ID
  30. /// 渠道ID
  31. /// </summary>
  32. [FieldBase("ID", "", "", true, false, "", 36, 0, "VARCHAR2")]
  33. public string ID { get; set; }
  34. /// <summary>
  35. /// Gets or sets the code
  36. /// 编码
  37. /// </summary>
  38. [FieldBase("编码", "", "", true, false, "", 5, 0, "VARCHAR2")]
  39. public string code { get; set; }
  40. /// <summary>
  41. /// Gets or sets the name
  42. /// 名称
  43. /// </summary>
  44. [FieldBase("名称", "", "", true, false, "", 20, 0, "VARCHAR2")]
  45. public string name { get; set; }
  46. /// <summary>
  47. /// Gets or sets the brevitycode
  48. /// 简码
  49. /// </summary>
  50. [FieldBase("简码", "", "", true, false, "", 30, 0, "VARCHAR2")]
  51. public string brevitycode { get; set; }
  52. /// <summary>
  53. /// Gets or sets the nature
  54. /// 性质
  55. /// </summary>
  56. [FieldBase("性质", "基础编码的团队性质", "", true, false, "", 1, 0, "VARCHAR2")]
  57. public string nature { get; set; }
  58. /// <summary>
  59. /// Gets or sets the startdate
  60. /// 开始日期
  61. /// </summary>
  62. [FieldBase("开始日期", "", "", true, false, "", 7, 0, "DATE")]
  63. public DateTime startdate { get; set; }
  64. /// <summary>
  65. /// Gets or sets the endtime
  66. /// 终止日期
  67. /// </summary>
  68. [FieldBase("终止日期", "", "", false, false, "", 7, 0, "DATE")]
  69. public string endtime { get; set; }
  70. /// <summary>
  71. /// Gets or sets the phonenumber
  72. /// 电话
  73. /// </summary>
  74. [FieldBase("电话", "", "", false, false, "", 20, 0, "VARCHAR2")]
  75. public string phonenumber { get; set; }
  76. /// <summary>
  77. /// Gets or sets the business
  78. /// 商务联系人
  79. /// </summary>
  80. [FieldBase("商务联系人", "", "", false, false, "", 30, 0, "VARCHAR2")]
  81. public string business { get; set; }
  82. /// <summary>
  83. /// Gets or sets the technology
  84. /// 技术联系人
  85. /// </summary>
  86. [FieldBase("技术联系人", "", "", false, false, "", 30, 0, "VARCHAR2")]
  87. public string technology { get; set; }
  88. /// <summary>
  89. /// Gets or sets the address
  90. /// 地址
  91. /// </summary>
  92. [FieldBase("地址", "", "", false, false, "", 200, 0, "VARCHAR2")]
  93. public string address { get; set; }
  94. /// <summary>
  95. /// Gets or sets the note
  96. /// 备注
  97. /// </summary>
  98. [FieldBase("备注", "", "", false, false, "", 200, 0, "VARCHAR2")]
  99. public string note { get; set; }
  100. /// <summary>
  101. /// Gets or sets the state
  102. /// 状态
  103. /// </summary>
  104. [FieldBase("状态", "1正常 0终止", "", true, false, "", 1, 0, "NUMBER")]
  105. public int state { get; set; }
  106. /// <summary>
  107. /// Gets or sets the businessMail
  108. /// 商务联系人邮箱
  109. /// </summary>
  110. [FieldBase("商务联系人邮箱", "", "", false, false, "", 200, 0, "VARCHAR2")]
  111. public string businessMail { get; set; }
  112. /// <summary>
  113. /// Gets or sets the businessWxin
  114. /// 商务联系人微信
  115. /// </summary>
  116. [FieldBase("商务联系人微信", "", "", false, false, "", 200, 0, "VARCHAR2")]
  117. public string businessWxin { get; set; }
  118. /// <summary>
  119. /// Gets or sets the technologyMail
  120. /// 技术联系人邮箱
  121. /// </summary>
  122. [FieldBase("技术联系人邮箱", "", "", false, false, "", 200, 0, "VARCHAR2")]
  123. public string technologyMail { get; set; }
  124. /// <summary>
  125. /// Gets or sets the technologyWxin
  126. /// 技术联系人微信
  127. /// </summary>
  128. [FieldBase("技术联系人微信", "", "", false, false, "", 200, 0, "VARCHAR2")]
  129. public string technologyWxin { get; set; }
  130. }
  131. }