25 lines
540 B
C#
25 lines
540 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 VisitAnimal
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
public int VisitId { get; set; }
|
|
|
|
[Required]
|
|
public int AnimalId { get; set; }
|
|
|
|
public virtual Visit Visit { get; set; } = new();
|
|
|
|
public virtual Animal Animal { get; set; } = new();
|
|
}
|
|
}
|