CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs

34 lines
930 B
C#
Raw Normal View History

using BankYouBankruptDataModels.Enums;
using BankYouBankruptDataModels.Models;
2023-04-01 08:52:03 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-04-01 09:00:47 +04:00
namespace BankYouBankruptContracts.ViewModels
2023-04-01 08:52:03 +04:00
{
public class DebitingViewModel : IDebitingModel
{
public int Id { get; set; }
public int CardId { get; set; }
[DisplayName("Номер карты")]
2023-05-14 19:07:43 +04:00
public string CardNumber { get; set; } = string.Empty;
2023-04-01 08:52:03 +04:00
[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; }
}
2023-04-01 08:52:03 +04:00
}