对所有实体类的SugarTable特性以及菜单初始化SQL中的表名进行统一修改,将原有的零散表名调整为带业务前缀的规范命名,例如将系统管理相关表加上System_前缀、内容相关表加上Content_前缀、商城相关表加上Mall_前缀等,统一数据库表命名规范
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("CheckIn_Config")]
|
|
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;}
|
|
}
|
|
}
|