You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
802 B
28 lines
802 B
using System.Collections.ObjectModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace EFLol
|
|
{
|
|
public class ChampionEntity
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[MaxLength(30, ErrorMessage = "Name cannot be longer than 30 characters.")]
|
|
public string Name { get; set; }
|
|
|
|
[MaxLength(256, ErrorMessage = "Bio cannot be longer than 256 characters.")]
|
|
public string Bio { get; set; }
|
|
|
|
//public ChampionClass Class { get; set; }
|
|
//public string Icon { get; set; }
|
|
//public LargeImage Image { get; set; }
|
|
//public ReadOnlyDictionary<string, int> Characteristics { get; private set; }
|
|
|
|
|
|
|
|
public HashSet<SkillEntity> skills = new HashSet<SkillEntity>();
|
|
public Collection<SkinEntity> Skins { get; set; }
|
|
public Collection<RunePageEntity> ListRunePages { get; set; }
|
|
}
|
|
}
|