本帖最后由 Kevin.Kang 于 2015-7-21 14:51 编辑
用户描述类:
- package com.kxg.pojo;
- /**
- * 用户基本描述类
- *
- * @author 康小广
- * @version V1.0
- *
- */
- public class User {
- // 用户名
- private String username;
- // 密码
- private String password;
- public User() {
- super();
- }
- public User(String username, String password) {
- super();
- this.username = username;
- this.password = password;
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- }
复制代码
|
|