using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Entity;
///
/// Oauth登录用户表
///
[SugarTable("sys_oauth_user")]
[Description("Oauth登录用户表")]
public class SysOauthUser : DEntityBase
{
///
/// 第三方平台的用户唯一Id
///
[MaxLength(50)]
public string Uuid { get; set; }
///
/// 用户授权的token
///
public string AccessToken { get; set; }
///
/// 昵称
///
[MaxLength(20)]
public string NickName { get; set; }
///
/// 头像
///
public string Avatar { get; set; }
///
/// 性别
///
[MaxLength(5)]
public string Gender { get; set; }
///
/// 电话
///
[MaxLength(20)]
public string Phone { get; set; }
///
/// 邮箱
///
[MaxLength(20)]
public string Email { get; set; }
///
/// 位置
///
[MaxLength(50)]
public string Location { get; set; }
///
/// 用户网址
///
public string Blog { get; set; }
///
/// 所在公司
///
[MaxLength(50)]
public string Company { get; set; }
///
/// 用户来源
///
[MaxLength(20)]
public string Source { get; set; }
///
/// 用户备注(各平台中的用户个人介绍)
///
[MaxLength(100)]
public string Remark { get; set; }
}