using System.ComponentModel;
namespace DS.WMS.Core.Sys.Dtos;
///
///
///
public class UserViewModel
{
public long Id { get; set; }
///
/// 登陆账号
///
public string UserCode { get; set; }
///
/// 员工代码
///
[Description("员工代码")]
public string UserNumber { 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; }
///
/// 电话
///
public string Tel { get; set; }
///
/// 办公电话
///
public string OfficePhone { get; set; }
///
/// 传真
///
public string Fax { get; set; }
///
/// 财务软件代码
///
public string FinanceSoftCode { get; set; }
///
/// 备注
///
public string Note { get; set; } = "";
///
/// 英文名称
///
[Description("英文名称")]
public string UserEnName { get; set; }
///
/// 用戶航线
///
public long?[] LaneIds { get; set; }
///
/// 业务来源Id
///
public long SourceId { get; set; }
///
/// 业务来源名称
///
public string SourceName { get; set; } = "";
///
/// 签名图片
///
public string SignatureUrl { get; set; } = "";
///
/// 邮件签名
///
public string SignatureHtml { get; set; } = "";
///
/// 是否航线操作人员
///
public bool IsLaner { get; set; } = false;
///
/// 默认机构
///
public string DefaultOrgName { get; set; } = "";
///
/// 默认部门
///
public string DeptName { get; set; } = "";
///
/// 首页地址
///
public string? HomePath { get; set; }
}