using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HospitalDatabaseImplement.Models { public class ProcedureMedicine { public int Id { get; set; } [Required] public int ProcedureId { get; set; } [Required] public int MedicineId { get; set; } public virtual Procedure Procedure { get; set; } = new(); public virtual Medicine Medicine { get; set; } = new(); } }