Skip to content

Commit 834e8d0

Browse files
Changed learning support plan, WIP books, WIP send matrix messages
1 parent 442e5a0 commit 834e8d0

78 files changed

Lines changed: 17588 additions & 1718 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

school_data_hub_client/lib/src/protocol/_features/attendance/models/contacted_type.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum ContactedType implements _i1.SerializableModel {
3535

3636
@override
3737
String toJson() => name;
38+
3839
@override
3940
String toString() => name;
4041
}

school_data_hub_client/lib/src/protocol/_features/attendance/models/missed_type.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum MissedType implements _i1.SerializableModel {
3535

3636
@override
3737
String toJson() => name;
38+
3839
@override
3940
String toString() => name;
4041
}

school_data_hub_client/lib/src/protocol/_features/learning_support/models/learning_support_plan.dart

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
2222
LearningSupportPlan._({
2323
this.id,
2424
required this.planId,
25+
this.number,
2526
required this.createdBy,
27+
this.socialPedagogue,
28+
this.proffesionalsInvolved,
29+
this.strengthsDescription,
30+
this.problemsDescription,
2631
required this.learningSupportLevelId,
2732
this.learningSupportLevel,
2833
required this.createdAt,
@@ -38,7 +43,12 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
3843
factory LearningSupportPlan({
3944
int? id,
4045
required String planId,
46+
int? number,
4147
required String createdBy,
48+
String? socialPedagogue,
49+
String? proffesionalsInvolved,
50+
String? strengthsDescription,
51+
String? problemsDescription,
4252
required int learningSupportLevelId,
4353
_i2.SupportLevel? learningSupportLevel,
4454
required DateTime createdAt,
@@ -55,7 +65,14 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
5565
return LearningSupportPlan(
5666
id: jsonSerialization['id'] as int?,
5767
planId: jsonSerialization['planId'] as String,
68+
number: jsonSerialization['number'] as int?,
5869
createdBy: jsonSerialization['createdBy'] as String,
70+
socialPedagogue: jsonSerialization['socialPedagogue'] as String?,
71+
proffesionalsInvolved:
72+
jsonSerialization['proffesionalsInvolved'] as String?,
73+
strengthsDescription:
74+
jsonSerialization['strengthsDescription'] as String?,
75+
problemsDescription: jsonSerialization['problemsDescription'] as String?,
5976
learningSupportLevelId:
6077
jsonSerialization['learningSupportLevelId'] as int,
6178
learningSupportLevel: jsonSerialization['learningSupportLevel'] == null
@@ -93,8 +110,18 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
93110

94111
String planId;
95112

113+
int? number;
114+
96115
String createdBy;
97116

117+
String? socialPedagogue;
118+
119+
String? proffesionalsInvolved;
120+
121+
String? strengthsDescription;
122+
123+
String? problemsDescription;
124+
98125
int learningSupportLevelId;
99126

100127
_i2.SupportLevel? learningSupportLevel;
@@ -121,7 +148,12 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
121148
LearningSupportPlan copyWith({
122149
int? id,
123150
String? planId,
151+
int? number,
124152
String? createdBy,
153+
String? socialPedagogue,
154+
String? proffesionalsInvolved,
155+
String? strengthsDescription,
156+
String? problemsDescription,
125157
int? learningSupportLevelId,
126158
_i2.SupportLevel? learningSupportLevel,
127159
DateTime? createdAt,
@@ -138,7 +170,15 @@ abstract class LearningSupportPlan implements _i1.SerializableModel {
138170
return {
139171
if (id != null) 'id': id,
140172
'planId': planId,
173+
if (number != null) 'number': number,
141174
'createdBy': createdBy,
175+
if (socialPedagogue != null) 'socialPedagogue': socialPedagogue,
176+
if (proffesionalsInvolved != null)
177+
'proffesionalsInvolved': proffesionalsInvolved,
178+
if (strengthsDescription != null)
179+
'strengthsDescription': strengthsDescription,
180+
if (problemsDescription != null)
181+
'problemsDescription': problemsDescription,
142182
'learningSupportLevelId': learningSupportLevelId,
143183
if (learningSupportLevel != null)
144184
'learningSupportLevel': learningSupportLevel?.toJson(),
@@ -168,7 +208,12 @@ class _LearningSupportPlanImpl extends LearningSupportPlan {
168208
_LearningSupportPlanImpl({
169209
int? id,
170210
required String planId,
211+
int? number,
171212
required String createdBy,
213+
String? socialPedagogue,
214+
String? proffesionalsInvolved,
215+
String? strengthsDescription,
216+
String? problemsDescription,
172217
required int learningSupportLevelId,
173218
_i2.SupportLevel? learningSupportLevel,
174219
required DateTime createdAt,
@@ -182,7 +227,12 @@ class _LearningSupportPlanImpl extends LearningSupportPlan {
182227
}) : super._(
183228
id: id,
184229
planId: planId,
230+
number: number,
185231
createdBy: createdBy,
232+
socialPedagogue: socialPedagogue,
233+
proffesionalsInvolved: proffesionalsInvolved,
234+
strengthsDescription: strengthsDescription,
235+
problemsDescription: problemsDescription,
186236
learningSupportLevelId: learningSupportLevelId,
187237
learningSupportLevel: learningSupportLevel,
188238
createdAt: createdAt,
@@ -202,7 +252,12 @@ class _LearningSupportPlanImpl extends LearningSupportPlan {
202252
LearningSupportPlan copyWith({
203253
Object? id = _Undefined,
204254
String? planId,
255+
Object? number = _Undefined,
205256
String? createdBy,
257+
Object? socialPedagogue = _Undefined,
258+
Object? proffesionalsInvolved = _Undefined,
259+
Object? strengthsDescription = _Undefined,
260+
Object? problemsDescription = _Undefined,
206261
int? learningSupportLevelId,
207262
Object? learningSupportLevel = _Undefined,
208263
DateTime? createdAt,
@@ -217,7 +272,19 @@ class _LearningSupportPlanImpl extends LearningSupportPlan {
217272
return LearningSupportPlan(
218273
id: id is int? ? id : this.id,
219274
planId: planId ?? this.planId,
275+
number: number is int? ? number : this.number,
220276
createdBy: createdBy ?? this.createdBy,
277+
socialPedagogue:
278+
socialPedagogue is String? ? socialPedagogue : this.socialPedagogue,
279+
proffesionalsInvolved: proffesionalsInvolved is String?
280+
? proffesionalsInvolved
281+
: this.proffesionalsInvolved,
282+
strengthsDescription: strengthsDescription is String?
283+
? strengthsDescription
284+
: this.strengthsDescription,
285+
problemsDescription: problemsDescription is String?
286+
? problemsDescription
287+
: this.problemsDescription,
221288
learningSupportLevelId:
222289
learningSupportLevelId ?? this.learningSupportLevelId,
223290
learningSupportLevel: learningSupportLevel is _i2.SupportLevel?

school_data_hub_client/lib/src/protocol/_features/matrix/matrix_room_type.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ enum MatrixRoomType implements _i1.SerializableModel {
4747

4848
@override
4949
String toJson() => name;
50+
5051
@override
5152
String toString() => name;
5253
}

school_data_hub_client/lib/src/protocol/_features/pupil/models/pupil_data/dto/pupil_document_type.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ enum PupilDocumentType implements _i1.SerializableModel {
3232

3333
@override
3434
String toJson() => name;
35+
3536
@override
3637
String toString() => name;
3738
}

school_data_hub_client/lib/src/protocol/_features/pupil/models/pupil_data/preschool/pre_school_medical_status.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum PreSchoolMedicalStatus implements _i1.SerializableModel {
3535

3636
@override
3737
String toJson() => name;
38+
3839
@override
3940
String toString() => name;
4041
}

school_data_hub_client/lib/src/protocol/_features/pupil/models/pupil_data/pupil_status.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ enum PupilStatus implements _i1.SerializableModel {
3232

3333
@override
3434
String toJson() => name;
35+
3536
@override
3637
String toString() => name;
3738
}

school_data_hub_client/lib/src/protocol/_features/pupil/models/pupil_identity/school_grade.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ enum SchoolGrade implements _i1.SerializableModel {
3838

3939
@override
4040
String toJson() => name;
41+
4142
@override
4243
String toString() => name;
4344
}

school_data_hub_client/lib/src/protocol/_features/schoolday_events/models/schoolday_event_type.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ enum SchooldayEventType implements _i1.SerializableModel {
4141

4242
@override
4343
String toJson() => name;
44+
4445
@override
4546
String toString() => name;
4647
}

school_data_hub_client/lib/src/protocol/_features/timetable/models/scheduled_lesson/weekday_enum.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ enum Weekday implements _i1.SerializableModel {
3737

3838
@override
3939
String toJson() => name;
40+
4041
@override
4142
String toString() => name;
4243
}

0 commit comments

Comments
 (0)