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 AttachmentFile : System.ICloneable { /// /// /// public AttachmentFile() { } /// /// /// public AttachmentFile(AttachmentFile rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.AttachType = rhs.AttachType; this.AttachID = rhs.AttachID; this.GroupName = rhs.GroupName; this.FileName = rhs.FileName; this.FileFormat = rhs.FileFormat; this.FileSize = rhs.FileSize; this.FileSuffix = rhs.FileSuffix; this.UploadUserID = rhs.UploadUserID; this.UploadTime = rhs.UploadTime; this.StorageHouse = rhs.StorageHouse; this.StorageCode = rhs.StorageCode; this.TagName = rhs.TagName; this.TerminalId = rhs.TerminalId; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// /// public void Reset(AttachmentFile rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.AttachType = rhs.AttachType; this.AttachID = rhs.AttachID; this.GroupName = rhs.GroupName; this.FileName = rhs.FileName; this.FileFormat = rhs.FileFormat; this.FileSize = rhs.FileSize; this.FileSuffix = rhs.FileSuffix; this.UploadUserID = rhs.UploadUserID; this.UploadTime = rhs.UploadTime; this.StorageHouse = rhs.StorageHouse; this.StorageCode = rhs.StorageCode; this.TagName = rhs.TagName; this.TerminalId = rhs.TerminalId; this.SortCode = rhs.SortCode; this.UseStatus= rhs.UseStatus; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 附加类型 /// public string AttachType { get; set; } /// /// 附加标识 /// public long AttachID { get; set; } /// /// 组名称 /// public string GroupName { get; set; } /// /// 文件名称 /// public string FileName { get; set; } /// /// 文件格式 /// public eFileFormat FileFormat { get; set; } /// /// 文件大小 /// public double FileSize { get; set; } /// /// 文件后缀 /// public string FileSuffix { get; set; } /// /// 上传人标识 /// public long UploadUserID { get; set; } /// /// 上传时间 /// public DateTime UploadTime { get; set; } /// /// 存储仓库 /// public string StorageHouse { get; set; } /// /// 存储编码 /// public string StorageCode { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 终端标识 /// public string TerminalId { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { get; set; } /// /// 备注 /// public string Description { get; set; } /// /// /// public AttachmentFile Clone() { return (AttachmentFile)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }