| 1234567891011121314151617181920212223242526272829 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S8;
- /// <summary>
- /// S8 角色权限配置(与系统角色表解耦的配置行;持久化对象)。
- /// </summary>
- [SugarTable("ado_s8_role_permission_config", "S8 角色权限配置")]
- public class AdoS8RolePermissionConfig
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "tenant_id", ColumnDataType = "bigint")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id", ColumnDataType = "bigint")]
- public long FactoryId { get; set; }
- [SugarColumn(ColumnName = "role_code", Length = 64)]
- public string RoleCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "permission_codes", Length = 4000, IsNullable = true)]
- public string? PermissionCodes { get; set; }
- [SugarColumn(ColumnName = "created_at")]
- public DateTime CreatedAt { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
- public DateTime? UpdatedAt { get; set; }
- }
|