using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectItCompany.Entities;

public class Customer
{
    public int Id { get; private set; }
    public string NameCustomer { get; private set; } = string.Empty;
    public string Description { get; private set; } = string.Empty;
    public static Customer CreateEntity(int id, string namecustomer, string description)
    {
        return new Customer
        {
            Id = id,
            NameCustomer = namecustomer ?? string.Empty,
            Description = description
        };
    }
}
