Lots of additions and changes

This commit is contained in:
2021-10-30 11:20:36 -04:00
parent 3051b63e44
commit 9cf11e982f
29 changed files with 557 additions and 46 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
using TOOHUCardAPI.Data.Enums;
namespace TOOHUCardAPI.Data.Models
{
public class Card
{
[Key]
public string ItemCode { get; set; }
public string CardName { get; set; }
public Rarity Rarity { get; set; }
public bool HasVoice { get; set; }
public bool HasPortrait { get; set; }
}
}

View File

@@ -13,10 +13,12 @@ namespace TOOHUCardAPI.Data.Models
public int PetLevel { get; set; }
public DateTime EndTime { get; set; }
public int KeyTotal { get; set; }
public int KeyUseCount { get; set; }
public DateTime KeySaveDate { get; set; }
public bool Vip { get; set; }
public bool Ban { get; set; }
public int Point { get; set; }
public DateTime LastFirstWin { get; set; }
public string LevelList { get; set; }
public List<EncodedCardGroup> EncodedCardGroups { get; set; }
}