package com.ffii.fhsmsc.modules.User_group.req;

import java.util.List;

public class UserGroupMemberBatchReq {
    private Long orgId;
    private String relationshipType;
    private List<MemberWithAuthorities> members;

    // Inner class for member with authorities
    public static class MemberWithAuthorities {
        private Long userId;
        private List<Long> authorityIds;
        private String relationshipType;

        // Getters and setters
        public Long getUserId() {
            return userId;
        }

        public void setUserId(Long userId) {
            this.userId = userId;
        }

        public List<Long> getAuthorityIds() {
            return authorityIds;
        }

        public void setAuthorityIds(List<Long> authorityIds) {
            this.authorityIds = authorityIds;
        }

        public String getRelationshipType() {
            return relationshipType;
        }

        public void setRelationshipType(String relationshipType) {
            this.relationshipType = relationshipType;
        }
    }

    // Getters and setters for main class
    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getRelationshipType() {
        return relationshipType;
    }

    public void setRelationshipType(String relationshipType) {
        this.relationshipType = relationshipType;
    }

    public List<MemberWithAuthorities> getMembers() {
        return members;
    }

    public void setMembers(List<MemberWithAuthorities> members) {
        this.members = members;
    }
}
