Welcome to the Sistem Sarana Prasarana JTIK project! This system is designed for managing and organizing the facilities and infrastructure within the JTIK department. The project is built using Java, MySQL, with a desktop-based user interface, and Ant as the build tool.
To get started, you need to set up the database for this system. Below is an example of how to create a MySQL database for the system, named saranajtik.
CREATE DATABASE saranajtik;This system requires three main tables: datakelas, databarang, and pinjambarang.
CREATE TABLE datakelas (
id_kelas INT AUTO_INCREMENT PRIMARY KEY,
nama_kelas VARCHAR(255) NOT NULL,
peminjam VARCHAR(255) NULL DEFAULT 'Kosong',
status enum('Tidak Terpakai','Terpakai') DEFAULT 'Tidak Terpakai'
);CREATE TABLE databarang (
id_barang INT AUTO_INCREMENT PRIMARY KEY,
nama_barang VARCHAR(255) NOT NULL,
jumlah_total INT NOT NULL,
jumlah_baik INT NOT NULL,
jumlah_kurang_baik INT NOT NULL,
);CREATE TABLE pinjambarang (
id_pinjam INT NOT NULL,
nama_barang VARCHAR(255) NOT NULL,
nama_peminjam VARCHAR(255) NOT NULL,
jumlah_pinjam INT NOT NULL,
tanggal_pinjam DATE NOT NULL,
tanggal_kembali DATE DEFAULT NULL
);MIT License
Copyright (c) 2024 alcamic
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.





