19 lines
363 B
C#
19 lines
363 B
C#
using RDBMS_lab4.Models;
|
|
|
|
namespace RDBMS_lab4.ViewModels;
|
|
|
|
public class BuyerViue
|
|
{
|
|
public BuyerViue() { }
|
|
public BuyerViue(Buyer buyer)
|
|
{
|
|
Id = buyer.Id;
|
|
Name = buyer.Name;
|
|
Telephon = buyer.Telephon;
|
|
}
|
|
public int? Id { get; set; }
|
|
|
|
public string? Telephon { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
} |