CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/CostItemViewModel.cs

23 lines
548 B
C#

using ElectronicsShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.ViewModels {
public class CostItemViewModel : ICostItemModel {
public int ID { get; set; }
public int EmployeeID { get; set; }
[DisplayName("Название статьи затрат")]
public string Name { get; set; } = string.Empty;
[DisplayName("Затраты")]
public double Price { get; set; }
}
}