2024-04-13 01:58:54 +04:00
|
|
|
|
using LawFirmDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace LawFirmContracts.ViewModels
|
|
|
|
|
{
|
2024-05-10 23:48:48 +04:00
|
|
|
|
public class DocumentViewModel : IDocumentModel
|
2024-04-13 01:58:54 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-05-10 23:48:48 +04:00
|
|
|
|
[DisplayName("Название пакета документов")]
|
|
|
|
|
public string DocumentName { get; set; } = string.Empty;
|
2024-04-13 01:58:54 +04:00
|
|
|
|
[DisplayName("Цена")]
|
|
|
|
|
public double Price { get; set; }
|
2024-05-10 23:48:48 +04:00
|
|
|
|
public Dictionary<int, (IComponentModel, int)> DocumentComponents
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2024-04-13 01:58:54 +04:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|