litesuits / litesuits/android-lite-orm

怎么处理继承关系

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.