vgquotes/Src/VideoGameQuotes.Api/Publisher.cs

16 lines
399 B
C#

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