21 lines
255 B
Dart
21 lines
255 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:isar/isar.dart';
|
|
|
|
part 'pictures.g.dart';
|
|
|
|
@collection
|
|
class Picture {
|
|
late Id id;
|
|
|
|
late int tourId;
|
|
|
|
late int number;
|
|
|
|
late String data;
|
|
|
|
Picture() {
|
|
id = Isar.autoIncrement;
|
|
}
|
|
}
|
|
|