using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Runtime.Serialization; using System.Web; using Weee.Models.Paramemter; namespace Weee.Models { #region OtherCompound [Table("ProductLCAFabSurveyForm_OtherCompounds")] public class OtherCompound : CommonProperty, SheetData { public OtherCompound() { CreatedTime = DateTime.UtcNow; } public int ID { get; set; } public int? ParameterID { get; set; } [ForeignKey("ParameterID")] [JsonIgnore] [IgnoreDataMember] public virtual NonYearlyParameter Parameter { get; set; } public int LCAID { get; set; } [ForeignKey("LCAID")] [JsonIgnore] [IgnoreDataMember] public virtual ProductLCA OwnerLCA { get; set; } } #endregion }