21 lines
503 B
C#
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();
|
|
}
|
|
}
|