platform/angel_serialize_generator/test/models/book.dart
2018-07-11 11:49:46 -04:00

17 lines
454 B
Dart

library angel_serialize.test.models.book;
import 'package:angel_model/angel_model.dart';
import 'package:angel_serialize/angel_serialize.dart';
import 'package:collection/collection.dart';
part 'book.g.dart';
part 'book.serializer.g.dart';
@Serializable(serializers: Serializers.all)
abstract class _Book extends Model {
String author, title, description;
int pageCount;
List<double> notModels;
@Alias('camelCase')
String camelCaseString;
}