using System; using System.ComponentModel.DataAnnotations; namespace TProduct.Model { /// /// 测试附件 /// public partial class TestProjectAttach : System.ICloneable { public TestProjectAttach() { } public TestProjectAttach(TestProjectAttach rhs) { this.ID = rhs.ID; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.FileType = rhs.FileType; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; this.UseStatus = rhs.UseStatus; this.StoreFileName = rhs.StoreFileName; this.DispFileName = rhs.DispFileName; } public void Reset(TestProjectAttach rhs) { this.ID = rhs.ID; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.FileType = rhs.FileType; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; this.UseStatus = rhs.UseStatus; this.StoreFileName = rhs.StoreFileName; this.DispFileName = rhs.DispFileName; } /// /// 标识 /// [Display(Name = "标识")] public long ID { get; set; } /// /// 文件类型 /// [Display(Name = "文件类型")] public string FileType { get; set; } /// /// 状态 /// [Display(Name = "状态")] public eUseStatus UseStatus { get; set; } /// /// 创建人 /// [Display(Name = "创建人")] public long CreateUserID { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] public DateTime CreateTime { get; set; } /// /// 更新人 /// [Display(Name = "更新人")] public long UpdateUserID { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] public DateTime UpdateTime { get; set; } /// /// 存储路径名 /// [Display(Name = "存储路径名")] public string StoreFileName { get; set; } /// /// 显示名 /// [Display(Name = "显示名")] public string DispFileName { get; set; } public TestProjectAttach Clone() { return (TestProjectAttach)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }