26 lines
324 B
Dart
26 lines
324 B
Dart
|
class Goal {
|
||
|
int? id;
|
||
|
int? occupationId;
|
||
|
int? age;
|
||
|
String? title;
|
||
|
List<GoalContent>? contents;
|
||
|
|
||
|
Goal({
|
||
|
this.id,
|
||
|
this.occupationId,
|
||
|
this.age,
|
||
|
this.title,
|
||
|
this.contents,
|
||
|
});
|
||
|
}
|
||
|
|
||
|
class GoalContent {
|
||
|
String? title;
|
||
|
String? content;
|
||
|
|
||
|
GoalContent({
|
||
|
this.title,
|
||
|
this.content,
|
||
|
});
|
||
|
}
|