using System.ComponentModel.DataAnnotations; namespace SecuritySystemDatabaseImplement.Models { public class ShopSecure { public int Id { get; set; } [Required] public int SecureId { get; set; } [Required] public int ShopId { get; set; } [Required] public int Count { get; set; } public virtual Shop Shop { get; set; } = new(); public virtual Secure Secure { get; set; } = new(); } }