CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs

27 lines
681 B
C#
Raw Normal View History

2023-04-01 08:52:03 +04:00
using BankYouBankruptDataModels.Models;
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 CreditingViewModel : ICreditingModel
{
public int Id { get; set; }
public int CardId { get; set; }
[DisplayName("Номер карты")]
public string? CardNumber { get; set; }
[DisplayName("Сумма операции")]
public int Sum { get; set; }
[DisplayName("Дата операции")]
2023-04-01 16:30:10 +04:00
public DateTime Date { get; set; } = DateTime.Now;
2023-04-01 08:52:03 +04:00
}
}