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.

137 lines
2.9 KiB
C#

12 months ago
using DS.Module.Core.Data;
using System.ComponentModel;
namespace DS.WMS.Core.System.Entity;
/// <summary>
///
/// </summary>
[SqlSugar.SugarTable("sys_user")]
public class SysUser : BaseModel<string>
{
/// <summary>
/// 用户GID
/// </summary>
[Description("主键Id")]
public Guid? GID { get; set; }
/// <summary>
/// 登陆账号
/// </summary>
[Description("登陆账号")]
public string UserCode { get; set; }
/// <summary>
/// 密码
/// </summary>
[Description("密码")]
public string Password { get; set; }
/// <summary>
///姓名
/// </summary>
[Description("姓名")]
public string UserName { 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 Email { get; set; }
/// <summary>
/// 职位
/// </summary>
[Description("职位")]
public string Duty { get; set; }
/// <summary>
/// 用户类型 0-普通用户 1-管理员
/// </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 string TenantId { get; set; }
/// <summary>
/// ClientId
/// </summary>
[Description("客户Id")]
public string ClientId { get; set; }
/// <summary>
/// 是否限制客户
/// </summary>
[Description("是否限制客户")]
public bool IsLimitClient { get; set; }
}