using System; using System.ComponentModel.DataAnnotations.Schema; using MapTo; namespace CodeLiturgy.Data.Capital { [MapFrom(new [] { typeof(SiteUnique), typeof(SiteCreate) })] public partial class Site { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string Id { get; set; } public string Name { get; set; } public string Domain { get; set; } public string Ip { get; set; } public DateTime CreatedDate { get; set; } public DateTime LastChanged { get; set; } } }