2023-09-28 14:28:10 +10:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
[Table("ResponseAreas")]
|
|
|
|
|
|
public class ResponseArea
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public ICollection<Host> Hosts { get; set; } = new HashSet<Host>();
|
2024-06-18 14:28:38 +10:00
|
|
|
|
|
|
|
|
|
|
public ICollection<WorkGroup> WorkGroups { get; set; } = new HashSet<WorkGroup>();
|
2023-09-28 14:28:10 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|