role.java

来自「一个很好的开源项目管理系统源代码」· Java 代码 · 共 103 行

JAVA
103
字号
package net.java.workeffort.service.domain;import java.util.ArrayList;import java.util.Date;import java.util.List;/** * Role * @author Antony Joseph */public class Role extends BaseDomain {    private String roleCd;    private String description;    private Date lastModifiedTs;    private String lastModifiedBy;    private List rolePermission = new ArrayList();    private List roleChildren = new ArrayList();    /**     * @return Returns the description.     */    public String getDescription() {        return description;    }    /**     * @param description The description to set.     */    public void setDescription(String description) {        this.description = description;    }    /**     * @return Returns the lastModifiedBy.     */    public String getLastModifiedBy() {        return lastModifiedBy;    }    /**     * @param lastModifiedBy The lastModifiedBy to set.     */    public void setLastModifiedBy(String lastModifiedBy) {        this.lastModifiedBy = lastModifiedBy;    }    /**     * @return Returns the lastModifiedTs.     */    public Date getLastModifiedTs() {        return lastModifiedTs;    }    /**     * @param lastModifiedTs The lastModifiedTs to set.     */    public void setLastModifiedTs(Date lastModifiedTs) {        this.lastModifiedTs = lastModifiedTs;    }    /**     * @return Returns the roleCd.     */    public String getRoleCd() {        return roleCd;    }    /**     * @param roleCd The roleCd to set.     */    public void setRoleCd(String roleCd) {        this.roleCd = roleCd;    }    /**     * @return Returns the rolePermission.     */    public List getRolePermission() {        return rolePermission;    }    /**     * @param rolePermission The rolePermission to set.     */    public void setRolePermission(List rolePermission) {        this.rolePermission = rolePermission;    }    /**     * @return Returns the roleChildren.     */    public List getRoleChildren() {        return roleChildren;    }    /**     * @param roleChildren The roleChildren to set.     */    public void setRoleChildren(List roleChildren) {        this.roleChildren = roleChildren;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?