123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace NEIntelligentControl2.Models.User
- {
- /// <summary>
- /// 用户信息
- /// </summary>
- public class UserInfo
- {
- /// <summary>
- /// 用户ID
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 用户登录名称
- /// </summary>
- public string UserName { get; set; }
- /// <summary>
- /// 用户权限
- /// </summary>
- public UserLevel Level { get; set; } = UserLevel.Normal;
- /// <summary>
- /// 用户名称(姓名)
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 用户电话
- /// </summary>
- public string Telephone { get; set; }
- /// <summary>
- /// 凭据
- /// </summary>
- public string Token { get; set; }
- /// <summary>
- /// 用户密码
- /// </summary>
- public string Password { get; set; }
- /// <summary>
- /// 密码是否安全(必须包含 大小写、数字、特殊字符 中的3种)
- /// </summary>
- public bool IsPasswordSecurity { get; set; }
- /// <summary>
- /// 用户指纹1
- /// </summary>
- public string Finger1 { get; set; }
- /// <summary>
- /// 用户指纹2
- /// </summary>
- public string Finger2 { get; set; }
- /// <summary>
- /// 用户指纹3
- /// </summary>
- public string Finger3 { get; set; }
- /// <summary>
- /// 用户指纹4
- /// </summary>
- public string Finger4 { get; set; }
- /// <summary>
- /// 用户指纹5
- /// </summary>
- public string Finger5 { get; set; }
- /// <summary>
- /// 用户指纹6
- /// </summary>
- public string Finger6 { get; set; }
- /// <summary>
- /// 用户指纹7
- /// </summary>
- public string Finger7 { get; set; }
- /// <summary>
- /// 用户指纹8
- /// </summary>
- public string Finger8 { get; set; }
- /// <summary>
- /// 用户指纹9
- /// </summary>
- public string Finger9 { get; set; }
- /// <summary>
- /// 用户指纹10
- /// </summary>
- public string Finger10 { get; set; }
- }
- /// <summary>
- /// 用户权限
- /// </summary>
- public enum UserLevel
- {
- /// <summary>
- /// 管理员用户
- /// </summary>
- Administrator = 1,
- /// <summary>
- /// 常规用户
- /// </summary>
- Normal = 2
- }
- }
|