2017-12-07 07:08:32 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of angel_serialize.test.models.author;
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// Generator: JsonModelGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2018-02-27 19:57:05 +00:00
|
|
|
class Author extends _Author {
|
|
|
|
Author(
|
|
|
|
{this.id,
|
|
|
|
this.name,
|
|
|
|
this.age,
|
|
|
|
this.books,
|
|
|
|
this.newestBook,
|
|
|
|
this.createdAt,
|
|
|
|
this.updatedAt});
|
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final String id;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final String name;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final int age;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:50:46 +00:00
|
|
|
final List<Book> books;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final Book newestBook;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final DateTime createdAt;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final DateTime updatedAt;
|
2017-12-07 07:08:32 +00:00
|
|
|
}
|
|
|
|
|
2018-02-27 19:57:05 +00:00
|
|
|
class Library extends _Library {
|
|
|
|
Library({this.id, this.collection, this.createdAt, this.updatedAt});
|
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final String id;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:50:46 +00:00
|
|
|
final Map<String, Book> collection;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final DateTime createdAt;
|
2017-12-07 07:08:32 +00:00
|
|
|
|
2018-02-27 19:47:42 +00:00
|
|
|
final DateTime updatedAt;
|
2017-12-07 07:08:32 +00:00
|
|
|
}
|