29 lines
807 B
C#
29 lines
807 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.Web;
|
|||
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Weee.Models.Paramemter
|
|||
|
{
|
|||
|
public class SimaproParameterCategory : MultiLanguage
|
|||
|
{
|
|||
|
public SimaproParameterCategory()
|
|||
|
{
|
|||
|
SubTypes = new HashSet<SimaproParameterType>();
|
|||
|
}
|
|||
|
|
|||
|
public int ID { get; set; }
|
|||
|
|
|||
|
public int VersionID { get; set; }
|
|||
|
[ForeignKey("VersionID")]
|
|||
|
[JsonIgnore][IgnoreDataMember]
|
|||
|
public virtual SimaproVersion SimaproVersion { get; set; }
|
|||
|
|
|||
|
[InverseProperty("Category")]
|
|||
|
[JsonIgnore][IgnoreDataMember]
|
|||
|
public virtual ICollection<SimaproParameterType> SubTypes { get; set; }
|
|||
|
}
|
|||
|
}
|