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.

125 lines
2.6 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///<summary>
///用户信息表实体类
///</summary>
[Table("SysUser")]
[SugarTable( "SysUser", "admin_sqlite")]
public class SysUser
{
/// <summary>
/// 用户ID
/// </summary>
[Key]
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
[Required]
public int UserID { get; set; }
/// <summary>
/// 部门ID
/// </summary>
public int? DeptID { get; set; }
/// <summary>
/// 部门ID
/// </summary>
public string CompanyCode { get; set; }
/// <summary>
/// 用户账号
/// </summary>
public string LoginName { get; set; }
/// <summary>
/// 用户昵称
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 用户类型00系统用户
/// </summary>
public string UserType { get; set; }
/// <summary>
/// 用户邮箱
/// </summary>
public string Email { get; set; }
/// <summary>
/// 手机号码
/// </summary>
public string PhoneNumber { get; set; }
/// <summary>
/// 用户性别0男 1女 2未知
/// </summary>
public int? Sex { get; set; }
/// <summary>
/// 头像地址
/// </summary>
public string Avatar { get; set; }
/// <summary>
/// 密码
/// </summary>
public string Password { get; set; }
/// <summary>
/// 帐号状态0正常 1停用
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 最后登录IP
/// </summary>
public string LoginIP { get; set; }
/// <summary>
/// 最后登录时间
/// </summary>
public DateTime? LoginDate { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 删除标志0代表存在 1代表删除
/// </summary>
public bool? DelFlag { get; set; }
/// <summary>
/// 创建者
/// </summary>
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
public string UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
/// <summary>
/// OpenId
/// </summary>
public string OpenId { get; set; }
}
}