2024-04-28 18:13:52 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace PolyclinicDatabaseImplement.Models
|
2024-04-28 16:24:52 +04:00
|
|
|
|
{
|
|
|
|
|
public class ProcedureRecipe
|
|
|
|
|
{
|
2024-04-28 18:13:52 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[Required]
|
|
|
|
|
public int ProcedureId { get; set; }
|
|
|
|
|
[Required]
|
|
|
|
|
public int RecipeId { get; set; }
|
2024-04-29 20:49:12 +04:00
|
|
|
|
public virtual Procedure Procedure { get; set; } = new();
|
|
|
|
|
public virtual Recipe Recipe { get; set; } = new();
|
2024-04-28 16:24:52 +04:00
|
|
|
|
}
|
|
|
|
|
}
|