using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading; using System.Web; using Resources; namespace Weee.Models.Paramemter { public class YearlyParameterArea : MultiLanguage { public YearlyParameterArea() { Parameters = new HashSet(); } public YearlyParameterArea(string Name) { DisplayNameTW = Name; Parameters = new HashSet(); } public int ID { get; set; } [Required] public int CategoryID { get; set; } [ForeignKey("CategoryID")] public virtual YearlyParameterCategory Category { get; set; } [InverseProperty("Area")] public virtual ICollection Parameters { get; set; } } }