sharee.bike-App/SharedBusinessLogic/Model/Bikes/BikeInfoNS/DriveNS/EngineNS/Engine.cs

14 lines
356 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
namespace ShareeBike.Model.Bikes.BikeInfoNS.DriveNS.EngineNS
2022-08-30 15:42:25 +02:00
{
2022-09-06 16:08:19 +02:00
public class Engine : IEngine
{
public Engine(string manufacturer = null)
=> Manufacturer = !string.IsNullOrEmpty(manufacturer) ? manufacturer : null;
2022-08-30 15:42:25 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Manufacturer of the engine.
/// </summary>
public string Manufacturer { get; private set; } = null;
}
2022-08-30 15:42:25 +02:00
}