Финальное добавление SeacrhModel у кассира.

This commit is contained in:
Programmist73 2023-04-01 13:24:30 +04:00
parent 000dc4d8ac
commit f11284cd61
3 changed files with 30 additions and 5 deletions

View File

@ -8,15 +8,17 @@ namespace BankYouBankruptContracts.SearchModels
{ {
public class AccountSearchModel public class AccountSearchModel
{ {
public string AccountNumber { get; set; } = string.Empty; public int? Id { get; set; }
public int CashierId { get; set; } public string? AccountNumber { get; set; } = string.Empty;
public int ClientId { get; set; } public int? CashierId { get; set; }
public string PasswordAccount { get; set; } = string.Empty; public int? ClientId { get; set; }
public double Balance { get; set; } public string? PasswordAccount { get; set; } = string.Empty;
public double? Balance { get; set; }
public DateTime? DateOpen { get; set; } public DateTime? DateOpen { get; set; }
} }

View File

@ -8,6 +8,8 @@ namespace BankYouBankruptContracts.SearchModels
{ {
public class CashWithdrawalSearchModel public class CashWithdrawalSearchModel
{ {
public int? Id { get; set; }
public int? AccountId { get; set; } public int? AccountId { get; set; }
public int? Sum { get; set; } public int? Sum { get; set; }

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.SearchModels
{
public class MoneyTransferSearchModel
{
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; }
}
}