2017-06-17 16:45:31 +00:00
|
|
|
library angel_orm.test.models.car;
|
|
|
|
|
|
|
|
import 'package:angel_framework/common.dart';
|
2017-06-18 04:19:05 +00:00
|
|
|
import 'package:angel_orm/angel_orm.dart';
|
2017-06-17 16:45:31 +00:00
|
|
|
import 'package:angel_serialize/angel_serialize.dart';
|
|
|
|
part 'car.g.dart';
|
|
|
|
|
|
|
|
@serializable
|
2017-06-18 04:19:05 +00:00
|
|
|
@orm
|
2017-06-17 16:45:31 +00:00
|
|
|
class _Car extends Model {
|
2017-06-18 04:19:05 +00:00
|
|
|
String make;
|
|
|
|
String description;
|
|
|
|
bool familyFriendly;
|
|
|
|
DateTime recalledAt;
|
|
|
|
}
|