35 lines
783 B
C#
35 lines
783 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 EnvironmentType EnvironmentType { get; set; }
|
|
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
public DateTime LastChanged { get; set; }
|
|
|
|
}
|
|
}
|
|
|