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
create table Usuario ( | |
id int not null primary key auto_increment, | |
nome varchar(255) | |
); | |
create table Email ( | |
id int not null primary key auto_increment, | |
email varchar(255) not null, | |
usuario_id int not null, | |
FOREIGN KEY (usuario_id) references Usuario(id) |
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
select count(distinct usuario_id) from compra c where c.momentoDaCompra > | |
= now() - interval 30 day and c.momentoDaCompra <= now() - interval 29 day; |
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
<div id="page-wrapper"> | |
<div class="row"> | |
<div class="col-lg-12"> | |
<h1 class="page-header">Funcionário</h1> | |
</div> | |
<!-- /.col-lg-12 --> | |
</div> | |
<!-- /.row --> | |
<div class="row"> | |
<div class="col-lg-12"> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title>Tik Tok</title> | |
<!-- Bootstrap Core CSS --> |
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
<div id="page-wrapper"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
Hover Rows | |
</div> | |
<!-- /.panel-heading --> | |
<div class="panel-body"> | |
<div class="table-responsive"> | |
<table class="table table-hover"> | |
<tr> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title>Tik Tok</title> | |
<!-- Bootstrap Core CSS --> |
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
<div class="row"> | |
<div class="col-lg-12"> | |
<h1 class="page-header">Funcionário</h1> | |
</div> | |
<!-- /.col-lg-12 --> | |
</div> | |
<!-- /.row --> | |
<div class="row"> | |
<div class="col-lg-12"> | |
<div class="panel panel-default"> |
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
{% extends 'base.html.twig' %} | |
{% block body %} | |
<div class="row"> | |
<div class="col-lg-12"> | |
<h1 class="page-header">Funcionário</h1> | |
</div> | |
<!-- /.col-lg-12 --> | |
</div> | |
<!-- /.row --> | |
<div class="row"> |
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 | |
namespace App\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
*/ | |
class Projeto |
OlderNewer