1. 新增用户状态枚举UserStatusEnum,统一用户状态定义 2. 重构用户体系:合并WxUser与User实体为Users实体,统一用户管理 3. 新增微信小程序认证相关服务与控制器,实现一键登录功能 4. 新增商品管理完整服务与控制器,修复商品表字段映射问题 5. 删除冗余的WxUser相关服务与控制器代码 6. 新增Newtonsoft.Json依赖用于微信接口响应解析 7. 清理无用的文件夹引用配置
72 lines
1.8 KiB
C#
72 lines
1.8 KiB
C#
using SqlSugar;
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
{
|
|
///<summary>
|
|
///用户表
|
|
///</summary>
|
|
[SugarTable("Users")]
|
|
public partial class Users : SqlSugarBaseEntity
|
|
{
|
|
|
|
/// <summary>
|
|
/// Desc:昵称
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// Desc:当前成长值
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int GrowthPoints { get; set; }
|
|
/// <summary>
|
|
/// Desc:头像地址
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string AvatarUrl { get; set; }
|
|
/// <summary>
|
|
/// Desc:积分余额
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int Points { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:用户类型: Normal, VIP
|
|
/// Default:Normal
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:状态: Active, Disabled
|
|
/// Default:Active
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
/// <summary>
|
|
/// Desc:微信OpenId
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string OpenId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:微信UnionId
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string UnionId { get; set; }
|
|
/// <summary>
|
|
/// Desc:手机号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string Phone { get; set; }
|
|
|
|
}
|
|
}
|