Pm_GoodsReceiveDetails.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_GoodsReceiveDetails", tableDescription: "物品领用明细表")]
  12. public class Pm_GoodsReceiveDetails: EntityBase
  13. {
  14. /// <summary>
  15. /// 物品领用Id
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "物品领用Id", IsNullable = true, ColumnDataType = "int")]
  18. public int GoodsReceiveId { get; set; }
  19. /// <summary>
  20. /// 物品Id
  21. /// Pm_GoodsInfo Id
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "物品Id", IsNullable = true, ColumnDataType = "int")]
  24. public int GoodsId { get; set; }
  25. /// <summary>
  26. /// 物资入库批次信息
  27. /// {storageId:1,quantity:10}
  28. /// </summary>
  29. [SugarColumn(ColumnDescription = "物资入库批次信息", IsNullable = true, ColumnDataType = "varchar(200)")]
  30. public string? GoodsStorageInfo { get; set; }
  31. /// <summary>
  32. /// 领用数量
  33. /// </summary>
  34. [SugarColumn(ColumnDescription = "领用数量", IsNullable = true, ColumnDataType = "decimal(8,2)")]
  35. public decimal Quantity { get; set; }
  36. }
  37. }