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