litesuits / android-lite-orm

LiteOrm is a fast, small, powerful ORM framework for Android. LiteOrm makes you do CRUD operarions on SQLite database with a sigle line of code efficiently.
http://litesuits.com?form=gorm
Apache License 2.0
1.49k stars 362 forks source link

怎么处理继承关系 #76

Open KikiLetGo opened 5 years ago

KikiLetGo commented 5 years ago

怎么处理继承关系,比如一个Animal是父类,下面有Dog和Cat两个类,我看现在是生成三张表,那么如果在Zoo这个类里面有List这种一对多的情况,请问如何将子类Dog和Cat也纳入到一对多映射中呢