diff --git a/ComputerStoreDataModels/Models/IConsignmentModel.cs b/ComputerStoreDataModels/Models/IConsignmentModel.cs index 319b232..155f7cb 100644 --- a/ComputerStoreDataModels/Models/IConsignmentModel.cs +++ b/ComputerStoreDataModels/Models/IConsignmentModel.cs @@ -6,7 +6,11 @@ using System.Threading.Tasks; namespace ComputerStoreDataModels.Models { - internal interface IConsignmentModel + public interface IConsignmentModel { + int OrderID { get; } + int ProductID { get; } + double Price { get; } + int Count { get; } } } diff --git a/ComputerStoreDataModels/Models/IOrderModel.cs b/ComputerStoreDataModels/Models/IOrderModel.cs index eaf3ff3..27f8916 100644 --- a/ComputerStoreDataModels/Models/IOrderModel.cs +++ b/ComputerStoreDataModels/Models/IOrderModel.cs @@ -6,7 +6,10 @@ using System.Threading.Tasks; namespace ComputerStoreDataModels.Models { - internal interface IOrderModel + public interface IOrderModel : IID { + double Price { get; } + DateTime Date { get; } + int UserID { get; } } } diff --git a/ComputerStoreDataModels/Models/IRequestModel.cs b/ComputerStoreDataModels/Models/IRequestModel.cs index 8c7a366..edc373b 100644 --- a/ComputerStoreDataModels/Models/IRequestModel.cs +++ b/ComputerStoreDataModels/Models/IRequestModel.cs @@ -6,7 +6,11 @@ using System.Threading.Tasks; namespace ComputerStoreDataModels.Models { - internal class IRequestModel + public interface IRequestModel { + int OrderID { get; } + int PCID { get; } + double Price { get; } + int Count { get; } } } diff --git a/ComputerStoreDataModels/Models/IUserModel.cs b/ComputerStoreDataModels/Models/IUserModel.cs index 4925076..7c038bc 100644 --- a/ComputerStoreDataModels/Models/IUserModel.cs +++ b/ComputerStoreDataModels/Models/IUserModel.cs @@ -6,8 +6,12 @@ using System.Threading.Tasks; namespace ComputerStoreDataModels.Models { - public class IUserModel : IID + public interface IUserModel : IID { - + string Username { get; } + string Password { get; } + string FirstName { get; } + string LastName { get; } + string MiddleName { get; } } }