ComBasePurchaseProviderEntity.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. using Core.Mes.Client.Comm.Attribute;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.ComponentModel;
  5. namespace Core.StlMes.Client.Qcm.model
  6. {
  7. /// <summary>
  8. /// 数据库表COM_BASE_PURCHASE_PROVIDER所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
  9. /// 作者:tgcx-test 时间:2016-07-26
  10. /// </summary>
  11. public class ComBasePurchaseProviderEntity
  12. {
  13. /// <summary>
  14. /// 采购协议代码
  15. /// </summary>
  16. private string agreementCode = "";
  17. /// <summary>
  18. /// 供应商代码
  19. /// </summary>
  20. private string suppCode = "";
  21. /// <summary>
  22. /// 供应商名称
  23. /// </summary>
  24. private string suppName = "";
  25. private bool? chk = false;
  26. /// <summary>
  27. /// 选择
  28. /// </summary>
  29. [Description("选择")]
  30. [Nullable(false)]
  31. [DataLength(20)]
  32. [JsonProperty("chk")]
  33. public bool? Chk
  34. {
  35. get { return chk; }
  36. set { chk = value; }
  37. }
  38. /// <summary>
  39. /// 采购协议代码
  40. /// </summary>
  41. [Description("采购协议代码")]
  42. [Nullable(false)]
  43. [DataLength(20)]
  44. [JsonProperty("agreementCode")]
  45. public string AgreementCode
  46. {
  47. get { return agreementCode; }
  48. set { agreementCode = value; }
  49. }
  50. /// <summary>
  51. /// 供应商代码
  52. /// </summary>
  53. [Description("供应商代码")]
  54. [Nullable(false)]
  55. [DataLength(64)]
  56. [JsonProperty("suppCode")]
  57. public string SuppCode
  58. {
  59. get { return suppCode; }
  60. set { suppCode = value; }
  61. }
  62. /// <summary>
  63. /// 供应商名称
  64. /// </summary>
  65. [Description("供应商名称")]
  66. [Nullable(false)]
  67. [DataLength(256)]
  68. [JsonProperty("suppName")]
  69. public string SuppName
  70. {
  71. get { return suppName; }
  72. set { suppName = value; }
  73. }
  74. }
  75. }