2011-02-09 00:05:32 +00:00
|
|
|
|
using System;
|
2011-02-12 23:53:43 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2011-02-09 00:05:32 +00:00
|
|
|
|
using Portoa.Persistence;
|
|
|
|
|
|
|
|
|
|
namespace VideoGameQuotes.Api {
|
|
|
|
|
public class Publisher : Entity<Publisher, int> {
|
2011-02-09 03:41:35 +00:00
|
|
|
|
public Publisher() {
|
|
|
|
|
Created = DateTime.UtcNow;
|
|
|
|
|
}
|
|
|
|
|
|
2011-02-12 23:53:43 +00:00
|
|
|
|
[Required]
|
2011-02-09 00:05:32 +00:00
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
public virtual string Website { get; set; }
|
|
|
|
|
public virtual DateTime Created { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|