CourseWork/University/UniversityDatabaseImplement/Models/PlanOfStudyTeacher.cs
2024-04-24 14:08:27 +04:00

21 lines
560 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniversityDatabaseImplement.Models
{
public class PlanOfStudyTeacher
{
public int Id { get; set; }
[Required]
public int PlanOfStudyId { get; set; }
[Required]
public int TeacherId { get; set; }
public virtual PlanOfStudy PlanOfStudy { get; set; }
public virtual Teacher Teacher { get; set; }
}
}