39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
using CommonDomain.BaseModel;
|
|||
|
|
|
||
|
|
namespace UserService.Param
|
||
|
|
{
|
||
|
|
/// <summary>签到奖励返回</summary>
|
||
|
|
public class SignRewardResult
|
||
|
|
{
|
||
|
|
/// <summary>本次签到对应第几天(1~7)</summary>
|
||
|
|
public int Day { get; set; } = 0;
|
||
|
|
|
||
|
|
public long Gold { get; set; } = 0;
|
||
|
|
|
||
|
|
public int Diamond { get; set; } = 0;
|
||
|
|
|
||
|
|
public List<BaseProductCount> Product { get; set; } = new List<BaseProductCount>();
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>签到状态返回</summary>
|
||
|
|
public class SignStatusResult
|
||
|
|
{
|
||
|
|
public bool IsOpen { get; set; } = false;
|
||
|
|
|
||
|
|
/// <summary>勾选=不可中断(漏签不回退);未勾选=可中断(漏签重置)</summary>
|
||
|
|
public bool CannotInterrupt { get; set; } = false;
|
||
|
|
|
||
|
|
/// <summary>当前周期已完成到第几天(0~7)</summary>
|
||
|
|
public int SignDay { get; set; } = 0;
|
||
|
|
|
||
|
|
/// <summary>今天签到对应的天数(已签则为其已签天数;未签则为下一次目标天数)</summary>
|
||
|
|
public int TodayDay { get; set; } = 0;
|
||
|
|
|
||
|
|
/// <summary>今天是否已签到</summary>
|
||
|
|
public bool IsTodaySigned { get; set; } = false;
|
||
|
|
|
||
|
|
/// <summary>7 天奖励配置</summary>
|
||
|
|
public List<SignConfig> Days { get; set; } = new List<SignConfig>();
|
||
|
|
}
|
||
|
|
}
|