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 ProductInspectionContentValue : System.ICloneable { /// /// /// public ProductInspectionContentValue() { } /// /// /// /// public ProductInspectionContentValue(ProductInspectionContentValue 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(ProductInspectionContentValue 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 BaseInfo(ProductInspectionContentValue rhs) { this.Text = rhs.Text; this.Value = rhs.Value; } /// /// /// public int Value { get; set; } /// /// /// public string Text { get; set; } } /// /// 标识 /// public long ID { get; set; } /// /// 内容标识 /// public long ItemID { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { get { return _useStatus; } set { _useStatus = value; } } private eUseStatus _useStatus = 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 ProductInspectionContentValue Clone() { return (ProductInspectionContentValue)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }