DTOs for index mostly done, doing DB models
This commit is contained in:
20
SVSim.EmulatedEntrypoint/Models/Dtos/LoginBonusCampaign.cs
Normal file
20
SVSim.EmulatedEntrypoint/Models/Dtos/LoginBonusCampaign.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class LoginBonusCampaign
|
||||
{
|
||||
[Key("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
[Key("campaign_id")]
|
||||
public int CampaignId { get; set; }
|
||||
[Key("img")]
|
||||
public int Image { get; set; }
|
||||
[Key("now_count")]
|
||||
public int NowCount { get; set; }
|
||||
[Key("is_next_reward")]
|
||||
public bool IsNextReward { get; set; }
|
||||
[Key("reward")]
|
||||
public List<LoginBonusReward> Rewards { get; set; } = new List<LoginBonusReward>();
|
||||
}
|
||||
Reference in New Issue
Block a user