using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.Linq; namespace IStation.Model { /// /// 项目 /// public partial class Project : System.ICloneable { public Project() { } public Project(Project rhs) { this.Id = rhs.Id; this.Name = rhs.Name; this.Version = rhs.Version; this.TagName = rhs.TagName; this.CreateTime = rhs.CreateTime; this.UpdateTime = rhs.UpdateTime; this.Description = rhs.Description; } public void Reset(Project rhs) { this.Id = rhs.Id; this.Name = rhs.Name; this.Version = rhs.Version; this.TagName = rhs.TagName; this.CreateTime = rhs.CreateTime; this.UpdateTime = rhs.UpdateTime; this.Description = rhs.Description; } /// /// 标识 /// public long Id { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 版本 /// public string Version { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新时间 /// public DateTime UpdateTime { get; set; } /// /// 标签 /// public string TagName { get; set; } /// /// 说明 /// public string Description { get; set; } public Project Clone() { return (Project)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }