Rogashova_E.A._CourseWork_H.../HospitalDataBaseImplements/Models/RecipesProcedures.cs

21 lines
551 B
C#
Raw Normal View History

2023-04-05 23:24:58 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2023-04-05 23:24:58 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalDataBaseImplements.Models
{
public class RecipesProcedures
{
public int Id { get; set; }
[Required]
2023-04-07 00:53:55 +04:00
public int RecipesId { get; set; }
[Required]
public int ProcedureId { get; set; }
2023-04-07 00:53:55 +04:00
public virtual Recipes Recipe { get; set; } = new();
public virtual Procedures Procedure { get; set; } = new();
2023-04-05 23:24:58 +04:00
}
}