1
0
Fork 0
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.

63 lines
1.5 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace HighWayIot.Repository.domain
{
/// <summary>
/// 用户信息
///</summary>
[SugarTable("sys_user")]
public class SysUserEntity
{
/// <summary>
/// 备 注:
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 备 注:用户名
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "user_name")]
public string UserName { get; set; } = null;
/// <summary>
/// 备 注:用户角色
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "user_role")]
public string UserRole { get; set; } = null;
/// <summary>
/// 备 注:密码
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "password")]
public string Password { get; set; } = null;
/// <summary>
/// 备 注:上次登录时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "last_login_time")]
public DateTime? LastLoginTime { get; set; }
/// <summary>
/// 备 注:是否已删除(软删除)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "is_deleted")]
public bool? IsDeleted { get; set; } = false;
}
}