From 218131c80ef5d3f11345dc78d170cfa3a6babb0f Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期日, 09 三月 2025 01:53:32 +0800 Subject: [PATCH] 雅达-添加调入单、杂收单和形态转换单审核功能 --- Tiger.Model.Net/Entitys/Api/Base.cs | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/Tiger.Model.Net/Entitys/Api/Base.cs b/Tiger.Model.Net/Entitys/Api/Base.cs index 97ec4ea..8bc7b9b 100644 --- a/Tiger.Model.Net/Entitys/Api/Base.cs +++ b/Tiger.Model.Net/Entitys/Api/Base.cs @@ -1,4 +1,5 @@ 锘縰sing System.Collections.Generic; +using System.ComponentModel; namespace Tiger.Model { @@ -24,4 +25,52 @@ public int total { get; set; } } + public class ShortMessage + { + public ShortMessage(string msg, Types type) + { + Content = msg; + Type = type; + } + + public string Content { get; set; } + public Types Type { get; set; } + + /// <summary> + /// 淇℃伅绫诲瀷 + /// </summary> + public enum Types + { + /// <summary> + /// 榛樿淇℃伅 + /// </summary> + [Description("榛樿淇℃伅")] + Normal, + /// <summary> + /// 鎴愬姛淇℃伅 + /// </summary> + [Description("鎴愬姛淇℃伅")] + Success, + /// <summary> + /// 璀﹀憡淇℃伅 + /// </summary> + [Description("璀﹀憡淇℃伅")] + Warning, + /// <summary> + /// 閿欒淇℃伅 + /// </summary> + [Description("閿欒淇℃伅")] + Error, + /// <summary> + /// 澶辫触淇℃伅 + /// </summary> + [Description("澶辫触淇℃伅")] + Failed, + /// <summary> + /// 寮傚父淇℃伅 + /// </summary> + [Description("寮傚父淇℃伅")] + Exception, + } + } } \ No newline at end of file -- Gitblit v1.9.3