PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicDatabaseImplement/Models/CourseDiagnose.cs

16 lines
411 B
C#

using System.ComponentModel.DataAnnotations;
namespace PolyclinicDatabaseImplement.Models
{
public class CourseDiagnose
{
public int Id { get; set; }
[Required]
public int CourseId { get; set; }
[Required]
public int DiagnoseId { get; set; }
public virtual Course? Course { get; set; }
public virtual Diagnose? Diagnose { get; set; }
}
}