16 lines
406 B
C#
16 lines
406 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace PolyclinicDatabaseImplement.Models
|
|
{
|
|
public class SymptomRecipe
|
|
{
|
|
public int Id { get; set; }
|
|
[Required]
|
|
public int SymptomId { get; set; }
|
|
[Required]
|
|
public int RecipeId { get; set; }
|
|
public virtual Symptom? Symptom { get; set; }
|
|
public virtual Recipe? Recipe { get; set; }
|
|
}
|
|
}
|