src/EasyFrameWork/Modules/User/Models/UserEntity.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/* http://www.zkea.net/ Copyright 2016 ZKEASOFT http://www.zkea.net/licenses */
using System;
using System.Collections.Generic;
using Easy.MetaData;
using Easy.Models;
using Easy.Constant;
using Easy.Modules.Role;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Security.Principal;
using Easy.RepositoryPattern;
namespace Easy.Modules.User.Models
{
[DataTable("Users")]
public class UserEntity : HumanBase, IUser, IIdentity
{
[Key]
public string UserID { get; set; }
/// <summary>
/// 密码
/// </summary>
public string PassWord { get; set; }
[NotMapped]
public string PassWordNew { get; set; }
/// <summary>
/// 时间戳
/// </summary>
public long Timestamp { get; set; }
/// <summary>
/// 登陆IP
/// </summary>
public string LoginIP { get; set; }
public string PhotoUrl { get; set; }
public int? UserTypeCD { get; set; }
/// <summary>
/// 最后登陆时间
/// </summary>
public DateTime? LastLoginDate { get; set; }
public string UserName { get; set; }
public string ApiLoginToken { get; set; }
[NotMapped]
public virtual List<UserRoleRelation> Roles { get; set; }
[NotMapped]
public override string Title
{
get;set;
}
[NotMapped]
public string AuthenticationType { get; set; }
[NotMapped]
public bool IsAuthenticated { get; set; }
[NotMapped]
public string Name { get { return UserID; } }
public string ResetToken { get; set; }
public DateTime? ResetTokenDate { get; set; }
}
后面还有 38 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。