namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales; /// /// 工单齐套检查排除规则(一个租户一条配置) /// [SugarTable("ado_kitting_exclude_rule", "工单齐套检查排除规则")] public class AdoS0KittingExcludeRule : ITenantIdFilter { [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户ID", ColumnDataType = "bigint")] public long? TenantId { get; set; } [SugarColumn(ColumnName = "excluded_item_types", ColumnDescription = "排除的物料类型(JSON数组)", ColumnDataType = "text", IsNullable = true)] public string? ExcludedItemTypes { get; set; } [SugarColumn(ColumnName = "excluded_owner_apps", ColumnDescription = "排除的物料属性(JSON数组)", ColumnDataType = "text", IsNullable = true)] public string? ExcludedOwnerApps { get; set; } [SugarColumn(ColumnName = "is_active", ColumnDescription = "是否启用", ColumnDataType = "boolean")] public bool IsActive { get; set; } = true; [SugarColumn(ColumnName = "remark", ColumnDescription = "备注", Length = 500, IsNullable = true)] public string? Remark { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } = DateTime.Now; [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } [SugarColumn(ColumnName = "CreateUser", ColumnDescription = "创建人", IsNullable = true, ColumnDataType = "bigint")] public long? CreateUser { get; set; } [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", IsNullable = true, ColumnDataType = "bigint")] public long? UpdateUser { get; set; } }