30 lines
1.2 KiB
C#
30 lines
1.2 KiB
C#
using ZelWiki.Library.Interfaces;
|
|
|
|
namespace ZelWiki.Models.DataModels
|
|
{
|
|
/// <summary>
|
|
/// 将帐户和配置文件的元素组合到一个类中
|
|
/// </summary>
|
|
public partial class AccountProfile : IAccountProfile
|
|
{
|
|
public string? Theme { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public string EmailAddress { get; set; } = string.Empty;
|
|
public string AccountName { get; set; } = string.Empty;
|
|
public string Navigation { get; set; } = string.Empty;
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; } = string.Empty;
|
|
public string TimeZone { get; set; } = string.Empty;
|
|
public string Country { get; set; } = string.Empty;
|
|
public string Language { get; set; } = string.Empty;
|
|
public string? Biography { get; set; } = string.Empty;
|
|
public bool EmailConfirmed { get; set; }
|
|
public byte[]? Avatar { get; set; }
|
|
public DateTime CreatedDate { get; set; }
|
|
public DateTime ModifiedDate { get; set; }
|
|
public int PaginationPageSize { get; set; }
|
|
public int PaginationPageCount { get; set; }
|
|
public string Role { get; set; } = string.Empty;
|
|
}
|
|
}
|