Esta ferramenta web será utilizada pela empresa Feijanitos estrelares para registrar seus funcionários, qualquer funcionário poderá acessar este site, entrar com um login e senha e ver os funcionários cadastrados.
Nem todos poderam alterar, excluir ou cadastrar novos funcionários. A distribuição de permissões vai funcionar da seguinte forma:
- Diretor: Cadastra, altera, exclui e visualiza qualquer registro. Apenas o Diretor pode ver ou editar os salários e cargos dos funcionário;
- Gerente: Cadastra, altera e apenas não vê ou altera os salários e cargos;
- Funcionário: Visualiza todos os seus dados e visualizar apenas o nome e data de aniversário os outros funcionários.
Qualquer funcionário pode alterar os seu dados, menos o campo do salário e cargo a não ser o diretor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cp = require('child_process'); | |
const n = cp.fork(`${__dirname}/operation.js`); | |
operationList = [ | |
{id: 1, status: false}, | |
{id: 2, status: false}, | |
{id: 3, status: false}, | |
{id: 4, status: false} | |
]; | |
var foo = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Memed Accoutns | |
* | |
* PHP version 7 | |
* | |
* @category PHP | |
* @package Memed\Accoutns | |
* @author William Espindola <oi@williamespindola.com.br> | |
* @copyright Memed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Foo\Bar\Baz; | |
use Monolog\Logger as Monolog; | |
use Monolog\Handler\StreamHandler; | |
class Logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use ArizonaTecnologia\CarrefourWebView\Services\Offer\OfferExtraField; | |
use Mockery as m; | |
class OfferDataTest extends \PHPUnit_Framework_TestCase | |
{ | |
protected function setUp() | |
{ | |
$this->mockDoctrineQueryBuilder = $this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------ DownloadAssetsProcess.php | |
<?php | |
/** | |
* This file is part of Whirlpool Middleware project. | |
* | |
* PHP version 7 | |
* | |
* @category PHP | |
* @package ArizonaTecnologia\WhirlppolMiddleware\Services\Consumers\Process | |
* @author William Espindola <oi@williamespindola.com.br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Project name. | |
* | |
* PHP version 7 | |
* | |
* @category PHP | |
* @package [Project\Namespace]\Test | |
* @author William Espindola <oi@williamespindola.com.br> | |
* @copyright [Copy] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
// http://www.cidades.ibge.gov.br/download/mapa_e_municipios.php?uf=ac (Thu May 14 16:30:15 BRT 2015) | |
'AC' => [ | |
1200013 => 'Acrelândia', | |
1200054 => 'Assis Brasil', | |
1200104 => 'Brasiléia', | |
1200138 => 'Bujari', | |
1200179 => 'Capixaba', |
NewerOlder