PIbd-21_Pyatakov_K.M._Secure/Secure/SecureShopDatabaseImplement/Models/SecureFacilities.cs
2023-04-06 14:17:27 +04:00

23 lines
497 B
C#

using System.ComponentModel.DataAnnotations;
namespace SecureShopDatabaseImplement.Models
{
public class SecureFacilities
{
public int Id { get; set; }
[Required]
public int SecureId { get; set; }
[Required]
public int FacilitiesId { get; set; }
[Required]
public int Count { get; set; }
public virtual Facilities Facilities { get; set; } = new();
public virtual Secure Secure { get; set; } = new();
}
}