Merge branch 'main' of http://student.git.athene.tech/shadowik/CourseWork_BankYouBankrupt
This commit is contained in:
commit
bef12f27e5
@ -0,0 +1,24 @@
|
||||
using BankYouBankruptDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptContracts.BindingModels
|
||||
{
|
||||
public class Accound : IAccountModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int CashierId { get; set; }
|
||||
|
||||
public int ClientId { get; set; }
|
||||
|
||||
public string PasswordAccount { get; set; } = string.Empty;
|
||||
|
||||
public double Balance { get; set; }
|
||||
|
||||
public DateTime DateOpen { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
using BankYouBankruptDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptContracts.BindingModels
|
||||
{
|
||||
public class MoneyTransfer : IMoneyTransferModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int Sum { get; set; }
|
||||
|
||||
public int AccountSenderId { get; set; }
|
||||
|
||||
public int AccountPayeeId { get; set; }
|
||||
|
||||
public DateTime DateOperation { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//банковский счёт
|
||||
public interface IAccountModel : IId
|
||||
{
|
||||
int CashierId { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//выдача наличных
|
||||
public interface ICashWithdrawal : IId
|
||||
{
|
||||
int AccountId { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//клиент
|
||||
public interface ICashierModel : IId
|
||||
{
|
||||
string Password { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//пополнение карты
|
||||
public interface ICreditingModel : IId
|
||||
{
|
||||
int CardId { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//снятие денег с карты
|
||||
public interface IDebitingModel : IId
|
||||
{
|
||||
int CardId { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//перевод денег
|
||||
public interface IMoneyTransferModel : IId
|
||||
{
|
||||
int Sum { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//банковская карта
|
||||
public interface ICardModel : IId
|
||||
{
|
||||
int ClientID { get; }
|
||||
|
@ -6,6 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptDataModels.Models
|
||||
{
|
||||
//клиент
|
||||
public interface IСlientModel : IId
|
||||
{
|
||||
string Password { get; }
|
||||
|
Loading…
Reference in New Issue
Block a user