using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// Get /// public partial class ProductInspectionTemplateValue : System.ICloneable { /// /// /// public ProductInspectionTemplateValue() { } /// /// /// /// public ProductInspectionTemplateValue(ProductInspectionTemplateValue rhs) { this.ID = rhs.ID; this.ItemID = rhs.ItemID; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Text = rhs.Text; this.Value = rhs.Value; } /// /// /// /// public void Reset(ProductInspectionTemplateValue rhs) { this.ID = rhs.ID; this.ItemID = rhs.ItemID; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Text = rhs.Text; this.Value = rhs.Value; } /// /// /// public class BaseInfo { /// /// /// public int Value { get; set; } /// /// /// public string Text { get; set; } } /// /// 标识 /// public long ID { get; set; } /// /// 内容标识 /// public long ItemID { get; set; } /// /// 使用状态 /// public ProductInspectionContentValue.eUseStatus UseStatus { get { return _useStatus; } set { _useStatus = value; } } private ProductInspectionContentValue.eUseStatus _useStatus = ProductInspectionContentValue.eUseStatus.有效; /// /// 排序码 /// public int SortCode { get; set; } /// /// 内容 /// public string Text { get; set; } /// /// 唯一值 /// public int Value { get; set; } /// /// 创建用户标识 /// public long CreateUserID { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新用户标识 /// public long? UpdateUserID { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// /// /// public ProductInspectionTemplateValue Clone() { return (ProductInspectionTemplateValue)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }