namespace Modules.User.Database.Database.Entities;

public class Role
{
    public int Id { get; set; }

    public string Code { get; set; } = null!;
    public string Name { get; set; } = null!;
    public string? Description {get; set;}
    public List<Permission> Permissions { get; set; } = [];
    public DateTime CreationDate { get; set; }
    public bool Deleted { get; set; }

    public uint Xmin { get; private set; }
}