litesuits / litesuits/android-lite-orm
怎么处理继承关系
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 359
- PR merge metrics
- No merged PRs in 30d
Description
怎么处理继承关系,比如一个Animal是父类,下面有Dog和Cat两个类,我看现在是生成三张表,那么如果在Zoo这个类里面有List这种一对多的情况,请问如何将子类Dog和Cat也纳入到一对多映射中呢
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue asks how inheritance between Animal, Dog, and Cat should work when Zoo contains a List across the generated tables. No files, tests, or implementation entry points are identified, and the desired mapping behavior is not specified, so the first step is to clarify the supported inheritance strategy and acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, sqlite
- Domain
- database, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100