From f5570a2f60dc9b9c201dcc8b227510a89bf69042 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 01 七月 2025 11:29:32 +0800 Subject: [PATCH] 工序增加是否追溯码 --- DevApp/Gs.DevApp/Entity/LoginInfoModel.cs | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/Entity/LoginInfoModel.cs b/DevApp/Gs.DevApp/Entity/LoginInfoModel.cs new file mode 100644 index 0000000..f0f6908 --- /dev/null +++ b/DevApp/Gs.DevApp/Entity/LoginInfoModel.cs @@ -0,0 +1,32 @@ +锘縩amespace Gs.DevApp.Entity +{ + /// <summary> + /// 鐧诲綍绫� + /// </summary> + public class LoginInfoModel + { + private static LoginInfoModel _CurrentUser; + + /// <summary> + /// 鐧诲綍鐢ㄦ埛鐨刧uid + /// </summary> + public string LoginUserGuid { get; set; } = ""; + + + /// <summary> + /// 鐧诲綍鏃堕棿 + /// </summary> + public string LoginTime { get; set; } + + //搴旂敤鍗曚欢妯″紡锛屼繚瀛樼敤鎴风櫥褰曠姸鎬� + public static LoginInfoModel CurrentUser + { + get + { + if (_CurrentUser == null) + _CurrentUser = new LoginInfoModel(); + return _CurrentUser; + } + } + } +} \ No newline at end of file -- Gitblit v1.9.3