Notice_Model.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. namespace PMS.EntityModels.NoticeManager
  2. {
  3. using QWPlatform.DataIntface.Database;
  4. using QWPlatform.Models;
  5. using System;
  6. /// <summary>
  7. /// 测试实体类
  8. /// </summary>
  9. [Table("公告通知")]
  10. public class Notice_Model : DataModelBase
  11. {
  12. //默认不带数据工厂构造
  13. /// <summary>
  14. /// Initializes a new instance of the <see cref="Notice_Model"/> class.
  15. /// </summary>
  16. public Notice_Model()
  17. {
  18. }
  19. //带有数据工厂的实例化,可以直接操作数据
  20. /// <summary>
  21. /// Initializes a new instance of the <see cref="Notice_Model"/> class.
  22. /// </summary>
  23. /// <param name="factory">The factory<see cref="DataFactory"/></param>
  24. public Notice_Model(DataFactory factory)
  25. : base(factory)
  26. {
  27. }
  28. /// <summary>
  29. /// Gets or sets the ID
  30. /// </summary>
  31. [FieldBase("ID", "", "", true, false, "", 36, 0, "VARCHAR2")]
  32. public string ID { get; set; }
  33. /// <summary>
  34. /// Gets or sets the BH
  35. /// </summary>
  36. [FieldBase("编号", "", "", true, false, "", 18, 0, "NUMBER")]
  37. public long? BH { get; set; }
  38. /// <summary>
  39. /// Gets or sets the BT
  40. /// </summary>
  41. [FieldBase("标题", "", "", true, false, "", 150, 0, "VARCHAR2")]
  42. public string BT { get; set; }
  43. /// <summary>
  44. /// Gets or sets the NR
  45. /// </summary>
  46. [FieldBase("内容", "", "", true, false, "", 4000, 0, "CLOB")]
  47. public string NR { get; set; }
  48. /// <summary>
  49. /// Gets or sets the FBSJ
  50. /// </summary>
  51. [FieldBase("发布时间", "", "", false, false, "", 7, 0, "DATE")]
  52. public DateTime? FBSJ { get; set; }
  53. /// <summary>
  54. /// Gets or sets the SFCX
  55. /// </summary>
  56. [FieldBase("是否撤销", "(0-否;1-是)", "", false, false, "", 1, 0, "NUMBER")]
  57. public int? SFCX { get; set; }
  58. /// <summary>
  59. /// Gets or sets the SFSC
  60. /// </summary>
  61. [FieldBase("是否删除", "(0-否;-1是)", "", false, false, "", 1, 0, "NUMBER")]
  62. public int? SFSC { get; set; }
  63. /// <summary>
  64. /// Gets or sets the SCSJ
  65. /// </summary>
  66. [FieldBase("删除时间", "", "", false, false, "", 7, 0, "DATE")]
  67. public DateTime? SCSJ { get; set; }
  68. /// <summary>
  69. /// Gets or sets the YXJ
  70. /// </summary>
  71. [FieldBase("优先级", "", "", false, false, "", 1, 0, "NUMBER")]
  72. public int? YXJ { get; set; }
  73. /// <summary>
  74. /// Gets or sets the TJRID
  75. /// </summary>
  76. [FieldBase("添加人ID", "", "", false, false, "", 36, 0, "VARCHAR2")]
  77. public string TJRID { get; set; }
  78. /// <summary>
  79. /// Gets or sets the TJR
  80. /// </summary>
  81. [FieldBase("添加人", "", "", false, false, "", 20, 0, "VARCHAR2")]
  82. public string TJR { get; set; }
  83. /// <summary>
  84. /// Gets or sets the TZDX
  85. /// </summary>
  86. [FieldBase("通知对象", "(对应人员性质【,】分割)", "", false, false, "", 20, 0, "VARCHAR2")]
  87. public string TZDX { get; set; }
  88. /// <summary>
  89. /// Gets or sets the TZLX
  90. /// </summary>
  91. [FieldBase("通知类型", "(1-公告;2-消息)", "", true, false, "", 1, 0, "NUMBER")]
  92. public int? TZLX { get; set; }
  93. }
  94. }