FuelInCurrentGasStation.cs 556 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace FillingColumn
  7. {
  8. public class FuelInCurrentGasStation
  9. {
  10. public int IDFuelType { get; set; }
  11. public string NameFuelType { get; set; }
  12. public double Price { get; set; }
  13. public int AmountOfFuel { get; set; }
  14. public string NameAndPriceFuel {
  15. get
  16. {
  17. return NameFuelType + " - " + Price.ToString("F2")+" руб.";
  18. }
  19. }
  20. }
  21. }