Open QYZX opened 7 years ago
@Table("tb_people") public class People {
@PrimaryKey(AssignType.AUTO_INCREMENT) private long id; //ID @Mapping(Relation.OneToMany) private ArrayList<People> child;
}
例如上面的类型,进行级联保存后查询DB文件,保存关系映射的表只有一个字段:ID
@Table("tb_people") public class People {
}
例如上面的类型,进行级联保存后查询DB文件,保存关系映射的表只有一个字段:ID