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

16 lines
351 B
C#

using System.ComponentModel.DataAnnotations;
namespace VeterinaryDatabaseImplement.Models
{
public class VisitPet
{
public int Id { get; set; }
[Required]
public int VisitId { get; set; }
[Required]
public int PetId { get; set; }
public virtual Visit Visit { get; set; } = new();
public virtual Pet Pet { get; set; } = new();
}
}