package com.ruoyi.web.modules.account.domain;

import java.util.Arrays;
import java.util.List;
import com.ruoyi.web.modules.account.constant.PlatformAdminConstants;

/**
 * 平台管理员列表查询
 */
public class PlatformAdminQuery
{
    private String keyword;

    private List<String> listRoleKeys;

    public String getKeyword()
    {
        return keyword;
    }

    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }

    public List<String> getListRoleKeys()
    {
        if (listRoleKeys == null || listRoleKeys.isEmpty())
        {
            return Arrays.asList(PlatformAdminConstants.DEFAULT_LIST_ROLE_KEYS);
        }
        return listRoleKeys;
    }

    public void setListRoleKeys(List<String> listRoleKeys)
    {
        this.listRoleKeys = listRoleKeys;
    }
}
