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