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 JobJournals { get; set; } = new HashSet(); public ICollection ApplicationsInHosts { get; set; } = new HashSet(); } }