2023-04-01 12:55:58 +04:00
|
|
|
|
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 AccountViewModel : IAccountModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int CashierId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Номер счёта")]
|
2023-04-01 12:57:56 +04:00
|
|
|
|
public string AccountNumber { get; set; } = string.Empty;
|
2023-04-01 12:55:58 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Имя")]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Отчество")]
|
|
|
|
|
public string Patronymic { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string PasswordAccount { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Баланс")]
|
|
|
|
|
public double Balance { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Дата открытия")]
|
|
|
|
|
public DateTime DateOpen { get; set; } = DateTime.Now;
|
|
|
|
|
}
|
|
|
|
|
}
|