32 lines
654 B
C#
32 lines
654 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace IM_API.Models;
|
||
|
||
public partial class LoginLog
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备类型(通Devices/DType)
|
||
/// </summary>
|
||
public sbyte Dtype { get; set; }
|
||
|
||
/// <summary>
|
||
/// 登录时间
|
||
/// </summary>
|
||
public DateTime Logined { get; set; }
|
||
|
||
/// <summary>
|
||
/// 登录用户
|
||
/// </summary>
|
||
public int UserId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 登录状态(0:登陆成功,1:未验证,2:已被拒绝)
|
||
/// </summary>
|
||
public sbyte State { get; set; }
|
||
|
||
public virtual User User { get; set; } = null!;
|
||
}
|