PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicDatabaseImplement/Models/VisitService.cs

25 lines
544 B
C#
Raw Normal View History

2024-04-30 23:14:53 +04:00
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();
}
}