|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
using SOA.Persistent;
|
|
|
|
|
|
|
|
namespace IBKLinker_Minio.Entity.MinioController
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
///文件文件夹路径表
|
|
|
|
/// </summary>
|
|
|
|
[Serializable, Table("MINIO_STORAGE_PATH"), JsonObject]
|
|
|
|
public class MinioStoragePath
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
///主键ID
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("PK", IsKey = true), DisplayName("主键ID")]
|
|
|
|
public int Pk { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///子文件夹的父ID
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("UPK"), DisplayName("子文件夹的父ID")]
|
|
|
|
public int Upk { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///文件名称
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("FILE_NAME"), DisplayName("文件名称")]
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///文件类型
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("FILE_TYPE"), DisplayName("文件类型")]
|
|
|
|
public int FileType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///文件路径
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("FILE_PATH"), DisplayName("文件路径")]
|
|
|
|
public string FilePath { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///创建者
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("CREATOR_USER"), DisplayName("创建者")]
|
|
|
|
public string CreatorUser { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///创建时间
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("CREATOR_TIME"), DisplayName("创建时间")]
|
|
|
|
public DateTime? CreatorTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///下载次数
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("DOWNLOAD_NUM"), DisplayName("下载次数")]
|
|
|
|
public int DownloadNum { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///层级
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("FILE_LEVEL"), DisplayName("层级")]
|
|
|
|
public int FileLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///修改用户
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("MODIFY_USERS"), DisplayName("修改用户")]
|
|
|
|
public string ModifyUsers { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///修改时间
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("MODIFY_TIME"), DisplayName("修改时间")]
|
|
|
|
public DateTime? ModifyTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///备用字段
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("ALTERNATE_FIELDS"), DisplayName("备用字段")]
|
|
|
|
public string AlternateFields { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///删除时间
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("CLEAR_TIME"), DisplayName("删除时间")]
|
|
|
|
public DateTime? ClearTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///删除用户
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("CLEAR_USERS"), DisplayName("删除用户")]
|
|
|
|
public string ClearUsers { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///删除标记 0未删除 1删除
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("CLEAR_FLAG"), DisplayName("删除标记 0未删除 1删除")]
|
|
|
|
public string ClearFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///文件种类 主要分为1、技术协议、2、质量要点、3、工艺卡 4、其他 用于关联文件使用
|
|
|
|
/// </summary>
|
|
|
|
[Persistent("DOCUMENT_TYPE"), DisplayName("文件种类")]
|
|
|
|
public string DocumentType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///文件格式
|
|
|
|
/// </summary>
|
|
|
|
[Persistent(false), DisplayName("")]
|
|
|
|
public string FileCategory { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///流数据bate64
|
|
|
|
/// </summary>
|
|
|
|
[Persistent(false), DisplayName("")]
|
|
|
|
public string Bate64 { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///操作类型 0下载 1预览 2打印
|
|
|
|
/// </summary>
|
|
|
|
[Persistent(false), DisplayName("")]
|
|
|
|
public string OperationType { get; set; }
|
|
|
|
}
|
|
|
|
}
|