﻿using System.Collections.Generic;

namespace NuGetGallery
{
    public class CuratedFeed : IEntity
    {
        // The key to represent the "master" (non-curated) feed
        public const int MasterFeedKey = -1;

        public CuratedFeed()
        {
            Managers = new HashSet<User>();
            Packages = new HashSet<CuratedPackage>();
        }

        public string Name { get; set; }
        public virtual ICollection<User> Managers { get; set; }
        public virtual ICollection<CuratedPackage> Packages { get; set; }
        public int Key { get; set; }
    }
}