accountandgroup.java
来自「hibernate应用测试,初学hibernate 的会员可以看看.」· Java 代码 · 共 30 行
JAVA
30 行
package com.bean;
public class AccountAndGroup extends AcountTable {
private int groupId;
private String groupName;
private int acountGroupId;
public void setGroupId(Integer groupId) {
this.groupId =groupId ==null?-1:groupId.intValue();
}
public int getGroupId() {
return this.groupId;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getGroupName() {
return this.groupName;
}
public int getAcountGroupId(){
return this.acountGroupId;
}
public void setAcountGroupId(Integer acountGroupId){
this.acountGroupId =acountGroupId ==null?-1:acountGroupId.intValue();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?