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.
236 lines
5.7 KiB
C#
236 lines
5.7 KiB
C#
using DS.Module.Core.Data;
|
|
using SqlSugar;
|
|
using System.ComponentModel;
|
|
|
|
namespace DS.WMS.Core.Sys.Entity;
|
|
|
|
/// <summary>
|
|
/// 用户实体
|
|
/// </summary>
|
|
[SugarTable("sys_user")]
|
|
public class SysUser : UserTenantModel<long>
|
|
{
|
|
/// <summary>
|
|
/// 登陆账号
|
|
/// </summary>
|
|
[Description("登陆账号")]
|
|
public string UserCode { get; set; }
|
|
/// <summary>
|
|
/// 员工代码
|
|
/// </summary>
|
|
[Description("员工代码")]
|
|
public string UserNumber { get; set; }
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
[Description("密码")]
|
|
public string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 姓名 中文名称
|
|
/// </summary>
|
|
[Description("姓名")]
|
|
public string UserName { get; set; }
|
|
/// <summary>
|
|
/// 英文名称
|
|
/// </summary>
|
|
[Description("英文名称")]
|
|
public string UserEnName { get; set; }
|
|
/// <summary>
|
|
/// 性别 1-男 2-女 3 -未知
|
|
/// </summary>
|
|
[Description("性别")]
|
|
public int Sex { get; set; } = 1;
|
|
|
|
/// <summary>
|
|
///拼音码
|
|
/// </summary>
|
|
[Description("拼音码")]
|
|
public string PinYinCode { get; set; }
|
|
|
|
/// <summary>
|
|
///秘钥
|
|
/// </summary>
|
|
[Description("秘钥")]
|
|
public string Secret { get; set; }
|
|
|
|
///// <summary>
|
|
///// 废弃
|
|
///// </summary>
|
|
//[Description("昵称")]
|
|
//public string NickName { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Description("头像")]
|
|
public string Avatar { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Description("生日")]
|
|
public DateTime? Birthday { get; set; }
|
|
|
|
/// <summary>
|
|
///秘钥
|
|
/// </summary>
|
|
[Description("MD5密码")]
|
|
public string MD5Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 手机
|
|
/// </summary>
|
|
[Description("手机")]
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
[Description("电话")]
|
|
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>
|
|
[Description("邮箱")]
|
|
public string Email { get; set; }
|
|
|
|
/// <summary>
|
|
/// 职位
|
|
/// </summary>
|
|
[Description("职位")]
|
|
public string Duty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 大简云用户id
|
|
/// </summary>
|
|
[Description("大简云用户id")]
|
|
public string DjyUserId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 用户类型 0-超管 1-管理员 2-普通用户 3- 租户申请
|
|
/// </summary>
|
|
[Description("用户类型")]
|
|
public int UserType { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[Description("状态")]
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 权限身份 0: 无; 1:客户端; 2:市平台:3:省平台
|
|
/// </summary>
|
|
[Description("权限身份")]
|
|
public int PermissionIdentity { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公司Id
|
|
/// </summary>
|
|
[Description("公司Id")]
|
|
public string CompanyId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 默认机构Id
|
|
/// </summary>
|
|
[Description("默认机构Id")]
|
|
public long DefaultOrgId { get; set; }
|
|
/// <summary>
|
|
/// DeptId
|
|
/// </summary>
|
|
[Description("默认部门Id")]
|
|
public long DeptId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认机构
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "默认机构", Length = 100, IsNullable = true)]
|
|
public string DefaultOrgName { get; set; }
|
|
/// <summary>
|
|
/// 默认部门
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "默认部门", Length = 100, IsNullable = true)]
|
|
public string DeptName { get; set; }
|
|
/// <summary>
|
|
/// 是否限制客户
|
|
/// </summary>
|
|
[Description("是否限制客户")]
|
|
public bool IsLimitClient { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否操作
|
|
/// </summary>
|
|
[Description("是否操作")]
|
|
public bool IsOperator { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 是否单证
|
|
/// </summary>
|
|
[Description("是否单证")]
|
|
public bool IsVouchingClerk { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 是否销售
|
|
/// </summary>
|
|
[Description("是否销售")]
|
|
public bool IsSale { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 是否报关员
|
|
/// </summary>
|
|
[Description("是否报关员")]
|
|
public bool IsCustom { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 是否财务
|
|
/// </summary>
|
|
[Description("是否财务")]
|
|
public bool IsFinancialStaff { get; set; } = false;
|
|
/// <summary>
|
|
/// 是否客服
|
|
/// </summary>
|
|
[Description("是否客服")]
|
|
public bool IsCustomerService { get; set; } = false;
|
|
/// <summary>
|
|
/// 是否司机
|
|
/// </summary>
|
|
[Description("是否司机")]
|
|
public bool IsDriver { get; set; } = false;
|
|
/// <summary>
|
|
/// 是否派车调度人员
|
|
/// </summary>
|
|
[Description("是否派车调度人员")]
|
|
public bool IsDispatcher { get; set; } = false;
|
|
/// <summary>
|
|
/// 是否航线操作人员
|
|
/// </summary>
|
|
[Description("是否航线操作人员")]
|
|
public bool IsLaner { get; set; } = false;
|
|
/// <summary>
|
|
/// 签名图片
|
|
/// </summary>
|
|
[Description("签名图片")]
|
|
public string SignatureUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邮件签名Html代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "SignatureHtml", Length = 255, IsNullable = true)]
|
|
public string? SignatureHtml { get; set; }
|
|
|
|
} |