platform/angel_orm_generator/test/models/leg.dart
2018-08-24 10:40:41 -04:00

17 lines
No EOL
357 B
Dart

library angel_orm_generator.test.models.leg;
import 'package:angel_model/angel_model.dart';
import 'package:angel_orm/angel_orm.dart';
import 'package:angel_serialize/angel_serialize.dart';
import 'foot.dart';
part 'leg.g.dart';
part 'leg.serializer.g.dart';
@serializable
@postgreSqlOrm
class _Leg extends Model {
@hasOne
Foot foot;
String name;
}