using System; using System.ComponentModel.DataAnnotations; using Portoa.Persistence; namespace VideoGameQuotes.Api { public class Category : Entity { public Category() { Created = DateTime.UtcNow; } public virtual DateTime Created { get; set; } [Required, StringLength(255)] public virtual string Name { get; set; } } }