using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace TProduct.Model { /// /// 测试 /// public partial class TestStandard : System.ICloneable { public TestStandard() { } public TestStandard(TestStandard rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Tag = rhs.Tag; this.UseStatus = rhs.UseStatus; } /// /// 标识 /// [Display(Name = "标识")] public string ID { get; set; } /// /// 状态 /// [Display(Name = "状态")] public eUseStatus UseStatus { get; set; } = eUseStatus.Enable; /// /// 名称 /// [Display(Name = "名称")] public string Name { get; set; } /// /// 是否默认 /// [Display(Name = "IsDefault")] public bool IsDefault { get; set; } = false; /// /// ProductType /// [Display(Name = "产品类型")] public eProductType ProductType { get; set; } /// /// /// [Display(Name = "测试类型(多选)")] public List TestTypes { get; set; } /// /// 标签 /// [Display(Name = "标签")] public string Tag { get; set; } /// /// 等级列表 /// [Display(Name = "等级列表")] public List Grades { get; set; } public TestStandard Clone() { return (TestStandard)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }