【Java开源代码栏目提醒】:网学会员在Java开源代码频道为大家收集整理了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;
}
}