feature(training): отбражение данных для тренировки
This commit is contained in:
14
lib/models/training_dto.dart
Normal file
14
lib/models/training_dto.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
// To parse this JSON data, do
|
||||
//
|
||||
// final collectionDto = collectionDtoFromJson(jsonString);
|
||||
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:remever/database/database.dart';
|
||||
|
||||
part 'training_dto.freezed.dart';
|
||||
|
||||
@Freezed(copyWith: true, equal: true, fromJson: false, toJson: false)
|
||||
abstract class TrainingDto with _$TrainingDto {
|
||||
const factory TrainingDto({Collection? collection, required Ticket ticket}) =
|
||||
_TrainingDto;
|
||||
}
|
||||
Reference in New Issue
Block a user