📄 user.java
字号:
/**
*
*/
package com.myext.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
/**
* @author Administrator
*
*/
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer id;
private String userAccount;
private String userName;
private String passwd;
/**
* get id
* @return the id
*/
public Integer getId() {
return this.id;
}
/**
丂* set id
* @param id the id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* get userAccount
* @return the userAccount
*/
public String getUserAccount() {
return this.userAccount;
}
/**
丂* set userAccount
* @param userAccount the userAccount to set
*/
public void setUserAccount(String userAccount) {
this.userAccount = userAccount;
}
/**
* get userName
* @return the userName
*/
public String getUserName() {
return this.userName;
}
/**
丂* set userName
* @param userName the userName to set
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* get passwd
* @return the passwd
*/
public String getPasswd() {
return this.passwd;
}
/**
丂* set passwd
* @param passwd the passwd to set
*/
public void setPasswd(String passwd) {
this.passwd = passwd;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -