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

14 lines
350 B
C#
Raw Normal View History

2022-08-30 15:42:25 +02:00
namespace TINK.Model.Bikes.BikeInfoNS.DriveNS.EngineNS
{
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
}