AdoS0ItemSubstituteDetail.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. /// <summary>
  3. /// 物料替代关系(源平台 ItemSubstituteDetail 行级复刻)。
  4. /// </summary>
  5. [SugarTable("ItemSubstituteDetail", "物料替代关系表")]
  6. public class AdoS0ItemSubstituteDetail
  7. {
  8. [SugarColumn(ColumnDescription = "物料替代关系主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnDescription = "父级物料编码", Length = 100)]
  11. public string ParentItem { get; set; } = string.Empty;
  12. [SugarColumn(ColumnDescription = "物料编码", Length = 100)]
  13. public string ItemNum { get; set; } = string.Empty;
  14. [SugarColumn(ColumnDescription = "替代物料编码", Length = 100)]
  15. public string SubstituteItem { get; set; } = string.Empty;
  16. [SugarColumn(ColumnDescription = "替代数量", DecimalDigits = 6, Length = 18, IsNullable = true)]
  17. public decimal? SubstituteQty { get; set; }
  18. [SugarColumn(ColumnDescription = "备注", Length = 255, IsNullable = true)]
  19. public string? Remark { get; set; }
  20. [SugarColumn(ColumnDescription = "工厂域编码", Length = 50)]
  21. public string Domain { get; set; } = string.Empty;
  22. [SugarColumn(ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  23. public string? CreateUser { get; set; }
  24. [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
  25. public DateTime? CreateTime { get; set; }
  26. [SugarColumn(ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  27. public string? UpdateUser { get; set; }
  28. [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
  29. public DateTime? UpdateTime { get; set; }
  30. }