Files
Holzleitner-Lieferservice-App/lib/dto/note_template_response.dart
Dennis Nemec b19a6e1cd4 Initial draft
2025-09-20 16:14:06 +02:00

20 lines
596 B
Dart

import 'note_template.dart';
import 'package:json_annotation/json_annotation.dart';
part 'note_template_response.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class NoteTemplateResponseDTO {
NoteTemplateResponseDTO(
{required this.notes, required this.succeeded, required this.message});
final List<NoteTemplateDTO> notes;
final bool succeeded;
final String message;
factory NoteTemplateResponseDTO.fromJson(Map<String, dynamic> json) =>
_$NoteTemplateResponseDTOFromJson(json);
Map<dynamic, dynamic> toJson() => _$NoteTemplateResponseDTOToJson(this);
}