Lots of additions and changes
This commit is contained in:
15
TOOHUCardAPI/Data/Models/Card.cs
Normal file
15
TOOHUCardAPI/Data/Models/Card.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user