using ProjectFuel.Entities.Enums; namespace ProjectFuel.Entities; public class Fuel { public int Fuel_ID { get; private set; } public Fuel_Type Fuel_Type { get; private set; } public float Price_Per_Liter { get; private set; } public float Amount { get; private set; } public static Fuel CreateEntity(int fuel_id, Fuel_Type type, float price, float amount) { return new Fuel { Fuel_ID = fuel_id, Fuel_Type = type, Price_Per_Liter = price, Amount = amount }; } }