23 lines
515 B
C#
23 lines
515 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace VeterinaryDatabaseImplement.Models
|
|||
|
{
|
|||
|
public class DrugService
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
[Required]
|
|||
|
public int DrugId { get; set; }
|
|||
|
[Required]
|
|||
|
public int ServiceId { get; set; }
|
|||
|
public virtual Service Service { get; set; } = new();
|
|||
|
public virtual Drug Drug { get; set; } = new();
|
|||
|
}
|
|||
|
}
|
|||
|
|