PIbd-22_Filippov_D.S._Cours.../VeterinaryDatabaseImplement/Models/ServiceMedication.cs
2024-05-30 07:33:38 +04:00

21 lines
503 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VeterinaryDatabaseImplement.Models
{
public class ServiceMedication
{
public int Id { get; set; }
[Required]
public int ServiceId { get; set; }
[Required]
public int MedicationId { get; set; }
public virtual Medication Medication { get; set; } = new();
public virtual Service Service { get; set; } = new();
}
}