59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
|
|
using SqlSugar;
|
||
|
|
|
||
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
||
|
|
{
|
||
|
|
///<summary>
|
||
|
|
///签到配置表
|
||
|
|
///</summary>
|
||
|
|
[SugarTable("CheckInConfig")]
|
||
|
|
public partial class CheckInConfig : BaseEntity
|
||
|
|
{
|
||
|
|
public CheckInConfig(){
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:主键
|
||
|
|
/// Default:
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
||
|
|
public new int Id {get;set;}
|
||
|
|
|
||
|
|
/// <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 string Type {get;set;}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Desc:状态: Active, Inactive
|
||
|
|
/// Default:Active
|
||
|
|
/// Nullable:False
|
||
|
|
/// </summary>
|
||
|
|
public string Status {get;set;}
|
||
|
|
}
|
||
|
|
}
|