2026-06-02 14:10:43 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-02 14:10:43 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
2026-06-10 13:47:13 +08:00
|
|
|
///用户表 — 游戏/角色数据,关联 WxUser
|
2026-06-02 14:10:43 +08:00
|
|
|
///</summary>
|
2026-07-08 10:37:03 +08:00
|
|
|
[SugarTable("User_Account")]
|
2026-06-03 16:09:56 +08:00
|
|
|
public partial class Users : SqlSugarBaseEntity
|
2026-06-02 14:10:43 +08:00
|
|
|
{
|
2026-06-10 13:47:13 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:关联微信用户Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long WxUserId { get; set; }
|
2026-06-02 14:10:43 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
/// Desc:昵称
|
2026-06-02 14:10:43 +08:00
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
public string Name { get; set; }
|
2026-06-10 13:47:13 +08:00
|
|
|
|
2026-06-02 14:10:43 +08:00
|
|
|
/// <summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
/// Desc:当前成长值
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:False
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
public int GrowthPoints { get; set; }
|
2026-06-10 13:47:13 +08:00
|
|
|
|
2026-06-02 14:10:43 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:头像地址
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-02 14:10:43 +08:00
|
|
|
public string AvatarUrl { get; set; }
|
2026-06-10 13:47:13 +08:00
|
|
|
|
2026-06-02 14:10:43 +08:00
|
|
|
/// <summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
/// Desc:积分余额
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:False
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-03 16:09:56 +08:00
|
|
|
public int Points { get; set; }
|
2026-06-02 14:10:43 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户类型: Normal, VIP
|
|
|
|
|
/// Default:Normal
|
|
|
|
|
/// Nullable:False
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public UsersTypeEnum Type { get; set; }
|
2026-06-03 16:09:56 +08:00
|
|
|
|
2026-06-03 18:28:45 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否上次在线用户
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:False
|
2026-06-10 13:47:13 +08:00
|
|
|
/// </summary>
|
2026-06-03 18:28:45 +08:00
|
|
|
public bool IsLastOnline { get; set; }
|
2026-07-01 14:50:37 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户作答信息上传地址
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UploadDomain { get; set; } = string.Empty;
|
2026-06-02 14:10:43 +08:00
|
|
|
}
|
|
|
|
|
}
|