Pm_GoodsInfo.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_GoodsInfo", tableDescription: "物品详细表")]
  12. public class Pm_GoodsInfo : EntityBase
  13. {
  14. /// <summary>
  15. /// 类型Id
  16. /// SetData Id
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "类型Id", IsNullable = true, ColumnDataType = "int")]
  19. public int Type { get; set; }
  20. /// <summary>
  21. /// 物品名称
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "物品名称", IsNullable = true, ColumnDataType = "varchar(100)")]
  24. public string? Name { get; set; }
  25. /// <summary>
  26. /// 累计入库数量
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "累计入库数量", IsNullable = true, ColumnDataType = "decimal(8,2)")]
  29. public decimal SQ_Total { get; set; }
  30. /// <summary>
  31. /// 累计出库数量
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "累计出库数量", IsNullable = true, ColumnDataType = "decimal(8,2)")]
  34. public decimal OQ_Total { get; set; }
  35. /// <summary>
  36. /// 累计金额
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "累计金额", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  39. public decimal PriceTotal { get; set; }
  40. /// <summary>
  41. /// 现有库存
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "现有库存", IsNullable = true, ColumnDataType = "decimal(8,2)")]
  44. public decimal StockQuantity { get; set; }
  45. /// <summary>
  46. /// 单位(个、箱、包 等等)
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "单位(个、箱、包 等等)", IsNullable = true, ColumnDataType = "varchar(20)")]
  49. public string Unit { get; set; }
  50. /// <summary>
  51. /// 最后操作人
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "最后操作人", IsNullable = true, ColumnDataType = "int")]
  54. public int LastUpdateUserId { get; set; }
  55. /// <summary>
  56. /// 最后操作时间
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "最后操作时间", IsNullable = true, ColumnDataType = "datetime")]
  59. public DateTime LastUpdateTime { get; set; }
  60. }
  61. }