1. 为所有枚举添加Description特性用于中文描述 2. 移除实体类中冗余的状态字段注释与定义 3. 将所有枚举状态参数改为int类型转换,统一数据交互格式 4. 新增系统管理枚举查询接口与实现,支持获取所有枚举元数据 5. 调整宠物服务模板状态更新接口参数类型
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using SqlSugar;
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
{
|
|
///<summary>
|
|
///签到配置表
|
|
///</summary>
|
|
[SugarTable("CheckInConfig")]
|
|
public partial class CheckInConfig : SqlSugarBaseEntity
|
|
{
|
|
public CheckInConfig(){
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:连续签到天数
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int DayNumber {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:奖励积分数
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int RewardPoints {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:额外奖励积分
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int BonusPoints {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:配置类型: Daily, Streak
|
|
/// Default:Daily
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public CheckInConfigTypeEnum Type {get;set;}
|
|
}
|
|
}
|