CodeLiturgy.Dashboard/CodeLiturgy.Views/Application/Sites/Site.cs

28 lines
710 B
C#

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