vgquotes/Src/VideoGameQuotes.Web/Models/EditPublisherModel.cs

10 lines
336 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace VideoGameQuotes.Web.Models {
2011-02-24 01:46:54 +00:00
public class EditPublisherModel {
[Required(ErrorMessage = "Publishers must have a name, douchebag")]
public string PublisherName { get; set; }
public string PublisherWebsite { get; set; }
2011-02-24 01:46:54 +00:00
public int PublisherId { get; set; }
}
}