feat: 初始化后台管理模块与基础业务框架
1. 新增依赖注入生命周期标记接口、基础仓储与管理员仓储实现 2. 新增管理员认证与用户服务接口,补充认证相关DTO 3. 重构实体审计字段命名,统一Created/UpdatedAt规范 4. 新增大量业务实体类与API版本枚举配置 5. 集成Autofac依赖注入、JWT自动刷新与跨域配置 6. 替换原有微信小程序与旧认证服务为后台管理系统架构 7. 完善Swagger文档配置与项目基础部署配置
This commit is contained in:
71
QYZH.InteractiveMagazine.Models/Entity/PointsRecord.cs
Normal file
71
QYZH.InteractiveMagazine.Models/Entity/PointsRecord.cs
Normal file
@ -0,0 +1,71 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.Models.Entity
|
||||
{
|
||||
///<summary>
|
||||
///积分流水记录表
|
||||
///</summary>
|
||||
[SugarTable("PointsRecord")]
|
||||
public partial class PointsRecord : BaseEntity
|
||||
{
|
||||
public PointsRecord(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:用户Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public long UserId {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:变动数值
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int ChangeAmount {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:变动后余额
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int BalanceAfter {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:变动类型: Exchange, FeedPet, SignIn, TaskReward
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string ChangeType {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:关联业务Id
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? RelatedId {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string Description {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:流水分类
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string Type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:状态: Success, Failed, Pending
|
||||
/// Default:Success
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Status {get;set;}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user