namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales; /// /// 源平台 ic_substitute:替代方案(只读查询模型)。 /// 注意:这是对既有业务表的映射,不代表新增业务实体表。 /// [SugarTable("ic_substitute", "替代方案(源平台表映射)")] public class IcSubstitute : ITenantIdFilter { [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "substitute_code", ColumnDescription = "替代方案编码", IsNullable = true, Length = 100)] public string? SubstituteCode { get; set; } [SugarColumn(ColumnName = "substitute_type", ColumnDescription = "替代类型", IsNullable = true)] public int? SubstituteType { get; set; } [SugarColumn(ColumnName = "substitute_strategy", ColumnDescription = "替代策略", IsNullable = true, Length = 100)] public string? SubstituteStrategy { get; set; } [SugarColumn(ColumnName = "substitute_mode", ColumnDescription = "替代方式", IsNullable = true, Length = 100)] public string? SubstituteMode { get; set; } [SugarColumn(ColumnName = "create_by", ColumnDescription = "创建人ID", IsNullable = true, ColumnDataType = "bigint")] public long? CreateBy { get; set; } [SugarColumn(ColumnName = "create_by_name", ColumnDescription = "创建人姓名", IsNullable = true, Length = 50)] public string? CreateByName { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "update_by", ColumnDescription = "更新人ID", IsNullable = true, ColumnDataType = "bigint")] public long? UpdateBy { get; set; } [SugarColumn(ColumnName = "update_by_name", ColumnDescription = "更新人姓名", IsNullable = true, Length = 50)] public string? UpdateByName { get; set; } [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } [SugarColumn(ColumnName = "company_id", ColumnDescription = "公司ID", IsNullable = true, ColumnDataType = "bigint")] public long? CompanyId { get; set; } [SugarColumn(ColumnName = "factory_id", ColumnDescription = "工厂ID", IsNullable = true, ColumnDataType = "bigint")] public long? FactoryId { get; set; } [SugarColumn(ColumnName = "org_id", ColumnDescription = "组织ID", IsNullable = true, ColumnDataType = "bigint")] public long? OrgId { get; set; } [SugarColumn(ColumnName = "IsDeleted", ColumnDescription = "逻辑删除标记", IsNullable = true, ColumnDataType = "int")] public int? IsDeleted { get; set; } [SugarColumn(ColumnName = "tenant_id", IsNullable = true)] public long? TenantId { get; set; } }