⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customer.java

📁 22222222222222222222222222我做的一个小的hibernate 程序
💻 JAVA
字号:
package com.hbm.pojo;

import java.io.Serializable;

/*************************************************************************
 * Title:         Customer类
 * Description:  
 * @author        陈绍东
 * @version       1.00
 * ***********************************************************************/

public class Customer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/*主键*/
	private Integer id; 
	
	/*姓名*/
	private String name;
	
	/*年龄*/
	private Integer age;
	
	public Customer() {
		super();
	}
	
	public Customer(String name,Integer age) {
		super();
		this.name = name;
		this.age = age;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * @param age the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -