using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 附加文件 /// [SugarTable("attachment_file")] public class AttachmentFile : CorpEntity, System.ICloneable, ISorter,IUseStatus, ITagName, ITerminalId { /// /// /// public AttachmentFile() { } /// /// /// public AttachmentFile(AttachmentFile 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.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 string AttachType { get { return _attachtype; } set { _attachtype = value; } } private string _attachtype; /// /// 附加标识 /// public long AttachID { get { return _attachid; } set { _attachid = value; } } private long _attachid; /// /// 组名称 /// public string GroupName { get { return _groupname; } set { _groupname = value; } } private string _groupname; /// /// 文件名称 /// public string FileName { get { return _filename; } set { _filename = value; } } private string _filename; /// /// 文件格式 /// public int FileFormat { get { return _fileformat; } set { _fileformat = value; } } private int _fileformat; /// /// 文件大小 /// public double FileSize { get { return _filesize; } set { _filesize = value; } } private double _filesize; /// /// 文件后缀 /// public string FileSuffix { get { return _filesuffix; } set { _filesuffix = value; } } private string _filesuffix; /// /// 上传人标识 /// public long UploadUserID { get { return _uploaduserid; } set { _uploaduserid = value; } } private long _uploaduserid; /// /// 上传时间 /// public DateTime UploadTime { get { return _uploadtime; } set { _uploadtime = value; } } private DateTime _uploadtime; /// /// 存储仓库 /// public string StorageHouse { get { return _storagehouse; } set { _storagehouse = value; } } private string _storagehouse; /// /// 存储编码 /// public string StorageCode { get { return _storagecode; } set { _storagecode = value; } } private string _storagecode; /// /// 标签名称 /// public string TagName { get { return _tagname; } set { _tagname = value; } } private string _tagname; /// /// 终端标识 /// public string TerminalId { get { return _terminalid; } set { _terminalid = value; } } private string _terminalid; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 使用状态 /// public int UseStatus { get { return _usestatus; } set { _usestatus = value; } } private int _usestatus; /// /// 备注 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// /// public AttachmentFile Clone() { return (AttachmentFile)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }