feat(bp): add BattlePassSeasonEntry + BattlePassRewardEntry + BattlePassTrack enum
This commit is contained in:
20
SVSim.Database/Models/BattlePassSeasonEntry.cs
Normal file
20
SVSim.Database/Models/BattlePassSeasonEntry.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using SVSim.Database.Common;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// One battle pass season. Active season is resolved by time-window
|
||||
/// (StartDate <= now < EndDate). Rewards are loaded via Rewards collection.
|
||||
/// </summary>
|
||||
public class BattlePassSeasonEntry : BaseEntity<int>
|
||||
{
|
||||
public string Name { get; set; } = "";
|
||||
public int MaxLevel { get; set; }
|
||||
public DateTimeOffset StartDate { get; set; }
|
||||
public DateTimeOffset EndDate { get; set; }
|
||||
public bool CanPurchase { get; set; }
|
||||
public int PriceCrystal { get; set; }
|
||||
public string Description { get; set; } = "";
|
||||
|
||||
public List<BattlePassRewardEntry> Rewards { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user