demo20230512/Models/LCA/FabSurveyForm/OtherCompound.cs
2023-05-12 10:20:28 +08:00

37 lines
925 B
C#

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
}