20 lines
541 B
C#
20 lines
541 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PARR.DAL.Models
|
|
{
|
|
[Table("EkStatuses")]
|
|
public class EkStatus
|
|
{
|
|
[Key]
|
|
public int Code { get; set; }
|
|
|
|
[Required]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public ICollection<Host> Hosts { get; set; } = new HashSet<Host>();
|
|
|
|
//public ICollection<JobAutoControlInEkStatus> JobAutoControlInEkStatuses { get; set; } = new HashSet<JobAutoControlInEkStatus>();
|
|
}
|
|
}
|