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.
LOL/Sources/EFLol/ChampionEntity.cs

24 lines
724 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; }
//private HashSet<Skill> skills = new HashSet<Skill>();
public ReadOnlyCollection<SkinEntity> Skins { get; set; }
}
}