|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Sys.Dtos;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class UserViewModel
|
|
|
|
|
{
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 登陆账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 员工代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("员工代码")]
|
|
|
|
|
public string UserNumber { 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; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否操作
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsOperator { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否单证
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsVouchingClerk { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否销售
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsSale { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否报关员
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsCustom { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否财务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsFinancialStaff { get; set; } = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否客服
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsCustomerService { get; set; } = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否司机
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsDriver { get; set; } = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否派车调度人员
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsDispatcher { get; set; } = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 默认部门Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long DeptId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 默认机构Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long DefaultOrgId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Tel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 办公电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OfficePhone { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 传真
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Fax { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 财务软件代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FinanceSoftCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Note { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("英文名称")]
|
|
|
|
|
public string UserEnName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用戶航线
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long?[] LaneIds { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务来源Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long SourceId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务来源名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SourceName { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签名图片
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SignatureUrl { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮件签名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SignatureHtml { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否航线操作人员
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsLaner { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 默认机构
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DefaultOrgName { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 默认部门
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DeptName { get; set; } = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 首页地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? HomePath { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否允许使用本系统
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsUseSystem { get; set; } = false;
|
|
|
|
|
}
|