该实体类用于实现定义纸牌类,方便进行数据的存储,以便存放到SQLite之中!
package com.example.azhipai; public class Zhipai { private int id; private String name; private int examcm; public Zhipai() { super(); } public Zhipai(int id, String name, int examcm) { super(); this.id = id; this.name = name; this.examcm = examcm; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getExamcm() { return examcm; } public void setExamcm(int examcm) { this.examcm = examcm; } }