Seeding updated
This commit is contained in:
16
SVSim.Database/Models/BattlePassLevelEntry.cs
Normal file
16
SVSim.Database/Models/BattlePassLevelEntry.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using SVSim.Database.Common;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// One battle pass level (1-100). RewardData jsonb holds the per-level reward blob from
|
||||
/// /load/index data.battle_pass_level_info[level]. Shape varies per level so we preserve verbatim.
|
||||
/// </summary>
|
||||
public class BattlePassLevelEntry : BaseEntity<int>
|
||||
{
|
||||
public int Level { get => Id; set => Id = value; }
|
||||
|
||||
[Column(TypeName = "jsonb")]
|
||||
public string RewardData { get; set; } = "{}";
|
||||
}
|
||||
Reference in New Issue
Block a user