using System.ComponentModel.DataAnnotations; namespace VideoGameQuotes.Web.Models { public class EditPublisherModel { [Required(ErrorMessage = "Publishers must have a name, douchebag")] public string PublisherName { get; set; } public string PublisherWebsite { get; set; } public int PublisherId { get; set; } } }