Создание карточки в коллекции + экран поиска коллекции
This commit is contained in:
22
lib/models/create_ticket_dto.dart
Normal file
22
lib/models/create_ticket_dto.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
// To parse this JSON data, do
|
||||
//
|
||||
// final collectionDto = collectionDtoFromJson(jsonString);
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:remever/database/database.dart';
|
||||
|
||||
part 'create_ticket_dto.freezed.dart';
|
||||
|
||||
@Freezed(copyWith: true, equal: true, fromJson: false, toJson: false)
|
||||
abstract class CreateTicketDto with _$CreateTicketDto {
|
||||
const factory CreateTicketDto({
|
||||
Collection? collection,
|
||||
String? question,
|
||||
Uint8List? questionImage,
|
||||
String? answer,
|
||||
Uint8List? answerImage,
|
||||
bool? needRevert,
|
||||
}) = _CreateTicketDto;
|
||||
}
|
||||
Reference in New Issue
Block a user