Spaces:
Running
Running
User
add: new db tables Permission, RoleMenusLegacy, Menu, Fix RolePerms and Perms, adjust Roleservice so it writes to RoleMenus and RolePermissions separately. Menuservice adjust to read from Menus and Permissions instead of the old menu tables.
4c550c2 | using System; | |
| using System.Collections.Generic; | |
| namespace TaskTrackingSystem.Database.AppDbContextModels; | |
| public partial class RoleMenu | |
| { | |
| public long RoleMenuId { get; set; } | |
| public long RoleId { get; set; } | |
| public long MenuId { get; set; } | |
| public bool IsDeleted { get; set; } | |
| public long? CreatedById { get; set; } | |
| public DateTime CreatedAt { get; set; } | |
| public long? UpdatedById { get; set; } | |
| public DateTime? UpdatedAt { get; set; } | |
| public virtual Menu Menu { get; set; } = null!; | |
| public virtual Role Role { get; set; } = null!; | |
| } | |