namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales; /// /// 物料替代关系(源平台 ItemSubstituteDetail 行级复刻)。 /// [SugarTable("ItemSubstituteDetail", "物料替代关系表")] public class AdoS0ItemSubstituteDetail { [SugarColumn(ColumnDescription = "物料替代关系主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnDescription = "父级物料编码", Length = 100)] public string ParentItem { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "物料编码", Length = 100)] public string ItemNum { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "替代物料编码", Length = 100)] public string SubstituteItem { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "替代数量", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? SubstituteQty { get; set; } [SugarColumn(ColumnDescription = "备注", Length = 255, IsNullable = true)] public string? Remark { get; set; } [SugarColumn(ColumnDescription = "工厂域编码", Length = 50)] public string Domain { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "创建人", Length = 64, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnDescription = "更新人", Length = 64, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } }