platform/angel_orm_generator/test/models/car.dart

16 lines
336 B
Dart
Raw Normal View History

library angel_orm.generator.models.car;
2017-06-17 16:45:31 +00:00
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;
}