// Copyright © Selmo Technology GmbH. All Rights Reserved

using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations.Schema;

namespace SelmoStudio.Hmi.Server.Db.Authentication
{
    [Table("AspNetUsers")]
    public class ApplicationUser : IdentityUser
    {
        public string CustomTag { get; set; } = "empty";

        // public List<Guid> Permissions { get; set; } = new();

        //https://learn.microsoft.com/en-us/ef/core/modeling/entity-types?tabs=data-annotations
    }

    [Table("AspNetRoles")]
    public class ApplicationRole : IdentityRole
    {
        public string CustomTag { get; set; } = "empty";
    }
}