All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.iam.vo.PositionDataScope Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2015-2029, www.dibo.ltd ([email protected]).
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at *

* https://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package com.diboot.iam.vo; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.util.List; /** * 岗位相关的数据范围 * @author JerryMa * @version v2.6.0 * @date 2022/5/9 * Copyright © diboot.com */ @Getter @Setter public class PositionDataScope implements Serializable { private static final long serialVersionUID = 3374139242516436636L; public PositionDataScope(){} public PositionDataScope(String positionId, String dataPermissionType, String userId, String orgId){ this.positionId = positionId; this.dataPermissionType = dataPermissionType; this.userId = userId; this.orgId = orgId; } /** * 岗位id */ private String positionId; /** * 数据权限范围 */ private String dataPermissionType; /** * 当前部门id */ private String orgId; /** * 当前及子级别部门ids */ private List accessibleOrgIds; /** * 当前用户id */ private String userId; /** * 当前及子级用户ids */ private List accessibleUserIds; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy