user.java

来自「iBatis入门参考」· Java 代码 · 共 43 行

JAVA
43
字号
package com.ctgusec.zhupan.model;
import java.io.Serializable;

public class User implements Serializable {

	/**
	 * @author zhupan
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

	private String name;

	private Integer sex;
	
	public User() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}
}

⌨️ 快捷键说明

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