Skip to content
Snippets Groups Projects
ethnicGroupPnad.js 1.04 KiB
Newer Older
/*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
   
This file is part of simcaq-node.

simcaq-node is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

simcaq-node is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with simcaq-node.  If not, see <https://www.gnu.org/licenses/>.
*/

module.exports = function ethnicGroupPnad(id) {
    switch (id) {
        case 0:
        return 'Indígena';
        case 1:
        return 'Branca e amarela';
        case 2:
        return 'Preta e parda';
        return 'Sem declaração';