namespace Modules.User.Database.Database.Entities;

public class Permission
{
    public int Id {get; set;}
    public string Code {get; set;} = null!;
    public string Name {get; set;} = null!;
    public string? Description {get; set;}
    public DateTime CreationDate { get; set; }
    public bool Deleted { get; set; }

    public List<Role> Roles { get; set; } = [];

    public uint Xmin { get; private set; }
}