using QYZH.InteractiveMagazine.Models.Enum;
namespace QYZH.InteractiveMagazine.Models.Dto.CheckIn;
///
/// 签到配置创建/更新输入
///
public class CheckInConfigInput
{
///
/// 连续签到天数
///
public int DayNumber { get; set; }
///
/// 奖励积分数
///
public int RewardPoints { get; set; }
///
/// 额外奖励积分
///
public int BonusPoints { get; set; }
///
/// 配置类型: Daily, Streak
///
public CheckInConfigTypeEnum Type { get; set; } = CheckInConfigTypeEnum.Daily;
}
///
/// 签到配置输出
///
public class CheckInConfigOutput
{
///
/// 主键ID
///
public long Id { get; set; }
///
/// 连续签到天数
///
public int DayNumber { get; set; }
///
/// 奖励积分数
///
public int RewardPoints { get; set; }
///
/// 额外奖励积分
///
public int BonusPoints { get; set; }
///
/// 配置类型: Daily, Streak
///
public CheckInConfigTypeEnum Type { get; set; }
///
/// 状态
///
public int Status { get; set; }
///
/// 创建人
///
public string? CreatedBy { get; set; }
///
/// 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 更新人
///
public string? UpdatedBy { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedAt { get; set; }
}
///
/// 签到配置分页查询输入
///
public class CheckInConfigQueryInput : PageQueryModel
{
///
/// 配置类型筛选: Daily, Streak
///
public CheckInConfigTypeEnum? Type { get; set; }
}