platform/angel_serialize_generator/test/models/book.dart

17 lines
423 B
Dart
Raw Normal View History

2017-06-17 01:26:19 +00:00
library angel_serialize.test.models.book;
2018-06-23 04:52:46 +00:00
import 'package:angel_model/angel_model.dart';
2017-06-17 01:26:19 +00:00
import 'package:angel_serialize/angel_serialize.dart';
2018-05-13 18:02:47 +00:00
import 'package:collection/collection.dart';
2017-06-17 01:26:19 +00:00
part 'book.g.dart';
2018-03-29 19:58:36 +00:00
@Serializable(serializers: Serializers.all)
2017-06-17 01:26:19 +00:00
abstract class _Book extends Model {
String author, title, description;
int pageCount;
2018-03-05 06:18:46 +00:00
List<double> notModels;
2018-03-09 12:43:17 +00:00
@Alias('camelCase')
String camelCaseString;
2018-07-11 15:49:46 +00:00
}