正在阅读:B/S系统权限控制的一种简单方法B/S系统权限控制的一种简单方法

2004-06-07 10:09 出处:CSDN 作者:leon_sandy 责任编辑:linjixiong



  public String getUserId() {
    return userId;
  }
  public void setUserId(String userId) {
    this.userId = userId;
  }
  public String getUserType() {
    return userType;
  }
  public void setUserType(String userType) {
    this.userType = userType;
  }
  public String getCompanyNo() {
    return companyNo;
  }
  public void setCompanyNo(String companyNo) {
    this.companyNo = companyNo;
  }
  public String getCompanyName() {
    return companyName;
  }
  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }
  public String getCompanyType() {
    return companyType;
  }
  public void setCompanyType(String companyType) {
    this.companyType = companyType;
  }
  public Collection getUserPermissions() {
    return userPermissions;
  }
  public void setUserPermissions(Collection userPermissions) {
    this.userPermissions = userPermissions;
  }
}

  UserPermission.java:
package com.××.××.××;

public class UserPermission {
  private int permissionId;
  private String privilege;
  public int getPermissionId() {
    return permissionId;
  }
  public void setPermissionId(int permissionId) {
    this.permissionId = permissionId;


察看评论详细内容 我要发表评论
作者笔名 简短内容 发表时间
:

键盘也能翻页,试试“← →”键

相关文章

关注我们

最新资讯离线随时看 聊天吐槽赢奖品