PurOrdMaster.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Business.Domain
  9. {
  10. /// <summary>
  11. /// 采购订单主表
  12. /// </summary>
  13. [Comment("采购订单主表")]
  14. public class PurOrdMaster
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public int RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 类型
  29. /// </summary>
  30. [Comment("类型")]
  31. public string Potype { get; set; }
  32. /// <summary>
  33. /// PO单号
  34. /// </summary>
  35. [Comment("PO单号")]
  36. public string PurOrd { get; set; }
  37. /// <summary>
  38. /// 采购员工号
  39. /// </summary>
  40. [Comment("采购员工号")]
  41. public string Buyer { get; set; }
  42. /// <summary>
  43. /// 日期
  44. /// </summary>
  45. [Comment("日期")]
  46. public DateTime? OrdDate { get; set; }
  47. /// <summary>
  48. /// 币别
  49. /// </summary>
  50. [Required]
  51. [Comment("币别")]
  52. public string Curr { get; set; }
  53. /// <summary>
  54. /// 供应商编号
  55. /// </summary>
  56. [StringLength(80)]
  57. [Comment("供应商编号")]
  58. public string Supp { get; set; }
  59. /// <summary>
  60. /// 税率
  61. /// </summary>
  62. [Precision(23, 10)]
  63. [Comment("税率")]
  64. public decimal? Tax1 { get; set; }
  65. /// <summary>
  66. /// 部门
  67. /// </summary>
  68. [Comment("部门")]
  69. public string Department { get; set; }
  70. /// <summary>
  71. /// 供应商联系人电话
  72. /// </summary>
  73. [StringLength(80)]
  74. [Comment("供应商联系人电话")]
  75. public string CustPhone { get; set; }
  76. /// <summary>
  77. /// 供应地址
  78. /// </summary>
  79. [StringLength(200)]
  80. [Comment("供应地址")]
  81. public string CustAddress { get; set; }
  82. /// <summary>
  83. /// 是否有效:1-有效;0-无效
  84. /// </summary>
  85. [Comment("是否有效")]
  86. public bool IsActive { get; set; }
  87. /// <summary>
  88. /// 创建时间
  89. /// </summary>
  90. [Comment("创建时间")]
  91. public DateTime? CreateTime { get; set; }
  92. /// <summary>
  93. /// 创建人
  94. /// </summary>
  95. [Comment("创建人")]
  96. public string CreateUser { get; set; }
  97. /// <summary>
  98. /// 创建时间
  99. /// </summary>
  100. [Comment("修改时间")]
  101. public DateTime? UpdateTime { get; set; }
  102. /// <summary>
  103. /// 修改人
  104. /// </summary>
  105. [Comment("修改人")]
  106. public string UpdateUser { get; set; }
  107. /// <summary>
  108. /// 类型 DO:要货令
  109. /// </summary>
  110. [Comment("类型")]
  111. public string ReqBy { get; set; }
  112. }
  113. }