You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.0 KiB
C#
102 lines
2.0 KiB
C#
namespace DS.WMS.Core.System.Dtos;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class UserViewModel
|
|
{
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 登陆账号
|
|
/// </summary>
|
|
public string UserCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
|
|
/// <summary>
|
|
///姓名
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 性别 1-男 2-女 3 -未知
|
|
/// </summary>
|
|
public int Sex { get; set; } = 1;
|
|
|
|
/// <summary>
|
|
///拼音码
|
|
/// </summary>
|
|
public string PinYinCode { get; set; }
|
|
|
|
/// <summary>
|
|
///秘钥
|
|
/// </summary>
|
|
public string Secret { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string NickName { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Avatar { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public DateTime? Birthday { get; set; }
|
|
|
|
/// <summary>
|
|
///秘钥
|
|
/// </summary>
|
|
public string MD5Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邮箱
|
|
/// </summary>
|
|
public string Email { get; set; }
|
|
|
|
/// <summary>
|
|
/// 职位
|
|
/// </summary>
|
|
public string Duty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户类型 0-普通用户 1-管理员
|
|
/// </summary>
|
|
public int UserType { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 权限身份 0: 无; 1:客户端; 2:市平台:3:省平台
|
|
/// </summary>
|
|
public int PermissionIdentity { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用戶角色
|
|
/// </summary>
|
|
public long?[] RoleIds { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用戶机构
|
|
/// </summary>
|
|
public long?[] OrgIds { get; set; }
|
|
// public string[] RoleIds { get; set; }
|
|
} |