using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 设备变更记录 /// public partial class ProductModifyRecord : System.ICloneable { /// /// /// public ProductModifyRecord() { } /// /// /// public ProductModifyRecord(ProductModifyRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.ProductID = rhs.ProductID; this.Caption = rhs.Caption; this.ModifyType = rhs.ModifyType; this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; } /// /// /// public void Reset(ProductModifyRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.ProductID = rhs.ProductID; this.Caption = rhs.Caption; this.ModifyType = rhs.ModifyType; this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; } /// /// id /// public long ID { get; set; } /// /// 客户id /// public long CorpID { get; set; } /// /// 设备id /// public long ProductID { get; set; } /// /// 标题 /// public string Caption { get; set; } /// /// 变更类型 /// public string ModifyType { get; set; } /// /// 开始时间 /// public DateTime StartTime { get; set; } /// /// 结束时间 /// public DateTime EndTime { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 创建用户标识 /// public long CreateUserID { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新用户标识 /// public long? UpdateUserID { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// /// public ProductModifyRecord Clone() { return (ProductModifyRecord)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }