From 0bcd99d102de6c9b395e0396bf41e5054e7e0351 Mon Sep 17 00:00:00 2001 From: Yunusov_Niyaz Date: Tue, 23 Apr 2024 19:40:45 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C:=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8=20=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VeterinaryView/VeterinaryDataModels/IOwnerModel.cs | 9 +++++++++ VeterinaryView/VeterinaryDataModels/IPetModel.cs | 11 +++++++++++ VeterinaryView/VeterinaryDataModels/IPurchaseModel.cs | 10 ++++++++++ VeterinaryView/VeterinaryDataModels/IVisitModel.cs | 9 +++++++++ 4 files changed, 39 insertions(+) create mode 100644 VeterinaryView/VeterinaryDataModels/IOwnerModel.cs create mode 100644 VeterinaryView/VeterinaryDataModels/IPetModel.cs create mode 100644 VeterinaryView/VeterinaryDataModels/IPurchaseModel.cs create mode 100644 VeterinaryView/VeterinaryDataModels/IVisitModel.cs diff --git a/VeterinaryView/VeterinaryDataModels/IOwnerModel.cs b/VeterinaryView/VeterinaryDataModels/IOwnerModel.cs new file mode 100644 index 0000000..0156074 --- /dev/null +++ b/VeterinaryView/VeterinaryDataModels/IOwnerModel.cs @@ -0,0 +1,9 @@ +namespace VeterinaryDataModels +{ + public interface IOwnerModel : IId + { + string OwnerFIO { get; } + string Login { get; } + string Password { get; } + } +} diff --git a/VeterinaryView/VeterinaryDataModels/IPetModel.cs b/VeterinaryView/VeterinaryDataModels/IPetModel.cs new file mode 100644 index 0000000..3fa9688 --- /dev/null +++ b/VeterinaryView/VeterinaryDataModels/IPetModel.cs @@ -0,0 +1,11 @@ +namespace VeterinaryDataModels +{ + public interface IPetModel : IId + { + int OwnerId { get; } + string PetName { get; } + string PetType { get; } + string PetBreed { get; } + string PetGender { get; } + } +} diff --git a/VeterinaryView/VeterinaryDataModels/IPurchaseModel.cs b/VeterinaryView/VeterinaryDataModels/IPurchaseModel.cs new file mode 100644 index 0000000..e4e4fb8 --- /dev/null +++ b/VeterinaryView/VeterinaryDataModels/IPurchaseModel.cs @@ -0,0 +1,10 @@ +namespace VeterinaryDataModels +{ + public interface IPurchaseModel : IId + { + int OwnerId { get; } + int DrugId { get; } + string Count { get; } + DateTime DatePurchase { get; } + } +} diff --git a/VeterinaryView/VeterinaryDataModels/IVisitModel.cs b/VeterinaryView/VeterinaryDataModels/IVisitModel.cs new file mode 100644 index 0000000..a912ab4 --- /dev/null +++ b/VeterinaryView/VeterinaryDataModels/IVisitModel.cs @@ -0,0 +1,9 @@ +namespace VeterinaryDataModels +{ + public interface IVisitModel : IId + { + int OwnerId { get; } + int DoctorId { get; } + DateTime DateVisit { get; } + } +}