ProductProblemProcessModel.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. namespace PMS.EntityModels.MoblieProblemRegist
  2. {
  3. using QWPlatform.DataIntface.Database;
  4. using QWPlatform.Models;
  5. using System;
  6. /// <summary>
  7. /// 测试实体类
  8. /// </summary>
  9. [Table("产品问题过程")]
  10. public class ProductProblemProcessModel : DataModelBase
  11. {
  12. //默认不带数据工厂构造
  13. /// <summary>
  14. /// Initializes a new instance of the <see cref="ProductProblemProcessModel"/> class.
  15. /// </summary>
  16. public ProductProblemProcessModel()
  17. {
  18. }
  19. //带有数据工厂的实例化,可以直接操作数据
  20. /// <summary>
  21. /// Initializes a new instance of the <see cref="ProductProblemProcessModel"/> class.
  22. /// </summary>
  23. /// <param name="factory">The factory<see cref="DataFactory"/></param>
  24. public ProductProblemProcessModel(DataFactory factory)
  25. : base(factory)
  26. {
  27. }
  28. /// <summary>
  29. /// Gets or sets the ID
  30. /// </summary>
  31. [FieldBase("ID", "", "", false, false, "", 18, 0, "NUMBER")]
  32. public long? ID { get; set; }
  33. /// <summary>
  34. /// Gets or sets the XZ
  35. /// </summary>
  36. [FieldBase("性质", "(1-流转环节;2-过程沟通(如和项目人员的沟通记录);3-关键信息调整(如更改解决版本、更改要求时间,相当于日志记录);)", "", false, false, "", 1, 0, "NUMBER")]
  37. public int? XZ { get; set; }
  38. /// <summary>
  39. /// Gets or sets the WTID
  40. /// </summary>
  41. [FieldBase("问题ID", "", "", false, false, "", 18, 0, "NUMBER")]
  42. public long? WTID { get; set; }
  43. /// <summary>
  44. /// Gets or sets the LCID
  45. /// </summary>
  46. [FieldBase("流程ID", "", "", false, false, "", 18, 0, "NUMBER")]
  47. public long? LCID { get; set; }
  48. /// <summary>
  49. /// Gets or sets the ZT
  50. /// </summary>
  51. [FieldBase("状态", "(1-正常;2-被回退 仅性质=1时使用)", "", false, false, "", 1, 0, "NUMBER")]
  52. public int? ZT { get; set; }
  53. /// <summary>
  54. /// Gets or sets the GZL
  55. /// </summary>
  56. [FieldBase("工作量", "(指定环节的工作量(如:验证、研发修改),由操作人填写;)", "", false, false, "", 5, 0, "NUMBER")]
  57. public int? GZL { get; set; }
  58. /// <summary>
  59. /// Gets or sets the CW
  60. /// </summary>
  61. [FieldBase("单位", "(工作量单位;天;小时)", "", false, false, "", 4, 0, "VARCHAR2")]
  62. public string CW { get; set; }
  63. /// <summary>
  64. /// Gets or sets the HS
  65. /// </summary>
  66. [FieldBase("耗时", "(自动计算从上环节至当前环节的时间天数;如果回退后再次流转则本次需从上一环节重新计算)", "", false, false, "", 5, 0, "NUMBER")]
  67. public int? HS { get; set; }
  68. /// <summary>
  69. /// Gets or sets the JLSJ
  70. /// </summary>
  71. [FieldBase("记录时间", "", "", false, false, "", 7, 0, "DATE")]
  72. public DateTime? JLSJ { get; set; }
  73. /// <summary>
  74. /// Gets or sets the JLRID
  75. /// </summary>
  76. [FieldBase("记录人ID", "", "", false, false, "", 36, 0, "VARCHAR2")]
  77. public string JLRID { get; set; }
  78. /// <summary>
  79. /// Gets or sets the JLR
  80. /// </summary>
  81. [FieldBase("记录人", "", "", false, false, "", 20, 0, "VARCHAR2")]
  82. public string JLR { get; set; }
  83. /// <summary>
  84. /// Gets or sets the MS
  85. /// </summary>
  86. [FieldBase("描述", "", "", false, false, "", 500, 0, "VARCHAR2")]
  87. public string MS { get; set; }
  88. /// <summary>
  89. /// Gets or sets the FJ
  90. /// </summary>
  91. [FieldBase("附件", "", "", false, false, "", 4000, 0, "BLOB")]
  92. public byte[] FJ { get; set; }
  93. }
  94. }