ISEbd-21_Tukaeva_A_A_School/School/SchoolDatabaseImplements/Models/CircleLesson.cs

26 lines
649 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.ConstrainedExecution;
using System.Text;
using System.Threading.Tasks;
namespace SchoolDatabaseImplement.Models
{
public class CircleLesson
{
public int Id { get; set; }
[Required]
public int CircleId { get; set; }
[Required]
public int LessonId { get; set; }
[Required]
public int Count { get; set; }
public virtual Lesson Lesson { get; set; } = new();
public virtual Circle Circle { get; set; } = new();
}
}