using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Runtime.Serialization; using System.Web; using Newtonsoft.Json; namespace Weee.Models.Paramemter { public class SimaproParameterType : MultiLanguage { public SimaproParameterType() { Parameters = new HashSet(); } public int ID { get; set; } [Required] public int CategoryID { get; set; } [ForeignKey("CategoryID")] [JsonIgnore][IgnoreDataMember] public virtual SimaproParameterCategory Category { get; set; } [InverseProperty("Type")] public virtual ICollection Parameters { get; set; } } }