25 lines
544 B
C#
25 lines
544 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VeterinaryClinicDatabaseImplement.Models
|
|
{
|
|
public class VisitService
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public int VisitId { get; set; }
|
|
|
|
[Required]
|
|
public int ServiceId { get; set; }
|
|
|
|
public virtual Visit Visit { get; set; } = new();
|
|
|
|
public virtual Service Service { get; set; } = new();
|
|
}
|
|
}
|