You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.5 KiB
64 lines
1.5 KiB
2 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using Znyc.Recruitment.Admin.Commons.Entitys;
|
||
|
|
||
|
namespace Znyc.Recruitment.Admin.Security.Entitys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户表,数据实体对象
|
||
|
/// </summary>
|
||
|
[Table("sys_adminuser")]
|
||
|
[Serializable]
|
||
|
public class AdminUserEntity : BaseEntity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 账户
|
||
|
/// </summary>
|
||
|
public string Account { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 姓名
|
||
|
/// </summary>
|
||
|
public string UserName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 头像
|
||
|
/// </summary>
|
||
|
public string HeadIcon { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 性别,1=男,0=未知,2=女
|
||
|
/// </summary>
|
||
|
public int Gender { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 手机
|
||
|
/// </summary>
|
||
|
public string MobilePhone { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 组织主键
|
||
|
/// </summary>
|
||
|
public long OrganizeId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 部门主键
|
||
|
/// </summary>
|
||
|
public long DepartmentId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 角色主键
|
||
|
/// </summary>
|
||
|
public long RoleId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 是否管理员
|
||
|
/// </summary>
|
||
|
public bool IsAdministrator { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// </summary>
|
||
|
public int Status { get; set; }
|
||
|
}
|
||
|
}
|