using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchoolAgainStudyDataBaseImplements.Models { public class TaskMaterial { public int Id { get; set; } [Required] public int TaskId { get; set; } [Required] public int MaterialId { get; set; } public virtual Task Task { get; set; } = new(); public virtual Material Material { get; set; } = new(); } }