2017-08-01 05:45:54 +00:00
|
|
|
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';
|
|
|
|
|
|
|
|
@serializable
|
2018-12-01 19:03:43 +00:00
|
|
|
@orm
|
2017-08-01 05:45:54 +00:00
|
|
|
class _Leg extends Model {
|
|
|
|
@hasOne
|
|
|
|
Foot foot;
|
|
|
|
|
|
|
|
String name;
|
2018-12-03 13:41:14 +00:00
|
|
|
}
|