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

16 lines
430 B
C#

using System.ComponentModel.DataAnnotations;
namespace PolyclinicDatabaseImplement.Models
{
public class RecipeProcedure
{
public int Id { get; set; }
[Required]
public int ProcedureId { get; set; }
[Required]
public int RecipeId { get; set; }
public virtual Procedure Procedure { get; set; } = new();
public virtual Recipe Recipe { get; set; } = new();
}
}