首页 > 其他 > 详细

猜纸牌游戏之二 实体类

时间:2016-06-24 15:33:35      阅读:158      评论:0      收藏:0      [点我收藏+]
该实体类用于实现定义纸牌类,方便进行数据的存储,以便存放到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;
	}
	
}

猜纸牌游戏之二 实体类

原文:http://blog.csdn.net/zhangchen124/article/details/51737205

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!