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.
League-of-Legends_Project/EntityFramework_LoL/Sources/DTO/ChampionDTO.cs

31 lines
841 B

using Model;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
namespace DTO
{
public class ChampionDTO
{
public string Name { get; set; }
public string Bio { get; set; }
public string Icon { get; set; }
/*public string Icon { get; set; }
*/
}
public class ChampionFullDTO
{
/*[Required(ErrorMessage = "Name is required")]
[StringLength(60, ErrorMessage = "Name can't be longer than 60 characters")]*/
public string Name { get; set; }
public string Bio { get; set; }
public ReadOnlyDictionary<string, int> Characteristics { get; set; }
public ImageDTO LargeImage { get; set; }
public IEnumerable<SkinDto> skins { get; set; }
public IEnumerable<Skill> skills { get; set; }
}
}