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

21 lines
478 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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; }
}
}