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/apiLOL/DTO/ChampionDTO.cs

22 lines
504 B

namespace apiLOL.DTO
{
public class ChampionDTO
{
public ChampionDTO(string name, string bio, string icon)
{
Name = name;
Bio = bio;
Icon = icon;
}
public string Name { get; set; }
public string Bio { get; set; }
public string Icon { get; set; }
public bool Equals(ChampionDTO other) => other.Name == this.Name && other.Bio == this.Bio && other.Icon == this.Icon;
public string toString() => $"ChampionDTO: {Name} {Bio} {Icon}";
}
}