GardenPlanner/lib/api/api_entities/beet_entry.dart

14 lines
275 B
Dart
Raw Normal View History

2023-06-25 10:13:39 +02:00
class BeetEntry {
final int plantId;
final int position;
final int beetRow;
BeetEntry(this.plantId, this.position, this.beetRow);
Map<String, dynamic> toJson() => {
'plantId': plantId,
'position': position,
'beet_row': beetRow,
};
}