OL.FrameCore.Application/SysLog/Dto/GetUserLoginLogListResponse.cs

(完整代码) 923B

using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application.SysLog.Dto
{
    public class GetUserLoginLogListResponse
    {
        public int Id { get; set; }
        public string UserName { get; set; }
        public int UserId { get; set; }
        public string IP { get; set; }
        public string UserAgent { get; set; }
        public DateTime LoginTime { get; set; }
        //public string LoginTimeText { get { return LoginTime.ToString("yyyy-MM-dd HH:mm:ss"); } }
        public int LoginStatus { get; set; }
        public string LoginStatusText
        {
            get
            {
                switch (LoginStatus)
                {
                    case 1:
                        return "成功";
                    case 2:
                        return "失败";
                }
                return "未知";
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。