Skip to content
Snippets Groups Projects

Development

Merged lgtg20 requested to merge development into homologa
11 files
+ 832
7
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 40
0
 
/*
 
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 ageRangeEntity(id) {
 
switch (id) {
 
case 1:
 
return 'Até 24 anos';
 
case 2:
 
return '25 a 29 anos';
 
case 3:
 
return '30 a 39 anos';
 
case 4:
 
return '40 a 49 anos';
 
case 5:
 
return '50 a 54 anos';
 
case 6:
 
return '55 a 59 anos';
 
case 7:
 
return '60 anos ou mais';
 
default:
 
return 'Não declarada';
 
}
 
};
Loading