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

22 lines
564 B
C#
Raw Normal View History

2023-04-05 23:24:58 +04:00
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 IllnessSymptoms
{
public int Id { get; set; }
[Required]
public int IllnessId { get; set; }
[Required]
public int SymptomsId { get; set; }
[Required]
public virtual Illness Illness { get; set; } = new();
public virtual Symptoms Symptoms { get; set; } = new();
}
}