36 lines
914 B
C#
36 lines
914 B
C#
using PARR.DAL.Models.Base;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PARR.DAL.Models
|
|
{
|
|
[Table("Hosts")]
|
|
public class Host : IBase
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
|
|
public DateTimeOffset DateCreated { get; set; }
|
|
|
|
public DateTimeOffset? DateModified { get; set; }
|
|
|
|
public string Ek { get; set; }
|
|
|
|
public required string IP { get; set; }
|
|
|
|
//public string? RegionalEK { get; set; }
|
|
//public string? LinkEK { get; set; }
|
|
|
|
public string? Status { get; set; }
|
|
|
|
public string? WorkGroup { get; set; }
|
|
|
|
public string? ResponseArea { get; set; }
|
|
|
|
|
|
public ICollection<ApplicationInHost> ApplicationsInHosts { get; set; } = new HashSet<ApplicationInHost>();
|
|
|
|
public ICollection<Host> Hosts { get; set; } = new HashSet<Host>();
|
|
}
|
|
}
|