DB added and more

This commit is contained in:
2021-10-28 17:03:15 -04:00
parent b56ca46363
commit 28fbc4598e
20 changed files with 453 additions and 21 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace TOOHUCardAPI.Data.Models
{
public class EncodedCardGroup
{
[Key]
public int Id { get; set; }
public int CardGroupNumber { get; set; }
public string EncodedString { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TOOHUCardAPI.Data.Models
{
public class User
{
[Key]
public string SteamId { get; set; }
public int MaxWave { get; set; }
public int MaxTeamWave { get; set; }
public int PetLevel { get; set; }
public DateTime EndTime { get; set; }
public int KeyTotal { get; set; }
public DateTime KeySaveDate { get; set; }
public bool Vip { get; set; }
public int Point { get; set; }
public string LevelList { get; set; }
public List<EncodedCardGroup> EncodedCardGroups { get; set; }
}
}