account.java
来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 49 行
JAVA
49 行
//$Id: Account.java 4399 2004-08-21 08:43:20Z oneovthafew $
package org.hibernate.test.propertyref.basic;
/**
* @author Gavin King
*/
public class Account {
private String accountId;
private Person user;
private char type;
/**
* @return Returns the user.
*/
public Person getUser() {
return user;
}
/**
* @param user The user to set.
*/
public void setUser(Person user) {
this.user = user;
}
/**
* @return Returns the accountId.
*/
public String getAccountId() {
return accountId;
}
/**
* @param accountId The accountId to set.
*/
public void setAccountId(String accountId) {
this.accountId = accountId;
}
/**
* @return Returns the type.
*/
public char getType() {
return type;
}
/**
* @param type The type to set.
*/
public void setType(char type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?