PIbd-32_Bondarenko_M.S._COP_16/WinForm/Contracts/BindingModels/ProviderBindingModel.cs

27 lines
620 B
C#
Raw Normal View History

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class ProviderBindingModel : IProviderModel
{
public string Name { get; set; }
public string Type { get; set; }
public string Furniture { get; set; }
public DateTime? SupplyDate { get; set; }
public int Id { get; set; }
public ProviderBindingModel() { }
public ProviderBindingModel(IProviderModel provider)
{
Id = provider.Id;
}
}
}