public MBatteryType buildBatteryType(BatteryType bt) { MBatteryType batteryType = new MBatteryType() { id = bt.Id, name = bt.name, producer = bt.producer, capacity = bt.capacity, exchangeCost = bt.exchangeCost }; return batteryType; }
public MBookingLine() { BatteryType = new MBatteryType(); Station = new MStation(); }