PIbd-32_Bondarenko_M.S._COP_16/WinForm/Contracts/BindingModels/ProviderBindingModel.cs
2023-11-15 01:14:11 +04:00

32 lines
706 B
C#

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;
}
public ProviderBindingModel(int id)
{
Id = id;
}
}
}