COP-17/WinFormsProject/Contracts/BindingModels/ProviderBindingModel.cs

32 lines
695 B
C#
Raw Normal View History

2023-11-15 22:51:44 +04:00
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 byte[] Logo { get; set; }
public string Number { get; set; }
public int Id { get; set; }
public ProviderBindingModel() { }
public ProviderBindingModel(IProviderModel provider)
{
Id = provider.Id;
}
2023-12-14 01:22:20 +04:00
public ProviderBindingModel(int id)
{
Id = id;
}
2023-11-15 22:51:44 +04:00
}
}