using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Sleis.Models { public enum AlternateNameType { Primary, Legal, Historical, Local } public class AlternateName : BaseIdentityModel { public virtual string Name { get; set; } public virtual string ProgramSystemCode { get; set; } public virtual AlternateNameType NameType { get; set; } public virtual DateTime? EffectiveDate { get; set; } public virtual int FacilityId { get; set; } public override void SetContext(string parentContext) { ValidationContxt = String.Format("{0} Alternate Name:{1}", parentContext, Name); } } }