2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///签到记录表
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("CheckInRecord")]
|
2026-06-02 14:10:43 +08:00
|
|
|
public partial class CheckInRecord : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
|
|
|
|
public CheckInRecord(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2026-06-02 14:10:43 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:签到日期
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CheckInDate {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:本次签到获得积分
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PointsAwarded {get;set;}
|
|
|
|
|
|
2026-06-04 15:54:30 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:本次签到获得成长值(喂养宠物)
|
|
|
|
|
/// Default:0
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int GrowthPointsAwarded {get;set;}
|
|
|
|
|
|
2026-06-01 17:59:23 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:连续签到天数
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ConsecutiveDays {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:签到类型: Normal, MakeUp
|
|
|
|
|
/// Default:Normal
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public CheckInRecordTypeEnum Type { get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
}
|
|
|
|
|
}
|