Android Open Source - sqlite User






From Project

Back to project page sqlite.

License

The source code is released under:

GNU General Public License

If you think the Android project sqlite listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.nimos.sqlite.bean;
/*  w  w  w  . ja va  2 s  .com*/
import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

/**
 * 
 * @ClassName: User
 * @Author linbo.liu
 * @Date 2014-11-27
 * @Desc: TODO
 */
@Table(name="User_Table")
public class User{
  @Id(column="id")
    private int id;
  private int age;
    private String name;
    private String department;
    
    public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public int getAge() {
    return age;
  }
  public void setAge(int age) {
    this.age = age;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public String getDepartment() {
    return department;
  }
  public void setDepartment(String department) {
    this.department = department;
  }
}




Java Source Code List

com.nimos.sqlite.MainActivity.java
com.nimos.sqlite.bean.User.java
com.nimos.sqlite.fragment.OneFragment.java
com.nimos.sqlite.fragment.ThreeFragment.java
com.nimos.sqlite.fragment.TwoFragment.java
com.nimos.sqlite.fragment.adapter.MainFragmentAdapter.java