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.
70 lines
1.6 KiB
70 lines
1.6 KiB
using AutoMapper;
|
|
using System;
|
|
using Znyc.Recruitment.Admin.Commons.Dtos;
|
|
using Znyc.Recruitment.Admin.Security.Entitys;
|
|
|
|
namespace Znyc.Recruitment.Admin.Security.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 输入对象模型
|
|
/// </summary>
|
|
[AutoMap(typeof(AdminUserEntity))]
|
|
[Serializable]
|
|
public class AdminUserInputDto : IInputDto<long>
|
|
{
|
|
/// <summary>
|
|
/// 账号
|
|
/// </summary>
|
|
public string Account { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户名
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 头像
|
|
/// </summary>
|
|
public string HeadIcon { get; set; }
|
|
|
|
/// <summary>
|
|
/// 性别
|
|
/// </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; }
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
}
|
|
}
|