|
@@ -0,0 +1,50 @@
|
|
|
+using Hotline.Share.Enums.File;
|
|
|
+using SqlSugar;
|
|
|
+using System.ComponentModel;
|
|
|
+using XF.Domain.Repository;
|
|
|
+
|
|
|
+namespace Hotline.File
|
|
|
+{
|
|
|
+ [Description("附件")]
|
|
|
+ public class File : FullStateEntity
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 附件名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "附件名称")]
|
|
|
+ public string? FileName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 附件类型
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "附件类型")]
|
|
|
+ public string? FileType { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建部门名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "创建部门名称")]
|
|
|
+ public string? CreatorOrgName { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否公开
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "是否公开 0 公开 1 不公开")]
|
|
|
+ public int? Publicity { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 附件分类
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "附件分类")]
|
|
|
+ public EFileClassify? FileClassify { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 附件
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "json", IsJson = true)]
|
|
|
+ public List<string>? Additions { get; set; } = new();
|
|
|
+ }
|
|
|
+}
|