40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace zooManagerPro.Models;
|
|
|
|
public partial class Animal
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string AnimalName { get; set; } = null!;
|
|
|
|
public int SpeciesId { get; set; }
|
|
|
|
public int GenderId { get; set; }
|
|
|
|
public DateOnly DateOfBirth { get; set; }
|
|
|
|
public int DietaryRegimenId { get; set; }
|
|
|
|
public int HealthStatusId { get; set; }
|
|
|
|
public DateOnly LastDayOfVeterinaryExamination { get; set; }
|
|
|
|
public int EnclosureId { get; set; }
|
|
|
|
public virtual ICollection<AnimalsFeeding> AnimalsFeedings { get; set; } = new List<AnimalsFeeding>();
|
|
|
|
public virtual DietaryRegiman DietaryRegimen { get; set; } = null!;
|
|
|
|
public virtual Enclosure Enclosure { get; set; } = null!;
|
|
|
|
public virtual Gender Gender { get; set; } = null!;
|
|
|
|
public virtual HealthStatus HealthStatus { get; set; } = null!;
|
|
|
|
public virtual Species Species { get; set; } = null!;
|
|
|
|
public virtual ICollection<Feature> Features { get; set; } = new List<Feature>();
|
|
}
|