Files
parr_api/PARR.DAL/Models/Host.cs

28 lines
926 B
C#
Raw Normal View History

2023-05-19 15:15:52 +10:00
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? HostName { get; set; }
2023-05-19 15:15:52 +10:00
public required string IP { get; set; }
2023-06-01 12:30:38 +10:00
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; }
2023-05-19 15:15:52 +10:00
public ICollection<JobJournal> JobJournals { get; set; } = new HashSet<JobJournal>();
2023-06-13 13:57:55 +10:00
public ICollection<ApplicationInHost> ApplicationsInHosts { get; set; } = new HashSet<ApplicationInHost>();
2023-05-19 15:15:52 +10:00
}
}