ソースを参照

app轻量插件化工具

于正洋 3 年 前
コミット
49e160d6dc

+ 35 - 0
Azylee.Utils/Azylee.Core/AppUtils/AppPluginUtils/AppPluginModel.cs

@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Azylee.Core.AppUtils.AppPluginUtils
+{
+    public class AppPluginModel
+    {
+        /// <summary>
+        /// 插件名称
+        /// </summary>
+        public string PluginName { get; set; }
+        /// <summary>
+        /// 插件描述信息
+        /// </summary>
+        public string Description { get; set; }
+        /// <summary>
+        /// 创建时间
+        /// </summary>
+        public DateTime CreateTime { get; set; }
+        /// <summary>
+        /// 更新时间
+        /// </summary>
+        public DateTime UpdateTime { get; set; }
+        /// <summary>
+        /// 版本号
+        /// </summary>
+        public string Version { get; set; }
+        /// <summary>
+        /// 更新建议(0-无,1-实验,2-测试,3-稳定,4-强制)
+        /// </summary>
+        public int UpdateAdvice { get; set; }
+    }
+}

+ 1 - 0
Azylee.Utils/Azylee.Core/Azylee.Core.csproj

@@ -59,6 +59,7 @@
     <Compile Include="AppUtils\AppSettleTool.cs" />
     <Compile Include="AppUtils\AppUnique.cs" />
     <Compile Include="AppUtils\PermissionTool.cs" />
+    <Compile Include="AppUtils\AppPluginUtils\AppPluginModel.cs" />
     <Compile Include="AppUtils\StartupTool.cs" />
     <Compile Include="DataUtils\CollectionUtils\ArrayTool.cs" />
     <Compile Include="DataUtils\CollectionUtils\ListTool.cs" />