From 58f78e4fe78d92f5c23b3b9961ff73e87fdcf981 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期五, 25 十月 2024 16:22:33 +0800 Subject: [PATCH] 11 --- DevApp/Gs.DevApp/Entity/LoginInfoModel.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 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..d9962de --- /dev/null +++ b/DevApp/Gs.DevApp/Entity/LoginInfoModel.cs @@ -0,0 +1,36 @@ +锘縩amespace Gs.DevApp.Entity +{ + public class LoginInfoModel + { + private static LoginInfoModel _CurrentUser; + + //鐧诲綍缁勭粐缂栧彿 + + //鐧诲綍鏃堕棿 + + /// <summary> + /// 鐧诲綍鐢ㄦ埛鐨刧uid + /// </summary> + public string LoginUserGuid { get; set; } = ""; + + /// <summary> + /// 鐧诲綍鐢ㄦ埛鐨勭粍缁� orgGuid + /// </summary> + public string LoginOrgGuid { get; set; } = ""; + + public string LoginTime { get; set; } + + public string LoginFactory { 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