首页 > 程序开发 > 移动开发 > Android >

猜纸牌游戏之二 实体类

2016-06-23

该实体类用于实现定义纸牌类,方便进行数据的存储,以便存放到SQLite之中! package com example azhipai; public class Zhipai { private int id; private String name; private int examcm; publi

该实体类用于实现定义纸牌类,方便进行数据的存储,以便存放到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;
	}
	
}

相关文章
最新文章
热点推荐