28 lines
947 B
C#
28 lines
947 B
C#
using PARR.DAL.Models.Base;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PARR.DAL.Models.V1
|
|
{
|
|
[Table("V1_Hosts")]
|
|
public class V1_Host : IBase
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
public DateTimeOffset DateCreated { get; set; }
|
|
public DateTimeOffset? DateModified { get; set; }
|
|
public string? HostName { 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? Responsible { get; set; }
|
|
|
|
|
|
|
|
public ICollection<V1_JobJournal> JobJournals { get; set; } = new HashSet<V1_JobJournal>();
|
|
public ICollection<V1_ApplicationInHost> ApplicationsInHosts { get; set; } = new HashSet<V1_ApplicationInHost>();
|
|
}
|
|
}
|