地址:https://github.com/LitePalFramework/LitePal
新建实体类Province继承自DataSupport(LitePal中的每一个实体类都必须继承自DataSupport)
public class Province extends DataSupport { private int ID; private String ProvinceName; private int ProvinceCode; public int getID() { return ID; } public String getProvinceName() { return ProvinceName; } public int getProvinceCode() { return ProvinceCode; } public void setID(int ID) { this.ID = ID; } public void setProvinceName(String provinceName) { ProvinceName = provinceName; } public void setProvinceCode(int provinceCode) { ProvinceCode = provinceCode; } }