namespace RealEstateTransactions.Entities
{
    public class Services
    {
        public int Id { get; private set; }

        public string Name { get; private set; } = string.Empty;

        public float Price { get; private set; }

        public static Services CreateService(int id, string name, float price)
        {
            return new Services
            {
                Id = id,
                Name = name,
                Price = price
            };
        }
    }
}