PurchaseRequestMain.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. namespace Admin.NET.Plugin.AiDOP.Supply;
  2. /// <summary>
  3. /// 物料采购申请单(srm_pr_main)
  4. /// </summary>
  5. [SugarTable("srm_pr_main", "物料采购申请单")]
  6. public class PurchaseRequestMain
  7. {
  8. [SugarColumn(ColumnName = "voucher", IsPrimaryKey = true, IsIdentity = true)]
  9. public long Voucher { get; set; }
  10. [SugarColumn(ColumnName = "Id")]
  11. public long Id { get; set; }
  12. [SugarColumn(ColumnName = "pr_billno", IsNullable = true)]
  13. public string? PrBillNo { get; set; }
  14. [SugarColumn(ColumnName = "pr_purchaseid")]
  15. public long PrPurchaseId { get; set; }
  16. [SugarColumn(ColumnName = "pr_purchasenumber", IsNullable = true)]
  17. public string? PrPurchaseNumber { get; set; }
  18. [SugarColumn(ColumnName = "pr_purchasename", IsNullable = true)]
  19. public string? PrPurchaseName { get; set; }
  20. [SugarColumn(ColumnName = "pr_purchaser", IsNullable = true)]
  21. public string? PrPurchaser { get; set; }
  22. [SugarColumn(ColumnName = "pr_purchaser_num", IsNullable = true)]
  23. public string? PrPurchaserNum { get; set; }
  24. [SugarColumn(ColumnName = "pr_rqty", IsNullable = true)]
  25. public decimal? PrRqty { get; set; }
  26. [SugarColumn(ColumnName = "pr_aqty", IsNullable = true)]
  27. public decimal? PrAqty { get; set; }
  28. [SugarColumn(ColumnName = "pr_sqty", IsNullable = true)]
  29. public decimal? PrSqty { get; set; }
  30. [SugarColumn(ColumnName = "icitem_id")]
  31. public long IcitemId { get; set; }
  32. [SugarColumn(ColumnName = "icitem_name", IsNullable = true)]
  33. public string? IcitemName { get; set; }
  34. [SugarColumn(ColumnName = "pr_ssend_date", IsNullable = true)]
  35. public DateTime? PrSsendDate { get; set; }
  36. [SugarColumn(ColumnName = "pr_sarrive_date", IsNullable = true)]
  37. public DateTime? PrSarriveDate { get; set; }
  38. [SugarColumn(ColumnName = "pr_unit", IsNullable = true)]
  39. public string? PrUnit { get; set; }
  40. [SugarColumn(ColumnName = "state", IsNullable = true)]
  41. public int? State { get; set; }
  42. [SugarColumn(ColumnName = "pr_type", IsNullable = true)]
  43. public int? PrType { get; set; }
  44. [SugarColumn(ColumnName = "currencytype")]
  45. public long CurrencyType { get; set; }
  46. [SugarColumn(ColumnName = "create_by", IsNullable = true)]
  47. public long? CreateBy { get; set; }
  48. [SugarColumn(ColumnName = "create_by_name", IsNullable = true)]
  49. public string? CreateByName { get; set; }
  50. [SugarColumn(ColumnName = "create_time", IsNullable = true)]
  51. public DateTime? CreateTime { get; set; }
  52. [SugarColumn(ColumnName = "update_by", IsNullable = true)]
  53. public long? UpdateBy { get; set; }
  54. [SugarColumn(ColumnName = "update_by_name", IsNullable = true)]
  55. public string? UpdateByName { get; set; }
  56. [SugarColumn(ColumnName = "update_time", IsNullable = true)]
  57. public DateTime? UpdateTime { get; set; }
  58. [SugarColumn(ColumnName = "tenant_id")]
  59. public long TenantId { get; set; }
  60. [SugarColumn(ColumnName = "factory_id", IsNullable = true)]
  61. public long? FactoryId { get; set; }
  62. [SugarColumn(ColumnName = "org_id", IsNullable = true)]
  63. public long? OrgId { get; set; }
  64. [SugarColumn(ColumnName = "IsDeleted")]
  65. public bool IsDeleted { get; set; }
  66. [SugarColumn(ColumnName = "company_id", IsNullable = true)]
  67. public long? CompanyId { get; set; }
  68. [SugarColumn(ColumnName = "IsRequireGoods")]
  69. public int IsRequireGoods { get; set; }
  70. [SugarColumn(ColumnName = "supplier_type", IsNullable = true)]
  71. public string? SupplierType { get; set; }
  72. }