using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using Sleis.Models; namespace Sleis.Models { public class AgencyUnitProcess : UnitProcess { public virtual IList Identifiers { get; set; } public virtual IList MasterRecordComments { get; set; } public virtual bool IsMaster { get { if (Facility != null && Facility is AgencyFacilityModel) { return ((AgencyFacilityModel)Facility).IsMaster; } return false; } } public AgencyUnitProcess() : base() { MasterRecordComments = new List(); Identifiers = new List(); } public AgencyUnitProcess(UnitProcessListItem listItem) : base(listItem) { } } }