using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using AyCode.Interfaces.Entities;
using AyCode.Interfaces.TimeStampInfo;

namespace TIAM.Entities.Permissions;

//[Table("PermissionGroups")]
public class PermissionGroup_Old : IEntityGuid, ITimeStampInfo
{
    [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
    public Guid Id { get; set; }
    public Guid ContextId { get; set; }  //Kell egy ownerID (ami itt contextId), mert különben létrehozás után nem tudjuk kié a csoport

    string? GroupName { get; set; }
    bool IsBuiltin { get; set; }

    public DateTime Created { get; set; }
    public DateTime Modified { get; set; }
}