Search in sources :

Example 11 with IdCard

use of com.litepaltest.model.IdCard in project LitePal by LitePalFramework.

the class One2OneBiSaveTest method init.

private void init() {
    s = new Student();
    s.setName("Jimmy");
    s.setAge(18);
    i = new IdCard();
    i.setNumber("9997777112");
    i.setAddress("Nanjing road");
}
Also used : IdCard(com.litepaltest.model.IdCard) Student(com.litepaltest.model.Student)

Example 12 with IdCard

use of com.litepaltest.model.IdCard in project LitePal by LitePalFramework.

the class DeleteTest method initRose.

private void initRose() {
    rose = new Student();
    rose.setName("Rose");
    rose.setAge(15);
    roseCard = new IdCard();
    roseCard.setAddress("Rose Street");
    roseCard.setNumber("123457");
    roseCard.setStudent(rose);
}
Also used : IdCard(com.litepaltest.model.IdCard) Student(com.litepaltest.model.Student)

Aggregations

IdCard (com.litepaltest.model.IdCard)12 Student (com.litepaltest.model.Student)8 Teacher (com.litepaltest.model.Teacher)7 Classroom (com.litepaltest.model.Classroom)4 Calendar (java.util.Calendar)3 Cursor (android.database.Cursor)1 Cellphone (com.litepaltest.model.Cellphone)1 ArrayList (java.util.ArrayList)1 Random (java.util.Random)1