| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- namespace Admin.NET.Plugin.AiDOP.Rule;
- /// <summary>
- /// 全模块规则配置项。
- /// </summary>
- [SugarTable("ado_rule_item", "全模块规则配置项")]
- public sealed class AdoRuleItem
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "profile_id")]
- public long ProfileId { get; set; }
- [SugarColumn(ColumnName = "rule_code", Length = 64)]
- public string RuleCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "rule_name", Length = 128)]
- public string RuleName { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "value_type", Length = 32)]
- public string ValueType { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "rule_value", IsNullable = true)]
- public string? RuleValue { get; set; }
- [SugarColumn(ColumnName = "is_enabled")]
- public int IsEnabled { get; set; }
- [SugarColumn(ColumnName = "sort_no")]
- public int SortNo { get; set; }
- [SugarColumn(ColumnName = "remark", Length = 500, IsNullable = true)]
- public string? Remark { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; }
- [SugarColumn(ColumnName = "created_by", Length = 64, IsNullable = true)]
- public string? CreatedBy { get; set; }
- [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
- public DateTime? UpdatedAt { get; set; }
- [SugarColumn(ColumnName = "updated_by", Length = 64, IsNullable = true)]
- public string? UpdatedBy { get; set; }
- }
|