SysUserOnline.cs 1.24 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 在线用户记录
	/// </summary>
    [Table("sys_user_online")]
    public partial class SysUserOnline : SysEntity
    {
        public SysUserOnline()
        {
        }

        /// <summary>
	    /// 用户会话id
	    /// </summary>
        [Column("token")]
        public string Token { get; set; }
        /// <summary>
	    /// 登录账号
	    /// </summary>
        [Column("account")]
        public string Account { get; set; }
        /// <summary>
	    /// 部门名称
	    /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
	    /// 登录IP地址
	    /// </summary>
        [Column("ipaddr")]
        public string Ipaddr { get; set; }
        /// <summary>
	    /// 浏览器
	    /// </summary>
        [Column("browser")]
        public string Browser { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("loginTime")]
        public System.DateTime? LoginTime { get; set; }
        /// <summary>
	    /// 最后访问
	    /// </summary>
        [Column("lastAccessTime")]
        public System.DateTime? LastAccessTime { get; set; }
    }
}