28 lines
636 B
C#
28 lines
636 B
C#
///
|
|
/// Copyright (c) 2013-2020 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Config.Entities
|
|
{
|
|
public class Group
|
|
{
|
|
public virtual int Id { get; protected set; }
|
|
public virtual Common.GID GID { get; set; }
|
|
public virtual long AccessFlags { get; set; } /// Bitfield of access flags: bit0 .. bit62
|
|
public virtual IList<User> Users { get; set; } /// Group can be a member of a list of users
|
|
|
|
public Group()
|
|
{
|
|
Users = new List<User>();
|
|
}
|
|
|
|
public Group(Common.GID gid)
|
|
: this()
|
|
{
|
|
GID = gid;
|
|
}
|
|
}
|
|
}
|