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

How to create different tables based on same entity? #60

Open Sinyuk7 opened 7 years ago

Sinyuk7 commented 7 years ago

RT.How to create different tables based on same entity?

so for example

@Table(DBConfigs.TABLE_1)
@Table(DBConfigs.TABLE_2)
public class StatusEntity implements Serializable {
    private static final long serialVersionUID = 7928759463994787763L;
}

It's not an issue, but since I found no help in other places ,so I submit this question. If anyone could give me a working example much appreciated.Thx in advanced ( •̀ .̫ •́ )✧