18 lines
414 B
C#
18 lines
414 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace PolyclinicDatabaseImplement.Models
|
|
{
|
|
public class ProcedureRecipe
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public int ProcedureId { get; set; }
|
|
|
|
[Required]
|
|
public int RecipeId { get; set; }
|
|
public virtual Procedure Procedure { get; set; }
|
|
public virtual Recipe Recipe { get; set; }
|
|
}
|
|
}
|