demo20230512/Models/LCA/FabSurveyForm/WasteTransport.cs

43 lines
1.3 KiB
C#
Raw 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;
using Weee.Models.Survey_form_metadata;
namespace Weee.Models
{
#region WasteTransport
[Table("ProductLCAFabSurveyForm_WasteTransports")]
public class WasteTransport : SheetData
{
public int ID { get; set; }
public string JourneyNO { get; set; }
public string StartLocation { get; set; }
public string EndLocation { get; set; }
public decimal TransportDistance { get; set; }
public decimal TransportWeight { get; set; }
public string WasteName { get; set; }
public decimal Scalar { get; set; }
public decimal KgCO2e { get; set; }
public string Description { get; set; }
public DQI DQI { 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
}