30 lines
761 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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BindingModels
{
// Реализация сущности "Карта"
public class CardBindingModel : ICardModel
{
public int Id { get; set; }
public int ClientId { get; set; }
public int AccountId { get; set; }
// Номер банковской карты
public string Number { get; set; } = string.Empty;
public double Balance { get; set; }
public DateTime Period { get; set; } = DateTime.Now;
public StatusCard StatusCard { get; set; } = StatusCard.Закрыта;
}
}