// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 // // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 // // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! namespace Admin.NET.Core; /// /// 支付宝授权记录表 /// [SugarTable(null, "支付宝授权记录表")] [SysTable] [SugarIndex("index_{table}_U", nameof(UserId), OrderByType.Asc)] [SugarIndex("index_{table}_T", nameof(OpenId), OrderByType.Asc)] public class SysAlipayAuthInfo : EntityBase { /// /// 商户AppId /// [SugarColumn(ColumnDescription = "商户AppId", Length = 64)] public string? AppId { get; set; } /// /// 开放ID /// [SugarColumn(ColumnDescription = "开放ID", Length = 64)] public string? OpenId { get; set; } /// /// 用户ID /// [SugarColumn(ColumnDescription = "用户ID", Length = 64)] public string? UserId { get; set; } /// /// 性别 /// [SugarColumn(ColumnDescription = "性别", Length = 8)] public GenderEnum Gender { get; set; } /// /// 年龄 /// [SugarColumn(ColumnDescription = "年龄", Length = 16)] public int Age { get; set; } /// /// 手机号 /// [SugarColumn(ColumnDescription = "手机号", Length = 32)] public string Mobile { get; set; } /// /// 显示名称 /// [SugarColumn(ColumnDescription = "显示名称", Length = 128)] public string DisplayName { get; set; } /// /// 昵称 /// [SugarColumn(ColumnDescription = "昵称", Length = 64)] public string NickName { get; set; } /// /// 用户名 /// [SugarColumn(ColumnDescription = "用户名", Length = 64)] public string UserName { get; set; } /// /// 头像 /// [SugarColumn(ColumnDescription = "头像", Length = 512)] public string? Avatar { get; set; } /// /// 邮箱 /// [SugarColumn(ColumnDescription = "邮箱", Length = 128)] public string? Email { get; set; } /// /// 用户民族 /// [SugarColumn(ColumnDescription = "用户民族", Length = 32)] public string? UserNation { get; set; } /// /// 淘宝ID /// [SugarColumn(ColumnDescription = "淘宝ID", Length = 64)] public string? TaobaoId { get; set; } /// /// 电话 /// [SugarColumn(ColumnDescription = "电话", Length = 32)] public string? Phone { get; set; } /// /// 生日 /// [SugarColumn(ColumnDescription = "生日", Length = 32)] public string? PersonBirthday { get; set; } /// /// 职业 /// [SugarColumn(ColumnDescription = "职业", Length = 64)] public string? Profession { get; set; } /// /// 省份 /// [SugarColumn(ColumnDescription = "省份", Length = 64)] public string? Province { get; set; } /// /// 用户状态 /// [SugarColumn(ColumnDescription = "用户状态", Length = 32)] public string? UserStatus { get; set; } /// /// 学历 /// [SugarColumn(ColumnDescription = "学历", Length = 32)] public string? Degree { get; set; } /// /// 用户类型 /// [SugarColumn(ColumnDescription = "用户类型", Length = 32)] public string? UserType { get; set; } /// /// 邮编 /// [SugarColumn(ColumnDescription = "邮编", Length = 16)] public string? Zip { get; set; } /// /// 地址 /// [SugarColumn(ColumnDescription = "地址", Length = 256)] public string? Address { get; set; } }