I'm an idiot, they store encoded data for towers, we dont need a separate object unless we want to

This commit is contained in:
2021-11-06 22:18:12 -04:00
parent 7ef9c0d498
commit f23d108fe7
9 changed files with 135 additions and 50 deletions

View File

@@ -11,6 +11,7 @@ namespace TOOHUCardAPI.Data.Models
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public RankType RankType { get; set; }
public string Username { get; set; }
public User User { get; set; }
public string Version { get; set; }
public int Wave { get; set; }

View File

@@ -9,11 +9,7 @@ namespace TOOHUCardAPI.Data.Models
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public Card BaseUnit { get; set; }
public int Star { get; set; }
public int Damage { get; set; }
public int Attack { get; set; }
public int Power { get; set; }
public List<Card> Equipment { get; set; }
public string TowerKey { get; set; }
public string EncodedData { get; set; }
}
}