using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core.DB.Models;
|
using WIDESEAWCS_Core.Tenants;
|
|
namespace WIDESEAWCS_Model.Models
|
{
|
/// <summary>
|
/// 用户信息表
|
/// </summary>
|
//[SugarTable("SysUserInfo")]
|
[SugarTable("Sys_User", "用户表")] //('数据库表名','数据库表备注')
|
public class Sys_User : BaseEntity
|
{
|
/// <summary>
|
/// 用户ID
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "用户ID")]
|
public int User_Id { get; set; }
|
|
/// <summary>
|
///帐号
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "帐号")]
|
public string UserName { get; set; }
|
|
/// <summary>
|
/// 人脸识别组
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "人脸识别组")]
|
public string Log_id { get; set; }
|
|
/// <summary>
|
/// 人脸识别token
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "人脸识别token")]
|
public string Face_token { get; set; }
|
/// <summary>
|
///卡号
|
/// </summary>
|
[SugarColumn( IsNullable = true, ColumnDescription = "卡号")]
|
public int CardNumber { get; set; }
|
|
/// <summary>
|
/// 单位
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "单位")]
|
public string Unit { get; set; }
|
|
/// <summary>
|
/// 班组
|
/// </summary>
|
[SugarColumn(IsNullable = true,Length =50, ColumnDescription = "卡号")]
|
public string Userteam { get; set; }
|
|
/// <summary>
|
/// 角色ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "角色ID")]
|
public int Role_Id { get; set; }
|
|
|
/// <summary>
|
/// 是否是组长
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "是否是组长")]
|
public int IsLeader { get; set; }
|
|
/// <summary>
|
/// 角色名称
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "角色名称")]
|
public string RoleName { get; set; }
|
|
/// <summary>
|
/// 电话
|
/// </summary>
|
[SugarColumn(Length = 11, IsNullable = true, ColumnDescription = "电话")]
|
public string PhoneNo { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "备注")]
|
public string Remark { get; set; }
|
|
/// <summary>
|
/// 密码
|
/// </summary>
|
[SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "密码")]
|
public string UserPwd { get; set; }
|
|
/// <summary>
|
/// 真实姓名
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "真实姓名")]
|
public string UserTrueName { get; set; }
|
|
/// <summary>
|
/// 部门
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "部门")]
|
public string DeptName { get; set; }
|
|
/// <summary>
|
/// 部门ID
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "部门ID")]
|
public int? Dept_Id { get; set; }
|
|
/// <summary>
|
/// 邮箱
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "邮箱")]
|
public string Email { get; set; }
|
|
/// <summary>
|
/// 是否可用
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "是否可用")]
|
public byte Enable { get; set; }
|
|
/// <summary>
|
/// 性别
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "性别")]
|
public int? Gender { get; set; }
|
|
/// <summary>
|
/// 头像
|
/// </summary>
|
[SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "头像")]
|
public string HeadImageUrl { get; set; }
|
|
/// <summary>
|
/// 最后密码修改时间
|
/// </summary>
|
[SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "最后密码修改时间")]
|
public DateTime? LastModifyPwdDate { get; set; }
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
[SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "地址")]
|
public string Address { get; set; }
|
|
/// <summary>
|
/// 审核时间
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "审核时间")]
|
public DateTime? AuditDate { get; set; }
|
|
/// <summary>
|
/// 审核状态
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "审核状态")]
|
public int? AuditStatus { get; set; }
|
|
/// <summary>
|
/// 审核人
|
/// </summary>
|
[SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "审核人")]
|
public string Auditor { get; set; }
|
|
/// <summary>
|
/// 令牌
|
/// </summary>
|
[SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "令牌")]
|
public string Token { get; set; }
|
|
/// <summary>
|
/// 租户ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "租户ID",DefaultValue = "0")]
|
public long TenantId { get; set; }
|
|
}
|
}
|