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

33 lines
680 B
C#
Raw Normal View History

2022-11-17 00:17:44 +03:00
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 EnvironmentType EnvironmentType { get; set; }
2022-11-17 00:17:44 +03:00
public DateTime CreatedDate { get; set; }
public DateTime LastChanged { get; set; }
}
}