2025-06-20 18:53:29 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
2025-07-18 22:21:16 +08:00
|
|
|
|
namespace DMS.Infrastructure.Entities;
|
2025-06-20 18:53:29 +08:00
|
|
|
|
|
|
|
|
|
|
public class DbUser
|
|
|
|
|
|
{
|
2025-07-21 14:35:17 +08:00
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
2025-06-20 18:53:29 +08:00
|
|
|
|
public int Id { get; set; }
|
2025-07-21 14:35:17 +08:00
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
public string PasswordHash { get; set; }
|
|
|
|
|
|
public string Role { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; }
|
2025-06-20 18:53:29 +08:00
|
|
|
|
}
|