34 lines
979 B
C#
34 lines
979 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Runtime.Serialization;
|
|
using Newtonsoft.Json;
|
|
using Weee.Models.Paramemter;
|
|
using Resources;
|
|
|
|
namespace Weee.Models
|
|
{
|
|
public class PCR:MultiLanguage
|
|
{
|
|
public PCR()
|
|
{
|
|
ProductLCAs = new HashSet<ProductLCA>();
|
|
}
|
|
public int ID { get; set; }
|
|
[Required]
|
|
[Display(Name="Percentage", ResourceType = typeof(Resource))]
|
|
public decimal Percentage { get; set; }
|
|
|
|
[Display(Name = "StaticLabelGlobal_Description", ResourceType = typeof(Resource))]
|
|
public string Description { get; set; }
|
|
|
|
public decimal RecyclingParameterValue { get; set; }
|
|
|
|
[InverseProperty("PCR")]
|
|
[JsonIgnore][IgnoreDataMember]
|
|
public virtual ICollection<ProductLCA> ProductLCAs { get; set; }
|
|
}
|
|
} |