CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs

34 lines
914 B
C#

using BankYouBankruptDataModels.Enums;
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 DebitingViewModel : IDebitingModel
{
public int Id { get; set; }
public int CardId { get; set; }
[DisplayName("Номер карты")]
public string? CardNumber { get; set; }
[DisplayName("Сумма операции")]
public int Sum { get; set; }
[DisplayName("Дата открытия заявки")]
public DateTime DateOpen { get; set; } = DateTime.Now;
[DisplayName("Дата закрытия заявки")]
public DateTime DateClose { get; set; }
[DisplayName("Статус заявки")]
public StatusEnum Status { get; set; }
}
}