demo20230512/Models/LCA/FabSurveyForm/OrganizationLCAFabSurveyForm_OtherCompounds.cs

36 lines
963 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
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
{
//CFT-50
#region OtherCompound - Organization
public class OrganizationLCAFabSurveyForm_OtherCompounds : CommonProperty, SheetData
{
public OrganizationLCAFabSurveyForm_OtherCompounds()
{
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 OrganizationLCA OwnerLCA { get; set; }
}
#endregion
}