37 lines
937 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using BankDataModels.Enums;
using BankDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.ViewModels
{
public class CardViewModel : ICardModel
{
public int Id { get; set; }
public int ClientId { get; set; }
public int AccountId { get; set; }
// Номер банковской карты
[DisplayName("Номер карты")]
public string Number { get; set; } = string.Empty;
[DisplayName("Баланс карты")]
public double Balance { get; set; }
[DisplayName("Срок действия")]
public DateTime Period { get; set; } = DateTime.Now;
[DisplayName("Статус карты")]
public StatusCard StatusCard { get; set; } = StatusCard.Закрыта;
[DisplayName("Фамилия клиента")]
public string? ClientSurname { get; set; }
}
}