package com.lyis.entity; import java.io.Serializable; import javax.persistence.Column; /** * 用户角色关联信息 * * @author Johnson * @version Tuesday March 15th, 2011 */ public class RUserRoleId implements Serializable { private static final long serialVersionUID = 1L; private Long userId; private Long roleId; public RUserRoleId() { } public RUserRoleId(Long userId, Long roleId) { this.userId = userId; this.roleId = roleId; } /** * 用户编号 * * @return */ @Column(name = "I_USERID", precision = 20, nullable = false) public Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } /** * 角色编号 * * @return */ @Column(name = "I_ROLEID", precision = 20, nullable = false) public Long getRoleId() { return roleId; } public void setRoleId(Long roleI