removed postgres installer

This commit is contained in:
2023-01-04 12:20:47 -03:00
commit 4db7fd1781
602 changed files with 32919 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
.DS_Store
# node_modules/
._*
+1
View File
@@ -0,0 +1 @@
goldenowl
+1
View File
@@ -0,0 +1 @@
root
+1
View File
@@ -0,0 +1 @@
localhost
Vendored
+18
View File
@@ -0,0 +1,18 @@
pipeline {
agent { label 'Ubuntu18-openjdk1.8'}
stages {
stage('Do nothing') {
steps {
sh '/bin/true'
}
}
stage('build') {
steps {
sh 'ant -version'
sh 'java -version'
sh 'mkdir ~/test_jenkins_mkdir'
}
}
}
}
+1
View File
@@ -0,0 +1 @@
1
+168
View File
@@ -0,0 +1,168 @@
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
==========================================
Nome da empresa
===========================================
********** NAO E DOCUMENTO FISCAL *********
===========================================
PRODUTO QTDE VALOR UN. VALOR
===========================================
INFORMACOES PARA FECHAMENTO DE CONTA
===========================================
GARCOM CONTA.DIV. VAL.PESS. COVER DESC.
garcom dividirconta vlpessoa cover desconto
===========================================
SubTotal 10,00
------------------------
Total 10,00
===========================================
MENSAGEM DA EMPRESA VAI AQUI
INFORMACOES PARA FECHAMENTO DE CONTA
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

View File
+69
View File
@@ -0,0 +1,69 @@
### Clone this repository
HTTPS: https://git.librography.org/flashlan/Librography.git
SSH: git@git.librography.org:flashlan/Librography.git
### Creating a new repository on the command line
```
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://git.librography.com/flashlan/Librography.git
git push -u origin master
```
### Pushing an existing repository from the command line
```
git remote add origin https://git.librography.com/flashlan/Librography.git
git push -u origin master
```
## GoldenOwl
---------
Library Manager System writen in Java-Swing available for Windows, Linux and MacOs.
-------
**TODO:**
* implementar busca de capas de livros
* modulo pago de conslta por protocolo z39.50;
* Licensa de Software
* Modulo de serial key.
* Botao "Sobre";
* modulo de registro de isbn
* Procurar/setar Instalador do Windows
* Procurar instalador MacOS
* pasta de configuracoes em "~/.goldenOwl"/ criado por script Pacote deb, rpm
* App fist run para ver os e crair pastas de acordo
* ~~instalador mysql + script criação banco de dados em first run (create if no exits)~~
* ON CONFLICT DO NOTHING import xlsx em janela de opcoes de importacao
* relatorios de emprestimos e devolucoes
* limitar consultas de select * para especificas nos códigos.
* suporte a internacionalização
* build for ant
* convert syntax: mysql to postgresql -> sqlite
---
**BUGS:**
* remover mensagens terminal (aparecem no linux)
* remover VISIBLE e linha com create table if no exist
* carateres estranhios mysql
* Regra de negocio emprestimo? atrasado mas marca como dias restantes e ta gerando multa(com mais de 15 dias)
* livro cadastro dublica se alterar isbn.
* Botão salver em cartao faz nada (abrir explorer na url).
---
Softwares:
https://cloud.librography.org/index.php/s/3kQZ9DkmAGaCWw6
+6
View File
@@ -0,0 +1,6 @@
programs Onedrive:
https://1drv.ms/u/s!Asa0dgo7peGpvgAlXM91A1YRd9V_?e=GcIWh9
Windows :
php 7.3.27 / MySql 5.0.12-dev / PhpMyAdmin 5.1.0 / Apacha 2.4.46 / Java Jdk 8 / netbeans 8.2
+1
View File
@@ -0,0 +1 @@
mysql
+11
View File
@@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
#Name[en_US]=Librography
Name=Librography
Comment=Librography Library Manager
#Exec=command arguments
Exec= sh /opt/Librography/Librography.sh
Categories=Application;Office;Education;
Type=Application
#Icon=/path/to/custom/icon
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
pwd
java -jar /opt/Librography/Librography.jar
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
sudo mv /var/lib/mysql /var/lib/mysql_old
sudo mv /etc/mysql /etc/mysql_backup
mv ~/.librography ~/.librography_backup
sudo apt remove mariadb
sudo apt remove mariadb-server
sudo apt remove mariadb-client
sudo apt remove openjdk-8-jdk
+138
View File
@@ -0,0 +1,138 @@
#!/bin/bash
<<<<<<< HEAD
echo "Now we will need update your system and install dependencies, do you want to proceed? "
PS3='Choose a option '
options=("proceed" "Quit")
select opt in "${options[@]}"
do
case $opt in
"proceed")
=======
# echo "$(openssl rand -base64 12)"
>>>>>>> e6b92619aca86245c4e77e357cbd326edf2cda46
########################## temporario ####################
#sudo apt update
#sudo apt upgrade
#sudo apt install openjdk-8-jdk
echo "What is the current configuration for this machine?"
PS3='Choose a option '
options=("server" "client" "Quit")
select opt in "${options[@]}"
do
case $opt in
"server")
echo "proceed to install server"
if [ -d /var/lib/mysql/mysql ] ; then
echo "mysql already installed, skipping!"
else
sudo apt install mariadb-server
echo "now we will proceed with the secure installation and configuration of the database"
#echo "first you will choose the password for Mysql server"
echo "Next you can answer in order: n - y - y - y - y "
read -p "Press enter to continue"
sudo mysql_secure_installation
fi
if [ -d /var/lib/mysql/gowl ] ; then
echo " database gowl exist! skipping "
else
rm ~/.librography/IPSERVER
touch ~/.librography/IPSERVER
touch ~/.librography/DefaultPrinter
mkdir ~/.librography
rm ~/.librography/DBUSER
touch ~/.librography/DBUSER
DBUSER=gowl
echo $DBUSER >> ~/.librography/DBUSER
rm ~/.librography/DBPASS
touch ~/.librography/DBPASS
echo "Entre com a senha para o usuario do banco de dados: "
read DBPASS
echo $DBPASS >> ~/.librography/DBPASS
sudo mysql <<MYSQL_SCRIPT
CREATE DATABASE $DBUSER;
CREATE USER '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASS';
GRANT ALL PRIVILEGES ON $DBUSER.* TO '$DBUSER'@'localhost';
source script.sql
FLUSH PRIVILEGES;
MYSQL_SCRIPT
echo "MySQL user created."
echo "Username: $DBUSER"
echo "Password: $DBPASS"
fi
IPSERVER=localhost
echo $IPSERVER >> ~/.librography/IPSERVER
echo "-------- Installation finished! ------------"
echo " DataBase Url/ip: $IPSERVER"
echo " DataBase Username : $DBUSER"
echo " DataBase Password : $DBPASS"
break
;;
"client")
echo "proceed to install a cliente"
sudo apt install mariadb-client
mkdir ~/.librography
rm ~/.librography/IPSERVER
touch ~/.librography/IPSERVER
touch ~/.librography/DefaultPrinter
echo "Enter the database server ip: "
read IPSERVER
echo $IPSERVER >> ~/.librography/IPSERVER
rm ~/.librography/DBUSER
touch ~/.librography/DBUSER
DBUSER=gowl
echo $DBUSER >> ~/.librography/DBUSER
rm ~/.librography/DBPASS
touch ~/.librography/DBPASS
echo "Entre com a senha do usuario do banco de dados: "
read DBPASS
echo $DBPASS >> ~/.librography/DBPASS
echo "-------- Installation finished! ------------"
echo " DataBase Url/ip: $IPSERVER"
echo " DataBase Username : $DBUSER"
echo " DataBase Password : $DBPASS"
break
;;
"Quit")
break
;;
*) echo "invalid option $REPLY";;
esac
done
break
;;
"Quit")
break
;;
*) echo "invalid option $REPLY";;
esac
done
<<<<<<< HEAD
# create shortcut on desktop
=======
# is the mysql already configured?
#PASS=`pwgen -s 40 1`
#PASS= dbpass
>>>>>>> e6b92619aca86245c4e77e357cbd326edf2cda46
+319
View File
@@ -0,0 +1,319 @@
-- MySQL Script generated by MySQL Workbench
-- 11/01/21 23:54:12
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
-- -----------------------------------------------------
-- Schema applibrography
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema applibrography
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `applibrography` DEFAULT CHARACTER SET utf8 ;
USE `applibrography` ;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_leitores`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_leitores` (
`id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NULL,
`rg` VARCHAR(30) NULL DEFAULT NULL,
`cpf` VARCHAR(20) NULL DEFAULT NULL,
`email` VARCHAR(200) NULL DEFAULT NULL,
`telefone` VARCHAR(30) NULL DEFAULT NULL,
`celular` VARCHAR(30) NULL DEFAULT NULL,
`cep` VARCHAR(100) NULL DEFAULT NULL,
`endereco` VARCHAR(255) NULL DEFAULT NULL,
`numero` VARCHAR(50) NULL DEFAULT NULL,
`complemento` VARCHAR(200) NULL DEFAULT NULL,
`bairro` VARCHAR(100) NULL DEFAULT NULL,
`cidade` VARCHAR(100) NULL DEFAULT NULL,
`estado` VARCHAR(2) NULL DEFAULT NULL,
`tipo` VARCHAR(15) NULL,
`is_locked` TINYINT NULL,
`curso` VARCHAR(45) NULL,
`curso_ano` VARCHAR(45) NULL,
`qtd_emprestimos` INT(3) NULL,
`emprestmax` INT NULL,
`observacoes` VARCHAR(225) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 00000100
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_fornecedores`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_fornecedores` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NULL DEFAULT NULL,
`cnpj` VARCHAR(100) NULL DEFAULT NULL,
`email` VARCHAR(200) NULL DEFAULT NULL,
`telefone` VARCHAR(30) NULL DEFAULT NULL,
`celular` VARCHAR(30) NULL DEFAULT NULL,
`cep` VARCHAR(100) NULL DEFAULT NULL,
`endereco` VARCHAR(255) NULL DEFAULT NULL,
`numero` VARCHAR(50) NULL DEFAULT NULL,
`complemento` VARCHAR(200) NULL DEFAULT NULL,
`bairro` VARCHAR(100) NULL DEFAULT NULL,
`cidade` VARCHAR(100) NULL DEFAULT NULL,
`estado` VARCHAR(2) NULL DEFAULT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_funcionarios`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_funcionarios` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NOT NULL,
`rg` VARCHAR(30) NULL,
`cpf` VARCHAR(20) NULL,
`email` VARCHAR(200) NULL,
`senha` VARCHAR(10) NOT NULL,
`cargo` VARCHAR(100) NOT NULL,
`nivel_acesso` VARCHAR(50) NOT NULL,
`telefone` VARCHAR(30) NULL,
`celular` VARCHAR(30) NULL,
`cep` VARCHAR(100) NOT NULL,
`endereco` VARCHAR(255) NULL,
`numero` VARCHAR(50) NULL,
`complemento` VARCHAR(200) NULL,
`bairro` VARCHAR(100) NULL,
`cidade` VARCHAR(100) NOT NULL,
`estado` VARCHAR(2) NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_livros`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_livros` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`titulo` VARCHAR(100) NOT NULL,
`autor` VARCHAR(45) NOT NULL,
`editora` VARCHAR(45) NOT NULL,
`isbn` VARCHAR(13) NOT NULL,
`ano` VARCHAR(4) NOT NULL,
`serie` VARCHAR(45) NULL,
`edicao` VARCHAR(45) NULL,
`idioma` VARCHAR(25) NOT NULL,
`tb_fornecedores_id` INT(8) NULL,
`piso` VARCHAR(45) NULL,
`corredor` VARCHAR(45) NULL,
`posicao` VARCHAR(45) NULL,
`secao` VARCHAR(45) NULL,
`disponibilidade` VARCHAR(15) NOT NULL,
`observacoes` VARCHAR(225) NULL,
`is_emprestado` TINYINT NULL,
PRIMARY KEY (`id`),
INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC),
CONSTRAINT `fk_tb_livros_tb_fornecedores1`
FOREIGN KEY (`tb_fornecedores_id`)
REFERENCES `applibrography`.`tb_fornecedores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_emprestimos`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_emprestimos` (
`id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT,
`data_emprestimo` DATETIME NULL,
`data_devolucao` DATETIME NULL DEFAULT NULL,
`observacoes` TEXT NULL DEFAULT NULL,
`tb_funcionarios_id` INT(8) NULL,
`tb_livros_id` INT(8) NULL,
`tb_livros_tb_fornecedores_id` INT(8) NULL,
`tb_leitores_id` INT(8) ZEROFILL NULL,
`data_entrega_agendada` DATETIME NULL,
`tb_funcionarios_iddevol` INT(8) NULL,
`static_id_emprestimo` INT(8) NULL,
PRIMARY KEY (`id`),
INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC),
INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC),
INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC),
INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC),
CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1`
FOREIGN KEY (`tb_funcionarios_id`)
REFERENCES `applibrography`.`tb_funcionarios` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_livros1`
FOREIGN KEY (`tb_livros_id`)
REFERENCES `applibrography`.`tb_livros` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_leitores1`
FOREIGN KEY (`tb_leitores_id`)
REFERENCES `applibrography`.`tb_leitores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2`
FOREIGN KEY (`tb_funcionarios_iddevol`)
REFERENCES `applibrography`.`tb_funcionarios` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 10000000
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_multa`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_multa` (
`idmulta` INT(8) NOT NULL AUTO_INCREMENT,
`dias_atraso` INT(6) NOT NULL,
`valor_multa` DECIMAL(10,2) NULL,
`esta_pago` TINYINT NULL,
`tb_leitores_id` INT(8) ZEROFILL NOT NULL,
`tb_emprestimos_id` INT(8) ZEROFILL NOT NULL,
PRIMARY KEY (`idmulta`, `tb_emprestimos_id`),
INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC),
INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC),
CONSTRAINT `fk_multa_tb_leitores1`
FOREIGN KEY (`tb_leitores_id`)
REFERENCES `applibrography`.`tb_leitores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_multa_tb_emprestimos1`
FOREIGN KEY (`tb_emprestimos_id`)
REFERENCES `applibrography`.`tb_emprestimos` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_opcoes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_opcoes` (
`id` INT NOT NULL AUTO_INCREMENT,
`data` VARCHAR(45) NOT NULL,
`parentid` INT NULL,
PRIMARY KEY (`id`),
INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC),
CONSTRAINT `fk_Opcoes_Opcoes1`
FOREIGN KEY (`parentid`)
REFERENCES `applibrography`.`tb_opcoes` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_recibos`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_recibos` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`emprestimo_id` INT(8) NULL,
`data_emprestimo` VARCHAR(45) NULL,
`data_devolucao_agendada` VARCHAR(45) NULL,
`data_entrega` VARCHAR(45) NULL,
`livro` VARCHAR(45) NULL,
`usuario` VARCHAR(45) NULL,
`tipo` VARCHAR(45) NULL,
`multa` VARCHAR(45) NULL,
`status` VARCHAR(45) NULL,
`funcionario` VARCHAR(45) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_leitores`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (00000101, 'Leitor Teste', '5.432.234-1', '099.999.345-23', 'leitor@mail.com', '(42)98877-2299', '(42)98877-2299', '854670-000', 'Rua 1 de abril', '13', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras', '1', 0, 123, 'Ok');
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_fornecedores`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_funcionarios`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', NULL, NULL, 'admin@admin', 'admin', 'Administrador', 'Administrador', NULL, NULL, '84570-000', NULL, NULL, NULL, NULL, 'Mallet', 'PR');
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_livros`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pis das maravilhas', 'Lewis Carrol', 'Nope', '1231231231231', '1894', '1', '1', 'Portugues', 1, NULL, NULL, NULL, 'Literatura Universal', '5', 'ok', 0);
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_opcoes`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (27, 'MsgReceipt', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (28, 'Obrigado!!', 27);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (29, 'theme', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (30, 'dark', 29);
COMMIT;
View File
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
sudo rm -rf /opt/Librography
mkdir /opt
sudo pacman -S p7zip
sudo 7z x ../setup/data -o/opt/ -aoa
sudo chown root -R /opt/Librography
sudo chmod 777 -R /opt/Librography
cp DBType /opt/Librography/
#touch /opt/Librography/DBType
#echo "mysql" >> /opt/Librography/DBType
#sed -i 's/^[^0-9]*//' /opt/Librography/DBType
cp ../dist/Librography.jar /opt/Librography/
cp Librography.sh /opt/Librography/
sudo chmod a+rx /opt/Librography/Librography.jar
#pause
+39
View File
@@ -0,0 +1,39 @@
#!/bin/sh
echo "Script is executed as : `whoami`"
#var0=$(who am i | awk '{print $1}')
#echo "var0 is $var0"
server=127.0.0.1
dbname=applibrography
dbuser=applibrography
dbuserpassword=gowl
if nc -z $server 3306 2>/dev/null; then
echo "$server ✓ - MariaDB Server is installed!"
echo "Proceeding to configuration:"
sudo mysql -uroot --execute="CREATE DATABASE $dbname"; #change to variables
sudo mysql -uroot --execute="CREATE USER '$dbuser'@'localhost' IDENTIFIED BY '$dbuserpassword';"
sudo mysql -uroot --execute="GRANT ALL PRIVILEGES ON $dbuser.* TO '$dbuser'@'localhost';"
sudo mysql -uroot --execute="FLUSH PRIVILEGES;"
sudo mysql -uroot --execute="source script.sql"
else
echo "$server ✗ - MariaDb is not Installed!!"
echo "Do tou wanto to install?"
# if else aqui com resposta""
sudo pacman -Syu
sudo pacman -S mariadb
sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service
fi
# PS3='Choose your firewal profile: '
#mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;"
+56
View File
@@ -0,0 +1,56 @@
@echo off
:start
netstat -o -n -a | findstr 3306
if %ERRORLEVEL% equ 0 goto FOUND
echo MySql not found or not usisng default port 3306...
ECHO Do you wanto open open browser to download it?
ECHO 1. yes
ECHO 2. no
set /p choice=Choose your option.
if '%choice%'=='' ECHO "%choice%" is not valid please try again
if '%choice%'=='1' goto open
if '%choice%'=='2' goto FIN
ECHO.
goto start
:open
echo opening the Mysql download link....
pause
START Https://dev.mysql.com/downloads/installer/
ECHO you can download the setup fromlink now and after install it we will continue the setup
ECHO choose the default options on setup and don`t forget to take a note of the root password
pause
Rem :continue
Rem echo ok
goto start
Rem goto FIN
:FOUND
echo port found. It mean the Mysql is installed
echo we can continue the setup...
pause
:FIN
echo .
echo .
@echo off
rem ------------------------------------------------
echo Creating access to user. Waiting ...
echo Enter the MySql root password:
set /p rootpassword=
set dbname=applibrography
set dbuser=applibrography
set userpassword=gowl
Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p"
SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin
mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;"
mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';"
mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';"
mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;"
mysql -uroot -p%rootpassword% --execute="source script.sql"
echo Done.
echo "MySQL user created."
echo "Username: %dbuser%"
echo "Password: %userpassword%"
rem ------------------------------------------------
echo .
echo .
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,49 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Librography"
#define MyAppVersion "0.1-beta"
#define MyAppPublisher "FlashInformatics, Inc."
#define MyAppURL "https://www.librography.site/"
#define MyAppExeName "Librography.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{EAC392A1-AC02-4CE1-9B71-18B555A85097}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\{#MyAppName}
DisableDirPage=yes
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=F:\Desktop\goldenowl\Installers\InnoSetupFiles
OutputBaseFilename=LibrographyInstaller_0.1-beta
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Librography\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Librography\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
@@ -0,0 +1,58 @@
@echo off
echo Criando a pasta data, utilizadas pelo MySQL
set mypath=C:\Librography
net stop MySql
set mysqlpath=%mypath%\mysql
if not exist "%mysqlpath%\data" mkdir "%mysqlpath%\data"
echo Inicializando o MySQL. Criando o conteúdo da pasta data
"%mysqlpath%/bin/mysqld.exe" --initialize-insecure --user=mysql --basedir="%mysqlpath%" --datadir="%mysqlpath%\data"
echo Definindo o MySQL como um serviço
"%mysqlpath%\bin\mysqld.exe" --install MySQL
echo Iniciando o serviço criado
sc start MySQL
echo Verificando se o serviço esta ativo
:INITDATA
sc query "MySQL" | find "RUNNING"
if "%ERRORLEVEL%"=="0" (
echo Serviço ativo ...
echo Configurando a base de dados...
echo Definindo uma senha para o usuário root...
:: "%mysqlpath%\bin\mysql.exe" -u root --skip-password -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'goldenowl';"
:: echo Criando o usuário utilizado pela aplicação e atribuindo as permissões dele
:: "%mysqlpath%\bin\mysql.exe" -u root -p goldenowl -e "CREATE USER 'appLibrography'@'localhost' IDENTIFIED BY 'app1Librography';GRANT CREATE, SELECT, INSERT, UPDATE, DELETE ON *.* TO 'appLibrography'@'localhost';FLUSH PRIVILEGES;"
::echo Criando o banco de dados da aplicação
::"%mysqlpath%\bin\mysql.exe" -u appLibrography -p app1Librography -e "CREATE DATABASE appLibrography;"
:: echo Criando a tabela utilizada pela a aplicação
:: "%mysqlpath%\bin\mysql.exe" -i C:\Librography\Install_Files\CreateDBScript.sql
) else (
echo Serviço ainda não iniciado, aguardando 5 segundos
ping 127.0.0.1 -n 6 > nul
goto INITDATA
)
+1
View File
@@ -0,0 +1 @@
java -jar Librography.jar
+90
View File
@@ -0,0 +1,90 @@
7-Zip
~~~~~
License for use and distribution
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7-Zip Copyright (C) 1999-2019 Igor Pavlov.
The licenses for files are:
1) 7z.dll:
- The "GNU LGPL" as main license for most of the code
- The "GNU LGPL" with "unRAR license restriction" for some code
- The "BSD 3-clause License" for some code
2) All other files: the "GNU LGPL".
Redistributions in binary form must reproduce related license information from this file.
Note:
You can use 7-Zip on any computer, including a computer in a commercial
organization. You don't need to register or pay for 7-Zip.
GNU LGPL information
--------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You can receive a copy of the GNU Lesser General Public License from
http://www.gnu.org/
BSD 3-clause License
--------------------
The "BSD 3-clause License" is used for the code in 7z.dll that implements LZFSE data decompression.
That code was derived from the code in the "LZFSE compression library" developed by Apple Inc,
that also uses the "BSD 3-clause License":
----
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----
unRAR license restriction
-------------------------
The decompression engine for RAR archives was developed using source
code of unRAR program.
All copyrights to original unRAR code are owned by Alexander Roshal.
The license for original unRAR code has the following restriction:
The unRAR sources cannot be used to re-create the RAR compression algorithm,
which is proprietary. Distribution of modified unRAR sources in separate form
or as a part of other software is permitted, provided that it is clearly
stated in the documentation and source comments that the code may
not be used to develop a RAR (WinRAR) compatible archiver.
--
Igor Pavlov
+2
View File
@@ -0,0 +1,2 @@
copy ..\dist\Librography.jar C:\Librography\
copy Librography.bat C:\Librography\
+8
View File
@@ -0,0 +1,8 @@
@echo off
copy ..\dist\Librography.jar C:\Librography\
copy Librography.bat C:\Librography\
7z.exe a -tZip ../setup/data C:\Librography\
rename data.zip data
+354
View File
@@ -0,0 +1,354 @@
-- SQLINES DEMO *** rated by MySQL Workbench
-- 11/01/21 23:54:12
-- SQLINES DEMO *** Version: 1.0
-- SQLINES DEMO *** orward Engineering
/* SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; */
/* SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; */
/* SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; */
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy
-- SQLINES DEMO *** ------------------------------------
CREATE SCHEMA IF NOT EXISTS "applibrography";
-- TEMPLATE = template0
-- WITH OWNER "applibrography"
-- ENCODING 'UTF8' LC_COLLATE =
-- 'en_US.UTF-8'
-- LC_CTYPE = 'en_US.UTF-8';
SET SCHEMA 'applibrography' ;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_leitores`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_leitores_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_leitores (
id INT ZEROFILL NOT NULL DEFAULT NEXTVAL ('applibrography.tb_leitores_seq'),
nome VARCHAR(100) NULL,
rg VARCHAR(30) NULL DEFAULT NULL,
cpf VARCHAR(20) NULL DEFAULT NULL,
email VARCHAR(200) NULL DEFAULT NULL,
telefone VARCHAR(30) NULL DEFAULT NULL,
celular VARCHAR(30) NULL DEFAULT NULL,
cep VARCHAR(100) NULL DEFAULT NULL,
endereco VARCHAR(255) NULL DEFAULT NULL,
numero VARCHAR(50) NULL DEFAULT NULL,
complemento VARCHAR(200) NULL DEFAULT NULL,
bairro VARCHAR(100) NULL DEFAULT NULL,
cidade VARCHAR(100) NULL DEFAULT NULL,
estado VARCHAR(2) NULL DEFAULT NULL,
tipo VARCHAR(15) NULL,
is_locked SMALLINT NULL,
curso VARCHAR(45) NULL,
curso_ano VARCHAR(45) NULL,
qtd_emprestimos INT NULL,
emprestmax INT NULL,
observacoes VARCHAR(225) NULL,
PRIMARY KEY (id))
;
ALTER SEQUENCE applibrography.tb_leitores_seq RESTART WITH 00000100;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_fornecedores`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_fornecedores_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_fornecedores (
id INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_fornecedores_seq'),
nome VARCHAR(100) NULL DEFAULT NULL,
cnpj VARCHAR(100) NULL DEFAULT NULL,
email VARCHAR(200) NULL DEFAULT NULL,
telefone VARCHAR(30) NULL DEFAULT NULL,
celular VARCHAR(30) NULL DEFAULT NULL,
cep VARCHAR(100) NULL DEFAULT NULL,
endereco VARCHAR(255) NULL DEFAULT NULL,
numero VARCHAR(50) NULL DEFAULT NULL,
complemento VARCHAR(200) NULL DEFAULT NULL,
bairro VARCHAR(100) NULL DEFAULT NULL,
cidade VARCHAR(100) NULL DEFAULT NULL,
estado VARCHAR(2) NULL DEFAULT NULL,
PRIMARY KEY (id))
;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_funcionarios`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_funcionarios_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_funcionarios (
id INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_funcionarios_seq'),
nome VARCHAR(100) NOT NULL,
rg VARCHAR(30) NULL,
cpf VARCHAR(20) NULL,
email VARCHAR(200) NULL,
senha VARCHAR(10) NOT NULL,
cargo VARCHAR(100) NOT NULL,
nivel_acesso VARCHAR(50) NOT NULL,
telefone VARCHAR(30) NULL,
celular VARCHAR(30) NULL,
cep VARCHAR(100) NOT NULL,
endereco VARCHAR(255) NULL,
numero VARCHAR(50) NULL,
complemento VARCHAR(200) NULL,
bairro VARCHAR(100) NULL,
cidade VARCHAR(100) NOT NULL,
estado VARCHAR(2) NOT NULL,
PRIMARY KEY (id))
;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_livros`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_livros_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_livros (
id INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_livros_seq'),
titulo VARCHAR(100) NOT NULL,
autor VARCHAR(45) NOT NULL,
editora VARCHAR(45) NOT NULL,
isbn VARCHAR(13) NOT NULL,
ano VARCHAR(4) NOT NULL,
serie VARCHAR(45) NULL,
edicao VARCHAR(45) NULL,
idioma VARCHAR(25) NOT NULL,
tb_fornecedores_id INT NULL,
piso VARCHAR(45) NULL,
corredor VARCHAR(45) NULL,
posicao VARCHAR(45) NULL,
secao VARCHAR(45) NULL,
disponibilidade VARCHAR(15) NOT NULL,
observacoes VARCHAR(225) NULL,
is_emprestado SMALLINT NULL,
PRIMARY KEY (id)
,
CONSTRAINT fk_tb_livros_tb_fornecedores1
FOREIGN KEY (tb_fornecedores_id)
REFERENCES applibrography.tb_fornecedores (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
;
CREATE INDEX fk_tb_livros_tb_fornecedores1_idx ON applibrography.tb_livros (tb_fornecedores_id ASC);
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_emprestimos`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_emprestimos_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_emprestimos (
id INT ZEROFILL NOT NULL DEFAULT NEXTVAL ('applibrography.tb_emprestimos_seq'),
data_emprestimo TIMESTAMP(0) NULL,
data_devolucao TIMESTAMP(0) NULL DEFAULT NULL,
observacoes TEXT NULL DEFAULT NULL,
tb_funcionarios_id INT NULL,
tb_livros_id INT NULL,
tb_livros_tb_fornecedores_id INT NULL,
tb_leitores_id INT ZEROFILL NULL,
data_entrega_agendada TIMESTAMP(0) NULL,
tb_funcionarios_iddevol INT NULL,
static_id_emprestimo INT NULL,
PRIMARY KEY (id)
,
CONSTRAINT fk_tb_emprestimos_tb_funcionarios1
FOREIGN KEY (tb_funcionarios_id)
REFERENCES applibrography.tb_funcionarios (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_tb_emprestimos_tb_livros1
FOREIGN KEY (tb_livros_id)
REFERENCES applibrography.tb_livros (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_tb_emprestimos_tb_leitores1
FOREIGN KEY (tb_leitores_id)
REFERENCES applibrography.tb_leitores (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_tb_emprestimos_tb_funcionarios2
FOREIGN KEY (tb_funcionarios_iddevol)
REFERENCES applibrography.tb_funcionarios (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
;
ALTER SEQUENCE applibrography.tb_emprestimos_seq RESTART WITH 10000000;
CREATE INDEX fk_tb_emprestimos_tb_funcionarios1_idx ON applibrography.tb_emprestimos (tb_funcionarios_id ASC);
CREATE INDEX fk_tb_emprestimos_tb_livros1_idx ON applibrography.tb_emprestimos (tb_livros_id ASC, tb_livros_tb_fornecedores_id ASC);
CREATE INDEX fk_tb_emprestimos_tb_leitores1_idx ON applibrography.tb_emprestimos (tb_leitores_id ASC);
CREATE INDEX fk_tb_emprestimos_tb_funcionarios2_idx ON applibrography.tb_emprestimos (tb_funcionarios_iddevol ASC);
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_multa`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_multa_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_multa (
idmulta INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_multa_seq'),
dias_atraso INT NOT NULL,
valor_multa DECIMAL(10,2) NULL,
esta_pago SMALLINT NULL,
tb_leitores_id INT ZEROFILL NOT NULL,
tb_emprestimos_id INT ZEROFILL NOT NULL,
PRIMARY KEY (idmulta, tb_emprestimos_id)
,
CONSTRAINT fk_multa_tb_leitores1
FOREIGN KEY (tb_leitores_id)
REFERENCES applibrography.tb_leitores (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fk_tb_multa_tb_emprestimos1
FOREIGN KEY (tb_emprestimos_id)
REFERENCES applibrography.tb_emprestimos (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
;
CREATE INDEX fk_multa_tb_leitores1_idx ON applibrography.tb_multa (tb_leitores_id ASC);
CREATE INDEX fk_tb_multa_tb_emprestimos1_idx ON applibrography.tb_multa (tb_emprestimos_id ASC);
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_opcoes`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_opcoes_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_opcoes (
id INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_opcoes_seq'),
data VARCHAR(45) NOT NULL,
parentid INT NULL,
PRIMARY KEY (id)
,
CONSTRAINT fk_Opcoes_Opcoes1
FOREIGN KEY (parentid)
REFERENCES applibrography.tb_opcoes (id)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
;
CREATE INDEX fk_Opcoes_Opcoes1_idx ON applibrography.tb_opcoes (parentid ASC);
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** aphy`.`tb_recibos`
-- SQLINES DEMO *** ------------------------------------
-- SQLINES LICENSE FOR EVALUATION USE ONLY
CREATE SEQUENCE applibrography.tb_recibos_seq;
CREATE TABLE IF NOT EXISTS applibrography.tb_recibos (
id INT NOT NULL DEFAULT NEXTVAL ('applibrography.tb_recibos_seq'),
emprestimo_id INT NULL,
data_emprestimo VARCHAR(45) NULL,
data_devolucao_agendada VARCHAR(45) NULL,
data_entrega VARCHAR(45) NULL,
livro VARCHAR(45) NULL,
usuario VARCHAR(45) NULL,
tipo VARCHAR(45) NULL,
multa VARCHAR(45) NULL,
status VARCHAR(45) NULL,
funcionario VARCHAR(45) NULL,
PRIMARY KEY (id))
;
/* SET SQL_MODE=@OLD_SQL_MODE; */
/* SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; */
/* SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS; */
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** pplibrography`.`tb_leitores`
-- SQLINES DEMO *** ------------------------------------
START TRANSACTION;
SET SCHEMA 'applibrography';
INSERT INTO applibrography.tb_leitores (id, nome, rg, cpf, email, telefone, celular, cep, endereco, numero, complemento, bairro, cidade, estado, tipo, is_locked, curso, curso_ano, qtd_emprestimos, emprestmax, observacoes) VALUES (00000101, 'Leitor Teste', '5.432.234-1', '099.999.345-23', 'leitor@mail.com', '(42)98877-2299', '(42)98877-2299', '854670-000', 'Rua 1 de abril', '13', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras', '1', 0, 123, 'Ok');
COMMIT;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** pplibrography`.`tb_fornecedores`
-- SQLINES DEMO *** ------------------------------------
START TRANSACTION;
SET SCHEMA 'applibrography';
INSERT INTO applibrography.tb_fornecedores (id, nome, cnpj, email, telefone, celular, cep, endereco, numero, complemento, bairro, cidade, estado) VALUES (1, 'Fornecedor Teste', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** pplibrography`.`tb_funcionarios`
-- SQLINES DEMO *** ------------------------------------
START TRANSACTION;
SET SCHEMA 'applibrography';
INSERT INTO applibrography.tb_funcionarios (id, nome, rg, cpf, email, senha, cargo, nivel_acesso, telefone, celular, cep, endereco, numero, complemento, bairro, cidade, estado) VALUES (1, 'Administrador', NULL, NULL, 'admin@admin', 'admin', 'Administrador', 'Administrador', NULL, NULL, '84570-000', NULL, NULL, NULL, NULL, 'Mallet', 'PR');
COMMIT;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** pplibrography`.`tb_livros`
-- SQLINES DEMO *** ------------------------------------
START TRANSACTION;
SET SCHEMA 'applibrography';
INSERT INTO applibrography.tb_livros (id, titulo, autor, editora, isbn, ano, serie, edicao, idioma, tb_fornecedores_id, piso, corredor, posicao, secao, disponibilidade, observacoes, is_emprestado) VALUES (1, 'Alice no Pis das maravilhas', 'Lewis Carrol', 'Nope', '1231231231231', '1894', '1', '1', 'Portugues', 1, NULL, NULL, NULL, 'Literatura Universal', '5', 'ok', 0);
COMMIT;
-- SQLINES DEMO *** ------------------------------------
-- SQLINES DEMO *** pplibrography`.`tb_opcoes`
-- SQLINES DEMO *** ------------------------------------
START TRANSACTION;
SET SCHEMA 'applibrography';
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (1, 'piso', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (2, 'corredor', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (3, 'secao', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (4, 'posicao', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (5, 'disponibilidade', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (6, 'printerurl', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (7, 'instituicaonome', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (8, 'instiuicaoendereco', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (17, 'piso 1', 1);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (20, 'corredor 1', 2);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (21, '1A', 3);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (22, 'Literatura Universal', 4);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (13, '0', 5);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (14, '3', 5);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (15, 'Biblioteca de Hogwarts', 7);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (9, 'tiposdeusuarios', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (18, 'Estudante', 9);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (19, 'Professor', 9);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (10, 'server url', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (11, 'libraryname', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (12, 'libraryAddress', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (23, '127.0.0.1', 12);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (24, 'Nome da Biblioteca', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (25, 'valor_multa', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (26, '300', 25);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (27, 'MsgReceipt', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (28, 'Obrigado!!', 27);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (29, 'theme', NULL);
INSERT INTO applibrography.tb_opcoes (id, data, parentid) VALUES (30, 'dark', 29);
COMMIT;
+319
View File
@@ -0,0 +1,319 @@
-- MySQL Script generated by MySQL Workbench
-- 11/01/21 23:54:12
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
-- -----------------------------------------------------
-- Schema applibrography
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema applibrography
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `applibrography` DEFAULT CHARACTER SET utf8 ;
USE `applibrography` ;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_leitores`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_leitores` (
`id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NULL,
`rg` VARCHAR(30) NULL DEFAULT NULL,
`cpf` VARCHAR(20) NULL DEFAULT NULL,
`email` VARCHAR(200) NULL DEFAULT NULL,
`telefone` VARCHAR(30) NULL DEFAULT NULL,
`celular` VARCHAR(30) NULL DEFAULT NULL,
`cep` VARCHAR(100) NULL DEFAULT NULL,
`endereco` VARCHAR(255) NULL DEFAULT NULL,
`numero` VARCHAR(50) NULL DEFAULT NULL,
`complemento` VARCHAR(200) NULL DEFAULT NULL,
`bairro` VARCHAR(100) NULL DEFAULT NULL,
`cidade` VARCHAR(100) NULL DEFAULT NULL,
`estado` VARCHAR(2) NULL DEFAULT NULL,
`tipo` VARCHAR(15) NULL,
`is_locked` TINYINT NULL,
`curso` VARCHAR(45) NULL,
`curso_ano` VARCHAR(45) NULL,
`qtd_emprestimos` INT(3) NULL,
`emprestmax` INT NULL,
`observacoes` VARCHAR(225) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 00000100
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_fornecedores`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_fornecedores` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NULL DEFAULT NULL,
`cnpj` VARCHAR(100) NULL DEFAULT NULL,
`email` VARCHAR(200) NULL DEFAULT NULL,
`telefone` VARCHAR(30) NULL DEFAULT NULL,
`celular` VARCHAR(30) NULL DEFAULT NULL,
`cep` VARCHAR(100) NULL DEFAULT NULL,
`endereco` VARCHAR(255) NULL DEFAULT NULL,
`numero` VARCHAR(50) NULL DEFAULT NULL,
`complemento` VARCHAR(200) NULL DEFAULT NULL,
`bairro` VARCHAR(100) NULL DEFAULT NULL,
`cidade` VARCHAR(100) NULL DEFAULT NULL,
`estado` VARCHAR(2) NULL DEFAULT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_funcionarios`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_funcionarios` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NOT NULL,
`rg` VARCHAR(30) NULL,
`cpf` VARCHAR(20) NULL,
`email` VARCHAR(200) NULL,
`senha` VARCHAR(10) NOT NULL,
`cargo` VARCHAR(100) NOT NULL,
`nivel_acesso` VARCHAR(50) NOT NULL,
`telefone` VARCHAR(30) NULL,
`celular` VARCHAR(30) NULL,
`cep` VARCHAR(100) NOT NULL,
`endereco` VARCHAR(255) NULL,
`numero` VARCHAR(50) NULL,
`complemento` VARCHAR(200) NULL,
`bairro` VARCHAR(100) NULL,
`cidade` VARCHAR(100) NOT NULL,
`estado` VARCHAR(2) NOT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_livros`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_livros` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`titulo` VARCHAR(100) NOT NULL,
`autor` VARCHAR(45) NOT NULL,
`editora` VARCHAR(45) NOT NULL,
`isbn` VARCHAR(13) NOT NULL,
`ano` VARCHAR(4) NOT NULL,
`serie` VARCHAR(45) NULL,
`edicao` VARCHAR(45) NULL,
`idioma` VARCHAR(25) NOT NULL,
`tb_fornecedores_id` INT(8) NULL,
`piso` VARCHAR(45) NULL,
`corredor` VARCHAR(45) NULL,
`posicao` VARCHAR(45) NULL,
`secao` VARCHAR(45) NULL,
`disponibilidade` VARCHAR(15) NOT NULL,
`observacoes` VARCHAR(225) NULL,
`is_emprestado` TINYINT NULL,
PRIMARY KEY (`id`),
INDEX `fk_tb_livros_tb_fornecedores1_idx` (`tb_fornecedores_id` ASC),
CONSTRAINT `fk_tb_livros_tb_fornecedores1`
FOREIGN KEY (`tb_fornecedores_id`)
REFERENCES `applibrography`.`tb_fornecedores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_emprestimos`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_emprestimos` (
`id` INT(8) ZEROFILL NOT NULL AUTO_INCREMENT,
`data_emprestimo` DATETIME NULL,
`data_devolucao` DATETIME NULL DEFAULT NULL,
`observacoes` TEXT NULL DEFAULT NULL,
`tb_funcionarios_id` INT(8) NULL,
`tb_livros_id` INT(8) NULL,
`tb_livros_tb_fornecedores_id` INT(8) NULL,
`tb_leitores_id` INT(8) ZEROFILL NULL,
`data_entrega_agendada` DATETIME NULL,
`tb_funcionarios_iddevol` INT(8) NULL,
`static_id_emprestimo` INT(8) NULL,
PRIMARY KEY (`id`),
INDEX `fk_tb_emprestimos_tb_funcionarios1_idx` (`tb_funcionarios_id` ASC),
INDEX `fk_tb_emprestimos_tb_livros1_idx` (`tb_livros_id` ASC, `tb_livros_tb_fornecedores_id` ASC),
INDEX `fk_tb_emprestimos_tb_leitores1_idx` (`tb_leitores_id` ASC),
INDEX `fk_tb_emprestimos_tb_funcionarios2_idx` (`tb_funcionarios_iddevol` ASC),
CONSTRAINT `fk_tb_emprestimos_tb_funcionarios1`
FOREIGN KEY (`tb_funcionarios_id`)
REFERENCES `applibrography`.`tb_funcionarios` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_livros1`
FOREIGN KEY (`tb_livros_id`)
REFERENCES `applibrography`.`tb_livros` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_leitores1`
FOREIGN KEY (`tb_leitores_id`)
REFERENCES `applibrography`.`tb_leitores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_emprestimos_tb_funcionarios2`
FOREIGN KEY (`tb_funcionarios_iddevol`)
REFERENCES `applibrography`.`tb_funcionarios` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 10000000
DEFAULT CHARACTER SET = utf8;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_multa`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_multa` (
`idmulta` INT(8) NOT NULL AUTO_INCREMENT,
`dias_atraso` INT(6) NOT NULL,
`valor_multa` DECIMAL(10,2) NULL,
`esta_pago` TINYINT NULL,
`tb_leitores_id` INT(8) ZEROFILL NOT NULL,
`tb_emprestimos_id` INT(8) ZEROFILL NOT NULL,
PRIMARY KEY (`idmulta`, `tb_emprestimos_id`),
INDEX `fk_multa_tb_leitores1_idx` (`tb_leitores_id` ASC),
INDEX `fk_tb_multa_tb_emprestimos1_idx` (`tb_emprestimos_id` ASC),
CONSTRAINT `fk_multa_tb_leitores1`
FOREIGN KEY (`tb_leitores_id`)
REFERENCES `applibrography`.`tb_leitores` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_multa_tb_emprestimos1`
FOREIGN KEY (`tb_emprestimos_id`)
REFERENCES `applibrography`.`tb_emprestimos` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_opcoes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_opcoes` (
`id` INT NOT NULL AUTO_INCREMENT,
`data` VARCHAR(45) NOT NULL,
`parentid` INT NULL,
PRIMARY KEY (`id`),
INDEX `fk_Opcoes_Opcoes1_idx` (`parentid` ASC),
CONSTRAINT `fk_Opcoes_Opcoes1`
FOREIGN KEY (`parentid`)
REFERENCES `applibrography`.`tb_opcoes` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `applibrography`.`tb_recibos`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `applibrography`.`tb_recibos` (
`id` INT(8) NOT NULL AUTO_INCREMENT,
`emprestimo_id` INT(8) NULL,
`data_emprestimo` VARCHAR(45) NULL,
`data_devolucao_agendada` VARCHAR(45) NULL,
`data_entrega` VARCHAR(45) NULL,
`livro` VARCHAR(45) NULL,
`usuario` VARCHAR(45) NULL,
`tipo` VARCHAR(45) NULL,
`multa` VARCHAR(45) NULL,
`status` VARCHAR(45) NULL,
`funcionario` VARCHAR(45) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_leitores`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_leitores` (`id`, `nome`, `rg`, `cpf`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`, `tipo`, `is_locked`, `curso`, `curso_ano`, `qtd_emprestimos`, `emprestmax`, `observacoes`) VALUES (00000101, 'Leitor Teste', '5.432.234-1', '099.999.345-23', 'leitor@mail.com', '(42)98877-2299', '(42)98877-2299', '854670-000', 'Rua 1 de abril', '13', 'casa', 'Centro', 'Mallet', 'PR', 'Estudante', 0, 'Letras', '1', 0, 123, 'Ok');
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_fornecedores`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_fornecedores` (`id`, `nome`, `cnpj`, `email`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Fornecedor Teste', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_funcionarios`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_funcionarios` (`id`, `nome`, `rg`, `cpf`, `email`, `senha`, `cargo`, `nivel_acesso`, `telefone`, `celular`, `cep`, `endereco`, `numero`, `complemento`, `bairro`, `cidade`, `estado`) VALUES (1, 'Administrador', NULL, NULL, 'admin@admin', 'admin', 'Administrador', 'Administrador', NULL, NULL, '84570-000', NULL, NULL, NULL, NULL, 'Mallet', 'PR');
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_livros`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_livros` (`id`, `titulo`, `autor`, `editora`, `isbn`, `ano`, `serie`, `edicao`, `idioma`, `tb_fornecedores_id`, `piso`, `corredor`, `posicao`, `secao`, `disponibilidade`, `observacoes`, `is_emprestado`) VALUES (1, 'Alice no Pis das maravilhas', 'Lewis Carrol', 'Nope', '1231231231231', '1894', '1', '1', 'Portugues', 1, NULL, NULL, NULL, 'Literatura Universal', '5', 'ok', 0);
COMMIT;
-- -----------------------------------------------------
-- Data for table `applibrography`.`tb_opcoes`
-- -----------------------------------------------------
START TRANSACTION;
USE `applibrography`;
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (1, 'piso', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (2, 'corredor', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (3, 'secao', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (4, 'posicao', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (5, 'disponibilidade', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (6, 'printerurl', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (7, 'instituicaonome', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (8, 'instiuicaoendereco', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (17, 'piso 1', 1);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (20, 'corredor 1', 2);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (21, '1A', 3);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (22, 'Literatura Universal', 4);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (13, '0', 5);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (14, '3', 5);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (15, 'Biblioteca de Hogwarts', 7);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (16, 'Rua Epsilon, 888, Cidade Imaginaria, LA ', 8);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (9, 'tiposdeusuarios', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (18, 'Estudante', 9);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (19, 'Professor', 9);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (10, 'server url', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (11, 'libraryname', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (12, 'libraryAddress', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (23, '127.0.0.1', 12);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (24, 'Nome da Biblioteca', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (25, 'valor_multa', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (26, '300', 25);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (27, 'MsgReceipt', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (28, 'Obrigado!!', 27);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (29, 'theme', NULL);
INSERT INTO `applibrography`.`tb_opcoes` (`id`, `data`, `parentid`) VALUES (30, 'dark', 29);
COMMIT;
+59
View File
@@ -0,0 +1,59 @@
@echo off
Rem cls
:start
ECHO What do you want to do?
ECHO 1. Click 1 to setup a Server machine
ECHO 2. Click 2 to setup a Client Machine
ECHO 3. Click 3 to setup a Student Terminal
ECHO 4. Click 4 to cancel and quit
set /p choice=Type the number to proceed to setup.
rem if not '%choice%'=='' set choice=%choice:~0;1% ( don`t use this command, because it takes only first digit in the case you type more digits. After that for example choice 23455666 is choice 2 and you get "bye"
if '%choice%'=='' ECHO "%choice%" is not valid please try again
if '%choice%'=='1' goto server
if '%choice%'=='2' goto client
if '%choice%'=='3' goto terminal
if '%choice%'=='4' goto quit
ECHO.
goto start
:server
ECHO Starting installing and setup the server....
ECHO -------------------------------------------------
ECHO First take a note of your ip number shown above.
ECHO You will need this to install the clients and terminals:
for /f "delims=[] tokens=2" %%a in ('ping -4 -n 1 %ComputerName% ^| findstr [') do set NetworkIP=%%a
echo Network IP:
ECHO ------------------------------------------------------
ECHO %NetworkIP%
ECHO ------------------------------------------------------
pause
call setupFiles.bat
ECHO ok
ECHO -------------------------------------------------------
echo localhost>C:\Librography\ipserver
call setupJava.bat
call setupMysql.bat
ECHO
goto end
:client
ECHO Starting installing and setup the client....
ECHO -------------------------------------------------
call setupFiles.bat
Rem setup server ip
echo Enter the server ip :
set /p ipserver=
echo The server ip is %ipserver%
echo %ipserver%>C:\Librography\ipserver
call setupJava.bat
ECHO BYE
goto end
:terminal
ECHO TEST
goto end
:quit
ECHO Bye
goto end
:end
pause
Rem exit
+7
View File
@@ -0,0 +1,7 @@
Rem extract files
7z.exe x ../setup/data -oC:\ -aoa
pause
+42
View File
@@ -0,0 +1,42 @@
Rem check java version
@echo off
cls
setlocal ENABLEEXTENSIONS
set KEY_NAME="HKLM\SOFTWARE\JavaSoft\Java Runtime Environment"
set VALUE_NAME=CurrentVersion
::
:: get the current version
::
FOR /F "usebackq skip=2 tokens=3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO (
set ValueValue=%%A
)
if defined ValueValue (
@echo the current Java runtime is %ValueValue%
) else (
@echo %KEY_NAME%\%VALUE_NAME% not found.
goto end
)
set JAVA_CURRENT="HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\%ValueValue%"
set JAVA_HOME=JavaHome
::
:: get the javahome
::
FOR /F "usebackq skip=2 tokens=3*" %%A IN (`REG QUERY %JAVA_CURRENT% /v %JAVA_HOME% 2^>nul`) DO (
set JAVA_PATH=%%A %%B
)
echo the path of the current Java JVM according to the registry is
echo %JAVA_PATH%
echo.
echo now if we try it :
"%JAVA_PATH%\bin\java.exe" -version
:end
Rem if %ValueValue% ==1.8
if %ValueValue%==1.8 (
echo "Java 8 encontrado"
pause) else (echo Java versão 8 não encontrado: você quer abrir a página de download?
START Https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
pause)
+58
View File
@@ -0,0 +1,58 @@
@echo off
:start
PATH=C:\Program Files\MySQL\MySQL Server 5.7\bin;%path%
netstat -o -n -a | findstr 3306
if %ERRORLEVEL% equ 0 goto FOUND
echo MySql not found or not usisng default port 3306...
ECHO Do you wanto open open browser to download it?
ECHO 1. yes
ECHO 2. no
set /p choice=Choose your option.
if '%choice%'=='' ECHO "%choice%" is not valid please try again
if '%choice%'=='1' goto open
if '%choice%'=='2' goto FIN
ECHO.
goto start
:open
echo opening the Mysql download link....
pause
START Https://downloads.mysql.com/archives/get/p/25/file/mysql-installer-web-community-5.7.15.0.msi
ECHO 1 - Download the setup from link opening on browser and after install and then we will continue the setup
ECHO 2 - Install with optiion "Only Server" and setup a root password
ECHO 3 - take a note of the root password, fisnish the installer and continue this setup
pause
Rem :continue
Rem echo ok
goto start
Rem goto FIN
:FOUND
echo port found. It mean the Mysql is installed
echo we can continue the setup...
pause
:FIN
echo .
echo .
@echo off
rem ------------------------------------------------
echo Creating access to user. Waiting ...
echo Enter the MySql root password:
set /p rootpassword=
set dbname=applibrography
set dbuser=applibrography
set userpassword=gowl
Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p"
SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin
mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;"
mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';"
mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';"
mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;"
mysql -uroot -p%rootpassword% --execute="source script.sql"
echo Done.
echo "MySQL user created."
echo "Username: %dbuser%"
echo "Password: %userpassword%"
rem ------------------------------------------------
echo .
echo .
+62
View File
@@ -0,0 +1,62 @@
@echo off
:start
PATH=C:\Librography_data\postgres\bin;%path%
netstat -o -n -a | findstr 5432
if %ERRORLEVEL% equ 0 goto FOUND
echo Postgresql not found or not usisng default port 5432...
ECHO Do you wanto open open browser to download it?
ECHO 1. yes
ECHO 2. no
set /p choice=Choose your option.
if '%choice%'=='' ECHO "%choice%" is not valid please try again
if '%choice%'=='1' goto open
if '%choice%'=='2' goto FIN
ECHO.
goto start
:open
echo opening the Postgresql download link....
pause
START Https://www.enterprisedb.com/postgresql-tutorial-resources-training?uuid=ea5c8104-3940-4ed1-b427-81cf19781581&campaignId=70138000000rYFmAAM
ECHO 1 - Download the setup from link opening on browser and after install and then we will continue the setup
ECHO 2 - Install with optiion "Only Server" and setup a root password
ECHO 3 - take a note of the root password, fisnish the installer and continue this setup
Rem %Downloads%/postgresql-10.19-1-windows-x64.exe --mode unattended --unattendedmodeui minimal --superpassword MIRANDA --prefix C:\Librography_data\postgres --datadir C:\Librography_data\postgres\data
pause
Rem :continue
Rem echo ok
goto start
Rem goto FIN
:FOUND
echo port found. It mean the Postgresql is installed
echo we can continue the setup...
pause
:FIN
echo .
echo .
@echo off
rem ------------------------------------------------
echo Creating access to user. Waiting ...
echo Enter the Postgresql user password:
set /p rootpassword=
set dbname=applibrography
set dbuser=applibrography
set userpassword=gowl
set PGPASSWORD=MIRANDA
Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p"
SET PATH=%PATH%;C:\Librography_data\postgres\bin
psql -U postgres -c "CREATE DATABASE %dbname%;"
psql -U postgres -c "CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';"
psql -U postgres -c "GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';"
psql -U postgres -c "FLUSH PRIVILEGES;"
psql -U postgres -c "source script-posgresql.sql"
echo Done.
echo "Postgresql user created."
echo "Username: %dbuser%"
echo "Password: %userpassword%"
rem ------------------------------------------------
echo .
echo .
View File
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="Librography" default="default" basedir=".">
<description>Builds, tests, and runs the project Librography.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="Librography-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
</project>
+4
View File
@@ -0,0 +1,4 @@
#Sun, 05 Dec 2021 03:42:23 -0200
/home/sandman/Desktop/Librography=
+76
View File
@@ -0,0 +1,76 @@
!SESSION 2021-06-16 21:34:24.616 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.8
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault
!ENTRY com.jaspersoft.studio 1 0 2021-06-16 21:34:32.703
!MESSAGE Starting JaspersoftStudio bundle - Version: 6.17.0.final
!ENTRY org.eclipse.egit.ui 2 0 2021-06-16 21:34:35.566
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\flash'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.jface 2 0 2021-06-16 21:48:06.852
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2021-06-16 21:48:06.852
!MESSAGE A conflict occurred for CTRL+SHIFT+K:
Binding(CTRL+SHIFT+K,
ParameterizedCommand(Command(org.eclipse.ui.edit.findPrevious,Find Previous,
Find previous item,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1343b038,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+K,
ParameterizedCommand(Command(org.eclipse.ui.edit.findPrevious,Find Previous,
Find previous item,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1343b038,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.xtext.ui.embeddedTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2021-06-16 21:48:06.853
!MESSAGE A conflict occurred for CTRL+K:
Binding(CTRL+K,
ParameterizedCommand(Command(org.eclipse.ui.edit.findNext,Find Next,
Find next item,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6551611e,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+K,
ParameterizedCommand(Command(org.eclipse.ui.edit.findNext,Find Next,
Find next item,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6551611e,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.xtext.ui.embeddedTextEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2021-06-16 21:48:06.853
!MESSAGE A conflict occurred for F2:
Binding(F2,
ParameterizedCommand(Command(org.eclipse.ui.edit.rename,Rename,
Rename the selected item,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@295cab5d,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(F2,
ParameterizedCommand(Command(org.eclipse.ui.edit.text.showInformation,Show Tooltip Description,
Displays information for the current caret location in a focused hover,
Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7af59617,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.xtext.ui.embeddedTextEditorScope,,,system)
!ENTRY org.eclipse.core.resources 2 10035 2021-06-16 22:46:17.042
!MESSAGE The workspace will exit with unsaved changes in this session.
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
</section>
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><emptyDataAdapter class="net.sf.jasperreports.data.empty.EmptyDataAdapterImpl"><name>One Empty Record</name><recordCount>1</recordCount></emptyDataAdapter>
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><jdbcDataAdapter class="net.sf.jasperreports.data.jdbc.JdbcDataAdapterImpl"><name>Sample DB</name><driver>org.hsqldb.jdbcDriver</driver><username>sa</username><password/><savePassword>true</savePassword><url>jdbc:hsqldb:res:/defaults/hsqldb/test</url><database/><serverAddress/></jdbcDataAdapter>
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><jdbcDataAdapter class="net.sf.jasperreports.data.jdbc.JdbcDataAdapterImpl"><name>MySqlLocalHost</name><driver>com.mysql.jdbc.Driver</driver><username>root</username><password>goldenowl</password><savePassword>true</savePassword><url>jdbc:mysql://localhost/applibrography</url><database/><serverAddress/><classpath>C:\Program Files\NetBeans 8.2\ide\modules\ext\mysql-connector-java-5.1.23-bin.jar</classpath></jdbcDataAdapter>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
merge_provider_set=true
@@ -0,0 +1,12 @@
com.jaspersoft.studio.myreports.created=true
com.jaspersoft.studio.parameterset.Http\ Data\ Adapters\ Built\ In\ Parameters=PFBhcmFtZXRlclNldD48bmFtZT5IdHRwIERhdGEgQWRhcHRlcnMgQnVpbHQgSW4gUGFyYW1ldGVy\nczwvbmFtZT48YnVpbHRJbj50cnVlPC9idWlsdEluPjxwYXJhbWV0ZXJzPjxuYW1lPkhUVFBfREFU\nQV9VUkw8L25hbWU+PGRlc2NyaXB0aW9uPlVSTCBUbyBnZXQgZmlsZSBmcm9tPC9kZXNjcmlwdGlv\nbj48Zm9yUHJvbXB0aW5nPmZhbHNlPC9mb3JQcm9tcHRpbmc+PHZhbHVlQ2xhc3NOYW1lPmphdmEu\nbGFuZy5TdHJpbmc8L3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9uPjx0ZXh0\nPiJodHRwOi8vc29tZXVybC5jb20iPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48L3Bh\ncmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+SFRUUF9EQVRBX1VTRVJOQU1FPC9uYW1lPjxkZXNj\ncmlwdGlvbj5Vc2VyIG5hbWU8L2Rlc2NyaXB0aW9uPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclBy\nb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2YS5sYW5nLlN0cmluZzwvdmFsdWVDbGFzc05hbWU+\nPGRlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PHRleHQ+InVzZXIiPC90ZXh0PjwvZGVmYXVsdFZhbHVl\nRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+SFRUUF9EQVRBX1BBU1NX\nT1JEPC9uYW1lPjxkZXNjcmlwdGlvbj5QYXNzd29yZDwvZGVzY3JpcHRpb24+PGZvclByb21wdGlu\nZz5mYWxzZTwvZm9yUHJvbXB0aW5nPjx2YWx1ZUNsYXNzTmFtZT5qYXZhLmxhbmcuU3RyaW5nPC92\nYWx1ZUNsYXNzTmFtZT48ZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48dGV4dD4icGFzcyI8L3RleHQ+\nPC9kZWZhdWx0VmFsdWVFeHByZXNzaW9uPjwvcGFyYW1ldGVycz48cGFyYW1ldGVycz48bmFtZT5I\nVFRQX0RBVEFfVVJMX1BBUkFNRVRFUl88L25hbWU+PGRlc2NyaXB0aW9uPlVSTCBQYXJhbWV0ZXIg\ncHJlZml4PC9kZXNjcmlwdGlvbj48Zm9yUHJvbXB0aW5nPmZhbHNlPC9mb3JQcm9tcHRpbmc+PHZh\nbHVlQ2xhc3NOYW1lPmphdmEubGFuZy5TdHJpbmc8L3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFs\ndWVFeHByZXNzaW9uPjx0ZXh0PiJwcm0iPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48\nL3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+SFRUUF9EQVRBX1BPU1RfUEFSQU1FVEVSXzwv\nbmFtZT48ZGVzY3JpcHRpb24+UE9TVCByZXF1ZXN0IHBhcmFtZXRlciBwcmVmaXg8L2Rlc2NyaXB0\naW9uPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2\nYS5sYW5nLlN0cmluZzwvdmFsdWVDbGFzc05hbWU+PGRlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PHRl\neHQ+InBybSI8L3RleHQ+PC9kZWZhdWx0VmFsdWVFeHByZXNzaW9uPjwvcGFyYW1ldGVycz48cGFy\nYW1ldGVycz48bmFtZT5IVFRQX0RBVEFfSEVBREVSX1BBUkFNRVRFUl88L25hbWU+PGRlc2NyaXB0\naW9uPkh0dHAgSGVhZGVyIHBhcmFtZXRlciBwcmVmaXg8L2Rlc2NyaXB0aW9uPjxmb3JQcm9tcHRp\nbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2YS5sYW5nLlN0cmluZzwv\ndmFsdWVDbGFzc05hbWU+PGRlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PHRleHQ+InZhbHVlIjwvdGV4\ndD48L2RlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PC9wYXJhbWV0ZXJzPjwvUGFyYW1ldGVyU2V0Pg\=\=
com.jaspersoft.studio.parameterset.Jaspersoft\ Server\ Built\ In\ Parameters=PFBhcmFtZXRlclNldD48bmFtZT5KYXNwZXJzb2Z0IFNlcnZlciBCdWlsdCBJbiBQYXJhbWV0ZXJz\nPC9uYW1lPjxidWlsdEluPnRydWU8L2J1aWx0SW4+PHBhcmFtZXRlcnM+PG5hbWU+TG9nZ2VkSW5V\nc2VyPC9uYW1lPjxkZXNjcmlwdGlvbj5Ob3QgdXNhYmxlIGluIHF1ZXJ5IGlucHV0IGNvbnRyb2ws\nIGJ1dCBpcyB1c2VkIGFzIHBhcmFtZXRlciB0byByZXBvcnQ8L2Rlc2NyaXB0aW9uPjxmb3JQcm9t\ncHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+Y29tLmphc3BlcnNvZnQu\namFzcGVyc2VydmVyLmFwaS5tZXRhZGF0YS51c2VyLmRvbWFpbi5jbGllbnQuVXNlckltcGw8L3Zh\nbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9uPjx0ZXh0Pm5ldyBjb20uamFzcGVy\nc29mdC5qYXNwZXJzZXJ2ZXIuYXBpLm1ldGFkYXRhLnVzZXIuZG9tYWluLmNsaWVudC5Vc2VySW1w\nbCgpPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRl\ncnM+PG5hbWU+TG9nZ2VkSW5Vc2VybmFtZTwvbmFtZT48ZGVzY3JpcHRpb24+T2YgbG9nZ2VkIGlu\nIHVzZXI8L2Rlc2NyaXB0aW9uPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFs\ndWVDbGFzc05hbWU+amF2YS5sYW5nLlN0cmluZzwvdmFsdWVDbGFzc05hbWU+PGRlZmF1bHRWYWx1\nZUV4cHJlc3Npb24+PHRleHQ+ImpvZXVzZXIiPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lv\nbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+TG9nZ2VkSW5Vc2VyRnVsbE5hbWU8L25h\nbWU+PGRlc2NyaXB0aW9uPk9mIGxvZ2dlZCBpbiB1c2VyPC9kZXNjcmlwdGlvbj48Zm9yUHJvbXB0\naW5nPmZhbHNlPC9mb3JQcm9tcHRpbmc+PHZhbHVlQ2xhc3NOYW1lPmphdmEubGFuZy5TdHJpbmc8\nL3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9uPjx0ZXh0PiJKb2UgU21pdGgi\nPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+\nPG5hbWU+TG9nZ2VkSW5Vc2VyRW1haWxBZGRyZXNzPC9uYW1lPjxkZXNjcmlwdGlvbj5PZiBsb2dn\nZWQgaW4gdXNlcjwvZGVzY3JpcHRpb24+PGZvclByb21wdGluZz5mYWxzZTwvZm9yUHJvbXB0aW5n\nPjx2YWx1ZUNsYXNzTmFtZT5qYXZhLmxhbmcuU3RyaW5nPC92YWx1ZUNsYXNzTmFtZT48ZGVmYXVs\ndFZhbHVlRXhwcmVzc2lvbj48dGV4dD4iam9lQHNvbWUuZW1haWwiPC90ZXh0PjwvZGVmYXVsdFZh\nbHVlRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+TG9nZ2VkSW5Vc2Vy\nRW5hYmxlZDwvbmFtZT48ZGVzY3JpcHRpb24+SXMgbG9nZ2VkIGluIHVzZXIgZW5hYmxlZD88L2Rl\nc2NyaXB0aW9uPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05h\nbWU+amF2YS5sYW5nLkJvb2xlYW48L3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNz\naW9uPjx0ZXh0PkJvb2xlYW4uVFJVRTwvdGV4dD48L2RlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PC9w\nYXJhbWV0ZXJzPjxwYXJhbWV0ZXJzPjxuYW1lPkxvZ2dlZEluVXNlckV4dGVybmFsbHlEZWZpbmVk\nPC9uYW1lPjxkZXNjcmlwdGlvbj5JcyBsb2dnZWQgaW4gdXNlciBleHRlcm5hbGx5IGRlZmluZWQ/\nIGllLiBhdXRoZW50aWNhdGVkIGV4dGVybmFsbHk8L2Rlc2NyaXB0aW9uPjxmb3JQcm9tcHRpbmc+\nZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2YS5sYW5nLkJvb2xlYW48L3Zh\nbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9uPjx0ZXh0PkJvb2xlYW4uRkFMU0U8\nL3RleHQ+PC9kZWZhdWx0VmFsdWVFeHByZXNzaW9uPjwvcGFyYW1ldGVycz48cGFyYW1ldGVycz48\nbmFtZT5Mb2dnZWRJblVzZXJUZW5hbnRJZDwvbmFtZT48ZGVzY3JpcHRpb24+T2YgbG9nZ2VkIGlu\nIHVzZXIuIE9ubHkgcmVsZXZhbnQgaW4gUHJvL0VudGVycHJpc2UuPC9kZXNjcmlwdGlvbj48Zm9y\nUHJvbXB0aW5nPmZhbHNlPC9mb3JQcm9tcHRpbmc+PHZhbHVlQ2xhc3NOYW1lPmphdmEubGFuZy5T\ndHJpbmc8L3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9uPjx0ZXh0PjwvdGV4\ndD48L2RlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PC9wYXJhbWV0ZXJzPjxwYXJhbWV0ZXJzPjxuYW1l\nPkxvZ2dlZEluVXNlclJvbGVzPC9uYW1lPjxkZXNjcmlwdGlvbj5DdXJyZW50IHNldCBvZiByb2xl\ncyBvZiBsb2dnZWQgaW4gdXNlci4gVXNlZnVsIGZvciAkWCBwYXJhbWV0ZXI8L2Rlc2NyaXB0aW9u\nPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2YS51\ndGlsLkNvbGxlY3Rpb248L3ZhbHVlQ2xhc3NOYW1lPjxuZXN0ZWRUeXBlTmFtZT5qYXZhLmxhbmcu\nU3RyaW5nPC9uZXN0ZWRUeXBlTmFtZT48ZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48dGV4dD5uZXcg\nQXJyYXlMaXN0KCk8L3RleHQ+PC9kZWZhdWx0VmFsdWVFeHByZXNzaW9uPjwvcGFyYW1ldGVycz48\ncGFyYW1ldGVycz48bmFtZT5Mb2dnZWRJblVzZXJBdHRyaWJ1dGVzPC9uYW1lPjxkZXNjcmlwdGlv\nbj5Ob3QgdXNhYmxlIGluIHF1ZXJ5IGlucHV0IGNvbnRyb2wsIGJ1dCBpcyB1c2VkIGFzIHBhcmFt\nZXRlciB0byByZXBvcnQuIEVtcHR5IG1hcCBpZiBubyBhdHRyaWJ1dGVzPC9kZXNjcmlwdGlvbj48\nZm9yUHJvbXB0aW5nPmZhbHNlPC9mb3JQcm9tcHRpbmc+PHZhbHVlQ2xhc3NOYW1lPmphdmEudXRp\nbC5NYXA8L3ZhbHVlQ2xhc3NOYW1lPjxuZXN0ZWRUeXBlTmFtZT5qYXZhLmxhbmcuU3RyaW5nPC9u\nZXN0ZWRUeXBlTmFtZT48ZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48dGV4dD5uZXcgSGFzaE1hcCgp\nPC90ZXh0PjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+\nPG5hbWU+TG9nZ2VkSW5Vc2VyQXR0cmlidXRlTmFtZXM8L25hbWU+PGRlc2NyaXB0aW9uPlVzZXIg\ncHJvZmlsZSBhdHRyaWJ1dGUgbmFtZXMuIFVzZWZ1bCBmb3IgJFggcGFyYW1ldGVycy4gRW1wdHkg\nY29sbGVjdGlvbiBpZiBubyBhdHRyaWJ1dGVzPC9kZXNjcmlwdGlvbj48Zm9yUHJvbXB0aW5nPmZh\nbHNlPC9mb3JQcm9tcHRpbmc+PHZhbHVlQ2xhc3NOYW1lPmphdmEudXRpbC5Db2xsZWN0aW9uPC92\nYWx1ZUNsYXNzTmFtZT48bmVzdGVkVHlwZU5hbWU+amF2YS5sYW5nLlN0cmluZzwvbmVzdGVkVHlw\nZU5hbWU+PGRlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PHRleHQ+bmV3IEFycmF5TGlzdCgpPC90ZXh0\nPjwvZGVmYXVsdFZhbHVlRXhwcmVzc2lvbj48L3BhcmFtZXRlcnM+PHBhcmFtZXRlcnM+PG5hbWU+\nTG9nZ2VkSW5Vc2VyQXR0cmlidXRlVmFsdWVzPC9uYW1lPjxkZXNjcmlwdGlvbj48L2Rlc2NyaXB0\naW9uPjxmb3JQcm9tcHRpbmc+ZmFsc2U8L2ZvclByb21wdGluZz48dmFsdWVDbGFzc05hbWU+amF2\nYS51dGlsLkNvbGxlY3Rpb248L3ZhbHVlQ2xhc3NOYW1lPjxkZWZhdWx0VmFsdWVFeHByZXNzaW9u\nPjx0ZXh0Pm5ldyBBcnJheUxpc3QoKTwvdGV4dD48L2RlZmF1bHRWYWx1ZUV4cHJlc3Npb24+PC9w\nYXJhbWV0ZXJzPjwvUGFyYW1ldGVyU2V0Pg\=\=
com.jaspersoft.studio.parametersets=SmFzcGVyc29mdCBTZXJ2ZXIgQnVpbHQgSW4gUGFyYW1ldGVycwpIdHRwIERhdGEgQWRhcHRlcnMg\nQnVpbHQgSW4gUGFyYW1ldGVycwo\=
com.jaspersoft.studio.theme.ui.dark=pageBackground\=0,0,0\ncontainerMarginColor\=0,255,0\ngridColor\=255,255,255\nelementDesignBorderColor\=255,255,0\npageMarginColor\=255,0,0\n
com.jaspersoft.studio.theme.ui.light=pageBackground\=255,255,255\ncontainerMarginColor\=170,168,255\ngridColor\=192,192,192\nelementDesignBorderColor\=0,0,0\npageMarginColor\=170,168,255\n
eclipse.preferences.version=1
jssbranding_product_mainbundle=com.jaspersoft.studio.rcp
jssbranding_product_name=Jaspersoft Studio Community Edition
jssbranding_product_version=6.17.0.final
net.sf.jasperreports.JRPROPERTIES=com.jaspersoft.jasperreports.components.customvisualization.phantomjs.executable.path\=phantomjs\nnet.sf.jasperreports.web.resource.pattern.customvisualization.scripts\=com/jaspersoft/jasperreports/customvisualization/resources/require/.*\ncom.jaspersoft.jasperreports.components.customvisualization.require.js\=file\\\:/C\\\:/Program Files/TIBCO/Jaspersoft Studio-6.17.0/configuration/org.eclipse.osgi/28/0/.cp/resources/scripts/require-2.1.6.src.js\nnet.sf.jasperreports.compiler.temp.dir\=C\\\:\\\\Program Files\\\\TIBCO\\\\Jaspersoft Studio-6.17.0\nnet.sf.jasperreports.chrome.enabled\=true\nnet.sf.jasperreports.compiler.classpath\=C\\\:\\\\Program Files\\\\TIBCO\\\\Jaspersoft Studio-6.17.0\\\\\\\\plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar\n
net.sf.jasperreports.chrome.enabled=true
@@ -0,0 +1,3 @@
description.disableLinking=false
eclipse.preferences.version=1
version=1
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.gef.psize=125
org.eclipse.gef.pstate=4
@@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1623890075807">\r\n <vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n <vm id\="1623890075807" name\="adoptopenjdk_jre" path\="C\:\\Program Files\\TIBCO\\Jaspersoft Studio-6.17.0\\features\\jre.win32.win32.x86_64.feature_11.0.8\\adoptopenjdk_jre"/>\r\n </vmType>\r\n</vmSettings>\r\n
@@ -0,0 +1,9 @@
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.internal.ui.navigator.layout=2
org.eclipse.jdt.internal.ui.navigator.librariesnode=true
org.eclipse.jdt.ui.formatterprofiles.version=21
spelling_locale_initialized=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
platformState=1623889939187
quickStart=false
tipsAndTricks=false
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.jdt.java.ui.filters.HideEmptyInnerPackages\:org.eclipse.jdt.java.ui.filters.HidePackageDeclaration\:org.eclipse.jdt.java.ui.filters.HideOutputFolder\:org.eclipse.jdt.java.ui.filters.HideInnerClassFiles\:org.eclipse.ui.navigator.resources.filters.startsWithDot\:org.eclipse.jdt.java.ui.filters.HideEmptyLibraryContainers\:org.eclipse.jdt.java.ui.filters.HideImportDeclaration\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.jdt.java.ui.filters.HideSyntheticMembers\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\:
@@ -0,0 +1,3 @@
PROMPT_WHEN_SAVEABLE_STILL_OPEN=false
eclipse.preferences.version=1
showIntro=false
@@ -0,0 +1,10 @@
//org.eclipse.ui.commands/state/com.jaspersoft.studio.editor.context.type/org.eclipse.ui.commands.radioState=project
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
eclipse.preferences.version=1
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_END=240,240,240
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=242,242,242
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
pref_merge_provider=CollabNet Desktop
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
INDEX VERSION 1.131+G:\Desktop\Dev\Netbeans\Librography\src\.metadata\.plugins\org.eclipse.jdt.core
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="C:\Program Files\TIBCO\Jaspersoft Studio-6.17.0\features\jre.win32.win32.x86_64.feature_11.0.8\adoptopenjdk_jre" stamp="1623889919112"/>
</dirs>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<libraryInfos>
<libraryInfo home="C:\Program Files\TIBCO\Jaspersoft Studio-6.17.0\features\jre.win32.win32.x86_64.feature_11.0.8\adoptopenjdk_jre" version="11.0.8"/>
</libraryInfos>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1623890068061_0" label="Java Main Sources" name="Java Main Sources"/>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1623890068076_1" label="Java Test Sources" name="Java Test Sources"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1623890086912_2" label="Window Working Set" name="Aggregate for window 1623890086911"/>
</workingSetManager>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry exported="true" kind="con" path="net.sf.jasperreports.JR_CONTAINER"/>
<classpathentry exported="true" kind="con" path="com.jaspersoft.server.JRS_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MyReports</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.jasperreports.builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>net.sf.jasperreports.nature</nature>
</natures>
</projectDescription>
Binary file not shown.
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="29015d4f-71ec-4baa-866f-92d54fb73734">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="MySqlLocalHost"/>
<queryString language="SQL">
<![CDATA[ gowl.tb_emprestimos.tb_funcionarios_id ]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="79" splitType="Stretch"/>
</title>
<pageHeader>
<band height="35" splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="61" splitType="Stretch"/>
</columnHeader>
<detail>
<band height="125" splitType="Stretch"/>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>
Binary file not shown.
+376
View File
@@ -0,0 +1,376 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Cherry" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="13acf49e-4913-4d1b-bccc-113817ad15d1">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="MySqlLocalHost"/>
<style name="Title" forecolor="#FFFFFF" fontName="Times New Roman" fontSize="50" isBold="false"/>
<style name="SubTitle" forecolor="#CCCCCC" fontName="Times New Roman" fontSize="18" isBold="false"/>
<style name="Column header" forecolor="#666666" fontName="Times New Roman" fontSize="14" isBold="true"/>
<style name="Detail" mode="Transparent" fontName="Times New Roman"/>
<style name="Row" mode="Transparent" fontName="Times New Roman" pdfFontName="Times-Roman">
<conditionalStyle>
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
<style mode="Opaque" backcolor="#F0EFEF"/>
</conditionalStyle>
</style>
<queryString language="SQL">
<![CDATA[select * from tb_recibos]]>
</queryString>
<field name="data_emprestimo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="data_emprestimo"/>
<property name="com.jaspersoft.studio.field.label" value="data_emprestimo"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="id" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="id"/>
<property name="com.jaspersoft.studio.field.label" value="id"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="emprestimo_id" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="emprestimo_id"/>
<property name="com.jaspersoft.studio.field.label" value="emprestimo_id"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="data_devolucao_agendada" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="data_devolucao_agendada"/>
<property name="com.jaspersoft.studio.field.label" value="data_devolucao_agendada"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="data_entrega" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="data_entrega"/>
<property name="com.jaspersoft.studio.field.label" value="data_entrega"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="livro" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="livro"/>
<property name="com.jaspersoft.studio.field.label" value="livro"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="usuario" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="usuario"/>
<property name="com.jaspersoft.studio.field.label" value="usuario"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="tipo" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="tipo"/>
<property name="com.jaspersoft.studio.field.label" value="tipo"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="multa" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="multa"/>
<property name="com.jaspersoft.studio.field.label" value="multa"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="status" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="status"/>
<property name="com.jaspersoft.studio.field.label" value="status"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="funcionario" class="java.lang.String">
<property name="com.jaspersoft.studio.field.name" value="funcionario"/>
<property name="com.jaspersoft.studio.field.label" value="funcionario"/>
<property name="com.jaspersoft.studio.field.tree.path" value="tb_recibos"/>
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="132" splitType="Stretch">
<image>
<reportElement x="456" y="0" width="99" height="132" uuid="97705585-a0b5-4ec7-86f3-ae10c220e6af"/>
<imageExpression><![CDATA["cherry.jpg"]]></imageExpression>
</image>
<frame>
<reportElement mode="Opaque" x="0" y="0" width="451" height="95" backcolor="#000000" uuid="6c6ca4e1-17cd-4913-93d6-5e670ea9ae8a"/>
<staticText>
<reportElement style="Title" x="0" y="0" width="370" height="66" uuid="a2a2cac8-5a7d-4487-8c54-dab235ce4e21"/>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[Cherry Title]]></text>
</staticText>
<staticText>
<reportElement style="SubTitle" x="157" y="66" width="249" height="29" uuid="8978eac3-c578-41c9-837e-48d2b0184642"/>
<textElement>
<font size="22" isBold="false"/>
</textElement>
<text><![CDATA[Cherry SubTitle]]></text>
</staticText>
</frame>
<frame>
<reportElement mode="Opaque" x="0" y="100" width="451" height="32" forecolor="#000000" backcolor="#CC0000" uuid="e3c14156-5b51-4201-918b-97fdc012e5d4"/>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement x="307" y="12" width="144" height="20" forecolor="#FFFFFF" uuid="5c3301e7-a737-4c59-8a2f-a6c79fd1adb8"/>
<textElement textAlignment="Right">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</frame>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="26" splitType="Stretch">
<staticText>
<reportElement style="Column header" x="0" y="7" width="50" height="18" forecolor="#000000" uuid="2216f7be-c63f-4470-9826-41e9ebebc9eb">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d890e1c1-5684-4c27-88b1-499f8970f6ad"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[data_emprestimo]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="50" y="7" width="50" height="18" forecolor="#000000" uuid="6ae9e8b5-1b65-490b-bf0b-af886f5c8ce2">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9e47ef95-59b7-46f2-89fe-2556030140bb"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[id]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="100" y="7" width="50" height="18" forecolor="#000000" uuid="05ff3074-20d9-431d-a609-f3c74d67ca3e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3136a413-edde-48e2-985d-dc7fcf28fe00"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[emprestimo_id]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="150" y="7" width="50" height="18" forecolor="#000000" uuid="b8580f74-2dfb-46d0-9f36-1d06bf11fd2e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="0942822c-9757-4d85-975e-4f01c54a64bd"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[data_devolucao_agendada]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="200" y="7" width="50" height="18" forecolor="#000000" uuid="67ff6677-1a3a-4b25-94f2-e26cfcda2018">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="f79b9fd0-2a75-489c-b019-eb05ab9cb712"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[data_entrega]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="250" y="7" width="50" height="18" forecolor="#000000" uuid="b9bc706d-92c9-4e7b-96d3-e6cef5bb2ba5">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="37ed5007-a5d5-4c78-af3e-37294fd294e5"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[livro]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="300" y="7" width="50" height="18" forecolor="#000000" uuid="b9b1a22d-0115-414e-bdfc-32d72e21588a">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="5d1bb69c-4034-42b9-9a7a-b1dbff2a9c9c"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[usuario]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="350" y="7" width="50" height="18" forecolor="#000000" uuid="4c69d593-5c64-4644-8500-296c5d727247">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3398507f-56bb-441b-944c-ba3dd058154b"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[tipo]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="400" y="7" width="50" height="18" forecolor="#000000" uuid="c5ce8252-1283-4e29-8a49-b48a3c7db839">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d039641f-b80b-4dd9-adaf-b49331616bfb"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[multa]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="450" y="7" width="50" height="18" forecolor="#000000" uuid="fece9269-0dfd-4256-85e4-2e075e57926b">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="0127de5f-966c-44f0-ada8-8eb3d3cc9979"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[status]]></text>
</staticText>
<staticText>
<reportElement style="Column header" x="500" y="7" width="50" height="18" forecolor="#000000" uuid="442eb29f-3152-465f-a1ce-fd7b4ac8c83a">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d5c5a03d-bb38-4e82-9e70-0bc4bb7c32c4"/>
</reportElement>
<textElement>
<font isBold="false"/>
</textElement>
<text><![CDATA[funcionario]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="18" splitType="Stretch">
<frame>
<reportElement style="Row" mode="Opaque" x="0" y="0" width="555" height="18" uuid="b50221b5-8254-440b-8c6f-1f0b138c9259"/>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="0" y="0" width="50" height="18" uuid="3447f2f7-ab9b-46da-b342-437025be4146">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d890e1c1-5684-4c27-88b1-499f8970f6ad"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{data_emprestimo}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="50" y="0" width="50" height="18" uuid="d843a774-b8c2-4186-bdb0-37367700a92d">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="9e47ef95-59b7-46f2-89fe-2556030140bb"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{id}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="100" y="0" width="50" height="18" uuid="e7c6d6ed-80b1-4b45-a385-75422e0fb95f">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3136a413-edde-48e2-985d-dc7fcf28fe00"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{emprestimo_id}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="150" y="0" width="50" height="18" uuid="c9336283-fa61-4917-98c1-ae830e9a815f">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="0942822c-9757-4d85-975e-4f01c54a64bd"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{data_devolucao_agendada}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="200" y="0" width="50" height="18" uuid="41fa1d56-79db-49ad-a372-1007963d0045">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="f79b9fd0-2a75-489c-b019-eb05ab9cb712"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{data_entrega}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="250" y="0" width="50" height="18" uuid="163b99e0-f65f-4932-bedd-e96acbe72970">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="37ed5007-a5d5-4c78-af3e-37294fd294e5"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{livro}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="300" y="0" width="50" height="18" uuid="409141db-a763-4d0e-a85c-8cb3640e5269">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="5d1bb69c-4034-42b9-9a7a-b1dbff2a9c9c"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="350" y="0" width="50" height="18" uuid="9deda814-95d1-4d71-9b3e-20152766c31e">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="3398507f-56bb-441b-944c-ba3dd058154b"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{tipo}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="400" y="0" width="50" height="18" uuid="cf890b88-6457-494e-90f7-ebc1224d4d71">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d039641f-b80b-4dd9-adaf-b49331616bfb"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{multa}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="450" y="0" width="50" height="18" uuid="26b953dd-d6be-4076-9b32-e5327428bf8d">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="0127de5f-966c-44f0-ada8-8eb3d3cc9979"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement style="Detail" positionType="Float" x="500" y="0" width="50" height="18" uuid="6debca13-8afd-4af0-956b-15f753da9c2a">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d5c5a03d-bb38-4e82-9e70-0bc4bb7c32c4"/>
</reportElement>
<textElement>
<font size="14"/>
</textElement>
<textFieldExpression><![CDATA[$F{funcionario}]]></textFieldExpression>
</textField>
</frame>
</band>
</detail>
<columnFooter>
<band height="7" splitType="Stretch">
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="555" height="1" uuid="1133a906-5b71-476e-9f3e-bc97c97058c1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
</band>
</columnFooter>
<pageFooter>
<band height="25" splitType="Stretch">
<frame>
<reportElement mode="Opaque" x="0" y="1" width="555" height="24" forecolor="#D0B48E" backcolor="#000000" uuid="729c3539-f946-4d0e-a0a7-bda2815ea1b0"/>
<textField evaluationTime="Report">
<reportElement style="Column header" x="513" y="0" width="40" height="20" forecolor="#FFFFFF" uuid="4834e99c-7f6c-485a-b098-50e5187f2ab4"/>
<textElement verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField>
<reportElement style="Column header" x="433" y="0" width="80" height="20" forecolor="#FFFFFF" uuid="9825b46e-76f1-469a-abb8-a1cc27aad685"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
</textField>
<textField pattern="EEEEE dd MMMMM yyyy">
<reportElement style="Column header" x="2" y="1" width="197" height="20" forecolor="#FFFFFF" uuid="137d38c7-1a83-4fc5-b156-9d5f1b1a0ddc"/>
<textElement verticalAlignment="Middle">
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</frame>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More