More additions, lucky card based on day, redo of migrations because i messed up

This commit is contained in:
2021-11-01 14:59:36 -04:00
parent 685f09a889
commit 0b94455b4b
48 changed files with 284 additions and 7404 deletions

View File

@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using TOOHUCardAPI.Data.Enums;
namespace TOOHUCardAPI.Data.Models
{
public class RankEntry
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public RankType RankType { get; set; }
public User User { get; set; }
public string Version { get; set; }
public int Wave { get; set; }
public long Damage { get; set; }
public List<RankTowerEntry> TowersUsed { get; set; }
}
}