CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/ViewModels/MoneyTransferViewModel.cs

40 lines
1.1 KiB
C#
Raw Normal View History

using BankYouBankruptDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.ViewModels
{
public class MoneyTransferViewModel : IMoneyTransferModel
{
public int Id { get; set; }
[DisplayName("Сумма перевода")]
public int Sum { get; set; }
public int? AccountSenderId { get; set; }
[DisplayName("Номер счёта отп.")]
public string AccountSenderNumber { get; set; } = string.Empty;
public int AccountPayeeId { get; set; }
[DisplayName("Номер счёта получ.")]
public string AccountPayeeNumber { get; set; } = string.Empty;
[DisplayName("Дата операции")]
public DateTime DateOperation { get; set; } = DateTime.Now;
[DisplayName("Номер операции на пополнение")]
public int? CreditingId { get; set; }
public int CashierId { get; set; }
[DisplayName("Фамилия кассира")]
public string CashierSurname { get; set; } = string.Empty;
}
}