CourseWork_Bank/Bank/BankContracts/BindingModels/AccountBindingModel.cs

29 lines
727 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 AccountBindingModel : IAccountModel
{
public int Id { get; set; }
public int CashierId { get; set; }
public int ClientId { get; set; }
public string AccountNumber { get; set; } = string.Empty;
public double Balance { get; set; }
public DateTime DateOpen { get; set; } = DateTime.Now;
public StatusAccount StatusAccount { get; set; } = StatusAccount.Закрыт;
}
}