namespace DS.WMS.Core.Sys.Dtos;
///
///
///
public class UserViewModel
{
public long Id { get; set; }
///
/// 登陆账号
///
public string UserCode { get; set; }
///
/// 密码
///
public string Password { get; set; }
///
///姓名
///
public string UserName { get; set; }
///
/// 性别 1-男 2-女 3 -未知
///
public int Sex { get; set; } = 1;
///
///拼音码
///
public string PinYinCode { get; set; }
///
///秘钥
///
public string Secret { get; set; }
///
///
///
public string NickName { get; set; }
///
///
///
public string Avatar { get; set; }
///
///
///
public DateTime? Birthday { get; set; }
///
///秘钥
///
public string MD5Password { get; set; }
///
/// 电话
///
public string Phone { get; set; }
///
/// 邮箱
///
public string Email { get; set; }
///
/// 职位
///
public string Duty { get; set; }
///
/// 用户类型 0-普通用户 1-管理员
///
public int UserType { get; set; } = 0;
///
/// 状态
///
public int Status { get; set; }
///
/// 权限身份 0: 无; 1:客户端; 2:市平台:3:省平台
///
public int PermissionIdentity { get; set; }
public DateTime CreateTime { get; set; }
///
/// 用戶角色
///
public long?[] RoleIds { get; set; }
///
/// 用戶机构
///
public long?[] OrgIds { get; set; }
// public string[] RoleIds { get; set; }
///
/// 是否操作
///
public bool IsOperator { get; set; } = false;
///
/// 是否单证
///
public bool IsVouchingClerk { get; set; } = false;
///
/// 是否销售
///
public bool IsSale { get; set; } = false;
///
/// 是否报关员
///
public bool IsCustom { get; set; } = false;
///
/// 是否财务
///
public bool IsFinancialStaff { get; set; } = false;
///
/// 是否客服
///
public bool IsCustomerService { get; set; } = false;
///
/// 是否司机
///
public bool IsDriver { get; set; } = false;
///
/// 是否派车调度人员
///
public bool IsDispatcher { get; set; } = false;
///
/// 默认部门Id
///
public long DeptId { get; set; }
///
/// 默认机构Id
///
public long DefaultOrgId { get; set; }
}