using ShipyardContracts.Attributes;
using ShipyardDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace ShipyardContracts.ViewModels
{
    public class DetailViewModel:IDetailModel
    {
        [Column(visible: false)]
        public int Id { get; set; }
        [Column(title: "Название детали", width: 150)]
        public string DetailName { get; set; } = string.Empty;
        [Column(title: "Цена", width: 150)]
        public double Cost { get; set; }

    }
}
