using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bit.Core.Models { public abstract class Entry { public string Id { get; set; } public DateTime? CreationDate { get; set; } public DateTime? RevisionDate { get; set; } } public class GroupEntry : Entry { public string Name { get; set; } public HashSet Members { get; set; } = new HashSet(); } public class UserEntry : Entry { public string Email { get; set; } public HashSet Groups { get; set; } = new HashSet(); } }