using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.ComponentModel.DataAnnotations; using Sleis.Validation.Attribute; namespace Sleis.Models { public abstract class ControlApproach : BaseIdentityModel { //public virtual PublicControlDeviceApproach Approach { get; set; } //public virtual int EntityId { get; set; } public virtual string Description { get; set; } public virtual Decimal? Efficency { get; set; } public virtual Decimal? Effect { get; set; } public virtual int? Year { get; set; } public virtual bool NotControlled { get; set; } public virtual List EntityControlDevices { get; set; } public ControlApproach() { EntityControlDevices = new List(); //Approach = new PublicControlDeviceApproach(); } } }