2022-11-17 00:17:44 +03:00
|
|
|
using System;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using MapTo;
|
|
|
|
|
2022-11-18 01:39:36 +03:00
|
|
|
namespace CodeLiturgy.Data.Application
|
2022-11-17 00:17:44 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
[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; }
|
2022-11-17 01:17:37 +03:00
|
|
|
|
|
|
|
public EnvironmentType EnvironmentType { get; set; }
|
2022-11-17 00:17:44 +03:00
|
|
|
|
|
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
|
|
|
|
public DateTime LastChanged { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|