BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/Models/User.cs

23 lines
877 B
C#
Raw Normal View History

2023-11-14 01:25:25 +00:00
using BotSharp.Abstraction.Users.Enums;
2023-06-11 23:46:02 +00:00
namespace BotSharp.Abstraction.Users.Models;
public class User
{
public string Id { get; set; } = string.Empty;
2024-01-05 03:20:50 +00:00
public string UserName { get; set; } = string.Empty;
2023-06-11 23:46:02 +00:00
public string FirstName { get; set; } = string.Empty;
2024-05-31 03:24:34 +00:00
public string? LastName { get; set; }
public string? Email { get; set; }
public string? Phone { get; set; }
2023-06-11 23:46:02 +00:00
public string Salt { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
2024-01-31 15:15:41 +00:00
public string Source { get; set; } = "internal";
2023-09-07 22:04:34 +00:00
public string? ExternalId { get; set; }
2023-11-14 01:25:25 +00:00
public string Role { get; set; } = UserRole.Client;
2024-05-26 01:34:29 +00:00
public string? VerificationCode { get; set; }
public bool Verified { get; set; }
2023-06-11 23:46:02 +00:00
public DateTime UpdatedTime { get; set; } = DateTime.UtcNow;
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
}