Pm_GoodsStorage.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.PersonnelModule
  7. {
  8. /// <summary>
  9. /// 物品入库表
  10. /// </summary>
  11. [SugarTable(tableName: "Pm_GoodsStorage", tableDescription: "物品入库表")]
  12. public class Pm_GoodsStorage : EntityBase
  13. {
  14. /// <summary>
  15. /// 商品Id
  16. /// Pm_GoodsInfo Id
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "商品Id", IsNullable = true, ColumnDataType = "int")]
  19. public int GoodsId { get; set; }
  20. /// <summary>
  21. /// 批次号
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "批次号", IsNullable = true, ColumnDataType = "varchar(50)")]
  24. public string? BatchNo { get; set; }
  25. /// <summary>
  26. /// 此批次领用数量
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "此批次领用数量", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  29. public decimal ReceiveQuantity { get; set; }
  30. /// <summary>
  31. /// 此次入库数量
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "此次入库数量", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  34. public decimal Quantity { get; set; }
  35. /// <summary>
  36. /// 此次物品单价
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "此次数量单价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  39. public decimal UnitPrice { get; set; }
  40. /// <summary>
  41. /// 此次物品总价
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "此次物品总价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  44. public decimal TotalPrice { get; set; }
  45. /// <summary>
  46. /// 此次供应商名称
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "此次供应商名称", IsNullable = true, ColumnDataType = "varchar(100)")]
  49. public string? SupplierName { get; set; }
  50. /// <summary>
  51. /// 此次供应商电话
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "此次供应商电话", IsNullable = true, ColumnDataType = "varchar(30)")]
  54. public string? SupplierTel { get; set; }
  55. /// <summary>
  56. /// 此次供应商地址
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "此次供应商地址", IsNullable = true, ColumnDataType = "varchar(200)")]
  59. public string? SupplierAddress { get; set; }
  60. /// <summary>
  61. /// 此次供应商来源
  62. /// </summary>
  63. [SugarColumn(ColumnDescription = "此次供应商来源", IsNullable = true, ColumnDataType = "varchar(200)")]
  64. public string? SupplierSource { get; set; }
  65. /// <summary>
  66. /// 入库人
  67. /// </summary>
  68. [SugarColumn(ColumnDescription = "入库人", IsNullable = true, ColumnDataType = "int")]
  69. public int StorageUserId { get; set; }
  70. /// <summary>
  71. /// 入库时间
  72. /// </summary>
  73. [SugarColumn(ColumnDescription = "入库时间", IsNullable = true, ColumnDataType = "varchar(30)")]
  74. public string? StorageTime { get; set; }
  75. }
  76. }