16 lines
414 B
C#
16 lines
414 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace PolyclinicDatabaseImplement.Models
|
|
{
|
|
public class SymptomDiagnose
|
|
{
|
|
public int Id { get; set; }
|
|
[Required]
|
|
public int SymptomId { get; set; }
|
|
[Required]
|
|
public int DiagnoseId { get; set; }
|
|
public virtual Symptom? Symptom { get; set; }
|
|
public virtual Diagnose? Diagnose { get; set; }
|
|
}
|
|
}
|