migration commit
This commit is contained in:
17
lib/classes/activity_action.dart
Normal file
17
lib/classes/activity_action.dart
Normal file
@ -0,0 +1,17 @@
|
||||
class ActivityAction {
|
||||
ActivityAction(
|
||||
{required this.id,
|
||||
required this.title,
|
||||
required this.description,
|
||||
this.repetitions,
|
||||
this.time,
|
||||
this.weight});
|
||||
|
||||
final int id;
|
||||
final String title;
|
||||
final String description;
|
||||
final int? repetitions;
|
||||
final int? weight;
|
||||
// in milliseconds
|
||||
final int? time;
|
||||
}
|
16
lib/classes/media.dart
Normal file
16
lib/classes/media.dart
Normal file
@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class Media {
|
||||
Media(
|
||||
{required this.id,
|
||||
required this.reference,
|
||||
required this.type,
|
||||
this.description,
|
||||
this.comments});
|
||||
|
||||
final int id;
|
||||
final String reference;
|
||||
final String type;
|
||||
final String? description;
|
||||
final List<String>? comments;
|
||||
}
|
Reference in New Issue
Block a user