2017-06-17 01:26:19 +00:00
|
|
|
library angel_serialize.test.models.book;
|
|
|
|
|
|
|
|
import 'package:angel_framework/common.dart';
|
|
|
|
import 'package:angel_serialize/angel_serialize.dart';
|
|
|
|
part 'book.g.dart';
|
2018-02-28 01:10:57 +00:00
|
|
|
part 'book.serializer.g.dart';
|
2017-06-17 01:26:19 +00:00
|
|
|
|
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;
|
2017-06-17 01:26:19 +00:00
|
|
|
}
|