diff --git a/AbazovApp/AccountsDataModels/AccountsDataModels.csproj b/AbazovApp/AccountsDataModels/AccountsDataModels.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/AbazovApp/AccountsDataModels/AccountsDataModels.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/AbazovApp/AccountsDataModels/IId.cs b/AbazovApp/AccountsDataModels/IId.cs new file mode 100644 index 0000000..03a4e56 --- /dev/null +++ b/AbazovApp/AccountsDataModels/IId.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AccountsDataModels +{ + public interface IId + { + int Id { get; } + } +} diff --git a/AbazovApp/AccountsDataModels/Models/IAccountModel.cs b/AbazovApp/AccountsDataModels/Models/IAccountModel.cs new file mode 100644 index 0000000..f1d6ecd --- /dev/null +++ b/AbazovApp/AccountsDataModels/Models/IAccountModel.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AccountsDataModels.Models +{ + public interface IAccountModel : IId + { + string Login { get; } + string Password { get; } + string Email { get; } + } +} diff --git a/AbazovApp/AccountsDataModels/Models/IInterestModel.cs b/AbazovApp/AccountsDataModels/Models/IInterestModel.cs new file mode 100644 index 0000000..b6094ca --- /dev/null +++ b/AbazovApp/AccountsDataModels/Models/IInterestModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AccountsDataModels.Models +{ + public interface IInterestModel : IId + { + string Name { get; } + } +}