Добавьте файлы проекта.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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>();
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class AnimalsFeeding
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int AnimalId { get; set; }
|
||||
|
||||
public DateTime FeedingDateTime { get; set; }
|
||||
|
||||
public int TypeOfFeedingId { get; set; }
|
||||
|
||||
public decimal FeedAmount { get; set; }
|
||||
|
||||
public int UnitOfMassId { get; set; }
|
||||
|
||||
public int EmployeeId { get; set; }
|
||||
|
||||
public string? FeedingDescription { get; set; }
|
||||
|
||||
public virtual Animal Animal { get; set; } = null!;
|
||||
|
||||
public virtual Employee Employee { get; set; } = null!;
|
||||
|
||||
public virtual TypeOfFeeding TypeOfFeeding { get; set; } = null!;
|
||||
|
||||
public virtual UnitOfMass UnitOfMass { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class ClimateZone
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string ClimateZoneName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Enclosure> Enclosures { get; set; } = new List<Enclosure>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class DietaryRegiman
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string DietName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class Employee
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Login { get; set; } = null!;
|
||||
|
||||
public string Password { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<AnimalsFeeding> AnimalsFeedings { get; set; } = new List<AnimalsFeeding>();
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class Enclosure
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int TypeOfEnclosureId { get; set; }
|
||||
|
||||
public int Capacity { get; set; }
|
||||
|
||||
public int MaxCapacity { get; set; }
|
||||
|
||||
public int EnclosureStatusId { get; set; }
|
||||
|
||||
public decimal Square { get; set; }
|
||||
|
||||
public int ClimateZoneId { get; set; }
|
||||
|
||||
public DateOnly LastDateOfTechnicalInsperation { get; set; }
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
|
||||
public virtual ClimateZone ClimateZone { get; set; } = null!;
|
||||
|
||||
public virtual EnclosureStatus EnclosureStatus { get; set; } = null!;
|
||||
|
||||
public virtual TypeOfEnclosure TypeOfEnclosure { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class EnclosureStatus
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string EnclosureStatusName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Enclosure> Enclosures { get; set; } = new List<Enclosure>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class Feature
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string FeaturesName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class Gender
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string GenderName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class HealthStatus
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string HealthStatusName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class Species
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string SpeciesName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Animal> Animals { get; set; } = new List<Animal>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class TypeOfEnclosure
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string TypeOfEnclosureName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Enclosure> Enclosures { get; set; } = new List<Enclosure>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class TypeOfFeeding
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string TypeOfFeedingName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<AnimalsFeeding> AnimalsFeedings { get; set; } = new List<AnimalsFeeding>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace zooManagerPro.Models;
|
||||
|
||||
public partial class UnitOfMass
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string UnitOfMassName { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<AnimalsFeeding> AnimalsFeedings { get; set; } = new List<AnimalsFeeding>();
|
||||
}
|
||||
Reference in New Issue
Block a user