More additions, lucky card based on day, redo of migrations because i messed up
This commit is contained in:
20
TOOHUCardAPI/Data/Models/RankEntry.cs
Normal file
20
TOOHUCardAPI/Data/Models/RankEntry.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user