24 lines
563 B
C#
24 lines
563 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectGarage.Entities;
|
|
|
|
public class FuelFuelReplenishment
|
|
{
|
|
public int Id { get; private set; }
|
|
public int FuelId { get; private set; }
|
|
public int Amount { get; private set; }
|
|
public static FuelFuelReplenishment CreateElement(int id, int fuelId, int amount)
|
|
{
|
|
return new FuelFuelReplenishment
|
|
{
|
|
Id = id,
|
|
FuelId = fuelId,
|
|
Amount = amount
|
|
};
|
|
}
|
|
}
|