namespace Yw.Model { /// /// 系统附加文件 /// public class SysAttachFile : BaseModel, IFlags, ISorter, System.ICloneable { /// /// /// public SysAttachFile() { } /// /// /// public SysAttachFile(SysAttachFile rhs) : base(rhs) { 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.StorageHouse = rhs.StorageHouse; this.StorageCode = rhs.StorageCode; this.Flags = rhs.Flags?.ToList(); this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(SysAttachFile rhs) { this.ID = rhs.ID; 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.StorageHouse = rhs.StorageHouse; this.StorageCode = rhs.StorageCode; this.Flags = rhs.Flags?.ToList(); this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 附加类型 /// public string AttachType { get; set; } /// /// 附加id /// public long AttachID { get; set; } /// /// 组名称 /// public string GroupName { get; set; } /// /// 文件名称 /// public string FileName { get; set; } /// /// 文件格式 /// public eFileFormat FileFormat { get; set; } /// /// 文件大小 /// public long FileSize { get; set; } /// /// 文件后缀 /// public string FileSuffix { get; set; } /// /// 存储仓库 /// public string StorageHouse { get; set; } /// /// 存储编码 /// public string StorageCode { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public SysAttachFile Clone() { return new SysAttachFile(this); } object ICloneable.Clone() { return Clone(); } } }