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