15 lines
424 B
C#
15 lines
424 B
C#
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using VideoGameQuotes.Api;
|
|||
|
|
|||
|
namespace VideoGameQuotes.Web.Models {
|
|||
|
public class CreateGameModel {
|
|||
|
[Required]
|
|||
|
public string Name { get; set; }
|
|||
|
public string Website { get; set; }
|
|||
|
public Region Region { get; set; }
|
|||
|
[Required]
|
|||
|
public List<int> PublisherIds { get; set; }
|
|||
|
public List<int> SystemIds { get; set; }
|
|||
|
}
|
|||
|
}
|