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.

286 lines
7.2 KiB
C#

12 months ago
using DS.Module.Core.Data;
using SqlSugar;
12 months ago
using System.ComponentModel;
namespace DS.WMS.Core.Sys.Entity;
12 months ago
/// <summary>
11 months ago
/// 用户实体
12 months ago
/// </summary>
[SugarTable("sys_user")]
11 months ago
public class SysUser : UserTenantModel<long>
{
12 months ago
/// <summary>
/// 登陆账号
/// </summary>
[Description("登陆账号")]
public string UserCode { get; set; }
/// <summary>
/// 员工代码
/// </summary>
[Description("员工代码")]
public string UserNumber { get; set; }
12 months ago
/// <summary>
/// 密码
/// </summary>
[Description("密码")]
public string Password { get; set; }
/// <summary>
/// 姓名 中文名称
12 months ago
/// </summary>
[Description("姓名")]
public string UserName { get; set; }
/// <summary>
/// 英文名称
/// </summary>
[Description("英文名称")]
public string UserEnName { get; set; }
12 months ago
/// <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; }
12 months ago
/// <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>
/// 手机
12 months ago
/// </summary>
[Description("手机")]
12 months ago
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; }
12 months ago
/// <summary>
/// 邮箱
/// </summary>
[Description("邮箱")]
public string Email { get; set; }
/// <summary>
/// QQ
/// </summary>
[Description("QQ")]
public string QQ { get; set; }
12 months ago
/// <summary>
/// 职位
/// </summary>
[Description("职位")]
public string Duty { get; set; }
7 months ago
/// <summary>
/// 大简云用户id
/// </summary>
[Description("大简云用户id")]
public string DjyUserId { get; set; }
12 months ago
/// <summary>
11 months ago
/// 用户类型 0-超管 1-管理员 2-普通用户 3- 租户申请
12 months ago
/// </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; }
12 months ago
/// <summary>
9 months ago
/// 默认机构Id
12 months ago
/// </summary>
9 months ago
[Description("默认机构Id")]
public long DefaultOrgId { get; set; }
/// <summary>
/// DeptId
/// </summary>
[Description("默认部门Id")]
public long DeptId { get; set; }
12 months ago
/// <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; }
12 months ago
/// <summary>
/// 是否允许使用本系统
12 months ago
/// </summary>
[Description("是否允许使用本系统")]
public bool IsUseSystem { get; set; }
9 months ago
/// <summary>
/// 是否操作
/// </summary>
[Description("是否操作")]
public bool IsOperator { get; set; } = false;
9 months ago
/// <summary>
/// 是否单证
/// </summary>
[Description("是否单证")]
public bool IsVouchingClerk { get; set; } = false;
9 months ago
/// <summary>
/// 是否销售
/// </summary>
[Description("是否销售")]
public bool IsSale { get; set; } = false;
9 months ago
/// <summary>
/// 是否报关员
/// </summary>
[Description("是否报关员")]
public bool IsCustom { get; set; } = false;
9 months ago
/// <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;
4 months ago
/// <summary>
/// 签名图片
/// </summary>
[Description("签名图片")]
public string SignatureUrl { get; set; }
/// <summary>
/// 邮件签名Html代码
/// </summary>
[SugarColumn(ColumnDescription = "SignatureHtml", Length = 255, IsNullable = true)]
public string? SignatureHtml { get; set; }
/// <summary>
/// 首页地址
/// </summary>
[SugarColumn(ColumnDescription = "首页地址", Length = 255, IsNullable = true)]
public string? HomePath { get; set; }
/// <summary>
/// 身份证号
/// </summary>
[Description("身份证号")]
public string IdCardNo { get; set; }
/// <summary>
/// Desc:业务来源Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源Id", IsNullable = true)]
public long? SourceId { get; set; }
/// <summary>
/// Desc:业务来源明细Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源明细Id", IsNullable = true)]
public long? SourceDetailId { get; set; }
/// <summary>
/// Desc:业务来源代码
/// </summary>
[SugarColumn(ColumnDescription = "业务来源代码", Length = 100, IsNullable = true)]
public string SourceCode { get; set; }
/// <summary>
/// Desc:业务来源名称
/// </summary>
[SugarColumn(ColumnDescription = "业务来源名称", Length = 100, IsNullable = true)]
public string SourceName { get; set; }
/// <summary>
/// Desc:业务来源明细名称
/// </summary>
[SugarColumn(ColumnDescription = "业务来源明细名称", Length = 100, IsNullable = true)]
public string SourceDetailName { get; set; }
/// <summary>
/// 钉钉用户Id
/// </summary>
[Description("钉钉用户Id")]
public string DingUserId { get; set; }
12 months ago
}