platform/angel_serialize_generator/test/models/book.dart
2018-12-08 15:53:49 -05:00

16 lines
423 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';
@Serializable(serializers: Serializers.all)
abstract class _Book extends Model {
String author, title, description;
int pageCount;
List<double> notModels;
@Alias('camelCase')
String camelCaseString;
}