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

21 lines
544 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalDataBaseImplements.Models
{
public class RecipesSymptoms
{
public int Id { get; set; }
[Required]
public int RecipesId { get; set; }
[Required]
public int SymptomsId { get; set; }
public virtual Recipes Recipe { get; set; } = new();
public virtual Symptoms Symptoms { get; set; } = new();
}
}