PIbd-23_Zargarov_M.A._Cours.../CarCenter/CarCenterContracts/ViewModels/ReceiptViewModel.cs

28 lines
951 B
C#

using CarCenterDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.ViewModels
{
public class ReceiptViewModel : IReceiptModel
{
[DisplayName("Сумма поступления")]
public float Sum { get; set; }
[DisplayName("Дата поступления")]
public DateTime ReceiptDate { get; set; } = DateTime.Now.Date;
public int BossId { get; set; }
[DisplayName("ФИО начальника")]
public string BossName { get; set; } = string.Empty;
public int ConfigurationId { get; set; }
[DisplayName("Название комплектации")]
public string ConfigurationName { get; set; } = string.Empty;
[DisplayName("Номер поступления")]
public int Id { get; set; }
}
}