Pm_GoodsStorage.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 = "decimal(8,2)")]
  24. public decimal Quantity { get; set; }
  25. /// <summary>
  26. /// 此次物品单价
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "此次数量单价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  29. public decimal UnitPrice { get; set; }
  30. /// <summary>
  31. /// 此次物品总价
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "此次物品总价", IsNullable = true, ColumnDataType = "decimal(10,2)")]
  34. public decimal TotalPrice { get; set; }
  35. /// <summary>
  36. /// 此次供应商名称
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "此次供应商名称", IsNullable = true, ColumnDataType = "varchar(100)")]
  39. public string? SupplierName { get; set; }
  40. /// <summary>
  41. /// 此次供应商电话
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "此次供应商电话", IsNullable = true, ColumnDataType = "varchar(20)")]
  44. public string? SupplierTel { get; set; }
  45. /// <summary>
  46. /// 此次供应商地址
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "此次供应商地址", IsNullable = true, ColumnDataType = "varchar(200)")]
  49. public string? SupplierAddress { get; set; }
  50. /// <summary>
  51. /// 此次供应商来源
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "此次供应商来源", IsNullable = true, ColumnDataType = "varchar(200)")]
  54. public string? SupplierSource { get; set; }
  55. }
  56. }