📄 abstractrole.java
字号:
package com.example.gw.role;
/**
* AbstractRole generated by MyEclipse - Hibernate Tools
*/
import com.example.gw.unit.Unit;
public abstract class AbstractRole implements java.io.Serializable {
// Fields
private Integer roleId;
private Unit unit;
private String roleName;
private String content;
private String memo;
private String fileType;
// Constructors
/** default constructor */
public AbstractRole() {
}
/** full constructor */
public AbstractRole(Unit unit, String roleName, String content, String memo, String fileType) {
this.unit = unit;
this.roleName = roleName;
this.content = content;
this.memo = memo;
this.fileType = fileType;
}
// Property accessors
public Integer getRoleId() {
return this.roleId;
}
public void setRoleId(Integer roleId) {
this.roleId = roleId;
}
public Unit getUnit() {
return this.unit;
}
public void setUnit(Unit unit) {
this.unit = unit;
}
public String getRoleName() {
return this.roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getMemo() {
return this.memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public String getFileType() {
return this.fileType;
}
public void setFileType(String fileType) {
this.fileType = fileType;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -