using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 博客授权用户
///
public class AuthAccount : Entity, IUpdatedTime, ISoftDelete, ICreatedTime
{
///
/// 授权唯一标识
///
public string OAuthId { get; set; }
///
/// 授权类型
///
public string Type { get; set; }
///
/// 博主标识
///
public bool IsBlogger { get; set; }
///
/// 姓名(昵称)
///
[SugarColumn(Length = 64)]
public string? Name { get; set; }
///
/// 性别
///
public Gender Gender { get; set; }
///
/// 头像
///
[SugarColumn(Length = 256)]
public string? Avatar { get; set; }
///
/// 邮箱
///
[SugarColumn(Length = 128)]
public string? Email { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedTime { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
}