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