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

        public int Apartment_ID { get; private set; }

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

        public float Cost { get; private set; }

        public static PreSalesServices CreatePreSalesServices(int id, int apartmentId, string name, float cost)
        {
            return new PreSalesServices
            {
                Id = id,
                Apartment_ID = apartmentId,
                Name = name,
                Cost = cost
            };
        }
    }
}