using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FAuth.DataBase.Tables
{
///
/// 用户信息
///
[Table("FUser")]
public class FUser
{
///
/// 用户流水编号
///
[Key]
public int Id { get; set; }
///
/// 用户登录名
///
[Required, MaxLength(20)]
public string UserName { get; set; }
///
/// 用户姓名
///
[Required, MaxLength(20)]
public string Name { get; set; }
///
/// 登录密码
///
[Required, MaxLength(20)]
public string Password { get; set; }
///
/// 账号状态
///
public FUserStatusEnum Status { get; set; }
///
/// 上次登录时间
///
public DateTimeOffset? LastLoginDatetime { get; set; }
///
/// 上次登出时间
///
public DateTimeOffset? LastLogoutDatetime { get; set; }
}
}