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

35 lines
783 B
C#
Raw Normal View History

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; }
2022-11-18 03:15:53 +03:00
public SiteEnvironment Environment { get; set; }
public string EnvironmentId { get; set; }
2022-11-17 00:17:44 +03:00
public string Domain { get; set; }
2022-11-18 03:15:53 +03:00
public string UrlAddress { get; set; }
public EnvironmentType EnvironmentType { get; set; }
2022-11-17 00:17:44 +03:00
public DateTime CreatedDate { get; set; }
public DateTime LastChanged { get; set; }
}
}