demo20230512/Models/Paramemter/SimaproParameterCategory.cs

29 lines
807 B
C#
Raw Normal View History

2023-05-12 10:20:28 +08:00
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; }
}
}