CourseWork_Borschevskaya_A..../Hospital/HospitalDatabaseImplement/Models/TreatmentProcedure.cs

21 lines
556 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalDatabaseImplement.Models
{
public class TreatmentProcedure
{
public int Id { get; set; }
[Required]
public int ProcedureId { get; set; }
[Required]
public int TreatmentId { get; set; }
public virtual Procedure Procedure { get; set; } = new();
public virtual Treatment Treatment { get; set; } = new();
}
}