-- https://www.phpmyadmin.net/
--
-- Waktu pembuatan: 02 Feb 2022 pada 11.23
-- Versi server: 5.7.37
-- Versi PHP: 7.3.33

START TRANSACTION;



--
-- Database: `greennus_ayam_canton`
--

-- --------------------------------------------------------

--
-- Struktur dari tabel `banks`
--

CREATE TABLE `banks` (
  `id` int(11) NOT NULL,
  `nm_bank` varchar(191) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `kd_sinkron` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `barangs`
--

CREATE TABLE `barangs` (
  `kd_barang` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `barcode` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terlaris` enum('no','yes') COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_barang` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `gambar_barang` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `kd_jenis` char(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `kd_merek` char(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `kd_kategori` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_rak` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `stok` bigint(20) NOT NULL,
  `stok_opname` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `stok_minimal` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `stok_maksimal` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_satuan_stok` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `desk` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `barangs`
--

INSERT INTO `barangs` (`kd_barang`, `barcode`, `terlaris`, `nm_barang`, `sinkron`, `gambar_barang`, `kd_jenis`, `kd_merek`, `kd_kategori`, `kd_rak`, `stok`, `stok_opname`, `stok_minimal`, `stok_maksimal`, `kd_satuan_stok`, `desk`, `created_at`, `updated_at`, `deleted_at`) VALUES
('BRG-1632793604', 'BAR000002', 'no', 'Ayam Kampung 1/2 Ekor', '0', 'BRG-1632793604.jpg', NULL, NULL, 'K-1632793157', '001', 95, '101', '0', '0', 'SN-1632793491', NULL, '2021-09-28 01:46:44', '2021-09-29 05:07:56', NULL),
('BRG-1632794029', 'BAR000003', 'no', 'Ayam Kampung 1 Ekor', '0', 'BRG-1632794029.jpg', NULL, NULL, 'K-1632793157', '001', 95, '0', '0', '0', 'SN-1632793491', NULL, '2021-09-28 01:53:49', '2021-09-30 01:45:37', NULL),
('BRG-1632794487', 'BAR000004', 'no', 'Bebek Asap 1 Ekor', '0', 'BRG-1632794487.jpg', NULL, NULL, 'K-1632793167', '001', 100, '100', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:01:27', '2021-09-29 04:57:56', NULL),
('BRG-1632794533', 'BAR000005', 'no', 'Bebek Goreng 1 Ekor', '0', 'BRG-1632794533.jpg', NULL, NULL, 'K-1632793167', '001', 100, '100', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:02:13', '2021-09-29 04:57:50', NULL),
('BRG-1632794572', 'BAR000006', 'no', 'Bebek 1/2 Ekor', '0', 'BRG-1632794572.jpg', NULL, NULL, 'K-1632793167', '001', 100, '101', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:02:52', '2021-09-29 04:58:15', NULL),
('BRG-1632794636', 'BAR000007', 'no', 'Pokcoy', '0', 'BRG-1632794636.jpg', NULL, NULL, 'K-1632793266', '001', 99, '100', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:03:56', '2021-09-30 01:45:37', NULL),
('BRG-1632794842', 'BAR000008', 'no', 'Lalapan', '0', 'BRG-1632794842.jpg', NULL, NULL, 'K-1632793266', '001', 98, '100', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:07:22', '2021-09-30 01:45:37', NULL),
('BRG-1632794884', 'BAR000009', 'no', 'Es Teh Manis', '0', 'BRG-1632794884.jpg', NULL, NULL, 'K-1632793315', '001', 109, '111', '0', '0', 'SN-1632793491', NULL, '2021-09-28 02:08:04', '2021-09-30 01:45:37', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `bayar_jasas`
--

CREATE TABLE `bayar_jasas` (
  `no_bayar_jasa` char(8) COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_jasa` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_bayar_jasa` date NOT NULL,
  `uang_bayar` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `bayar_pembelians`
--

CREATE TABLE `bayar_pembelians` (
  `no_bayar_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_hutang` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_bayar_pembelian` date NOT NULL,
  `uang_bayar` bigint(85) NOT NULL,
  `id_user` int(11) NOT NULL,
  `status` enum('pending','cancel','disetujui','sukses') COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `bayar_penjualans`
--

CREATE TABLE `bayar_penjualans` (
  `no_bayar_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_piutang` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_bayar_penjualan` date NOT NULL,
  `uang_bayar` int(85) NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_user` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `bonuses`
--

CREATE TABLE `bonuses` (
  `id` int(11) NOT NULL,
  `poin` int(11) NOT NULL,
  `potongan_harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `cities`
--

CREATE TABLE `cities` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `province_id` int(10) UNSIGNED NOT NULL,
  `city_id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `cities`
--

INSERT INTO `cities` (`id`, `province_id`, `city_id`, `title`, `created_at`, `updated_at`) VALUES
(212, 15, 387, 'Samarinda', NULL, NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `couriers`
--

CREATE TABLE `couriers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_invoices`
--

CREATE TABLE `detail_invoices` (
  `id` int(11) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `keterangan` varchar(255) NOT NULL,
  `qty` int(11) NOT NULL,
  `harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_jasas`
--

CREATE TABLE `detail_jasas` (
  `id` int(11) NOT NULL,
  `no_jasa` varchar(20) NOT NULL,
  `jasa` text NOT NULL,
  `harga` varchar(20) NOT NULL,
  `qty` varchar(10) NOT NULL DEFAULT '0',
  `diskon` varchar(3) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_pakets`
--

CREATE TABLE `detail_pakets` (
  `id` int(11) NOT NULL,
  `id_paket` int(11) NOT NULL,
  `kd_barang` char(7) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_pembelians`
--

CREATE TABLE `detail_pembelians` (
  `id` int(11) NOT NULL,
  `no_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_harga_barang` int(11) NOT NULL,
  `jumlah` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `diskon` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `biaya` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_penjualans`
--

CREATE TABLE `detail_penjualans` (
  `id` int(11) NOT NULL,
  `no_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_harga_barang` int(11) NOT NULL,
  `diskon` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `jumlah` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_penjualan_etalases`
--

CREATE TABLE `detail_penjualan_etalases` (
  `id` int(11) NOT NULL,
  `no_penjualan` char(20) NOT NULL,
  `id_harga_barang` char(20) CHARACTER SET utf8mb4 NOT NULL,
  `qty` int(11) NOT NULL,
  `harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `detail_penjualan_etalases`
--

INSERT INTO `detail_penjualan_etalases` (`id`, `no_penjualan`, `id_harga_barang`, `qty`, `harga`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'PJN-1632795185', '8', 1, 5000, '2021-09-28 02:13:05', '2021-09-28 02:13:05', NULL),
(2, 'PJN-1632795185', '6', 1, 15000, '2021-09-28 02:13:05', '2021-09-28 02:13:05', NULL),
(3, 'PJN-1632795185', '7', 1, 12000, '2021-09-28 02:13:05', '2021-09-28 02:13:05', NULL),
(4, 'PJN-1632795185', '2', 1, 80000, '2021-09-28 02:13:05', '2021-09-28 02:13:05', NULL),
(5, 'PJN-1632796453', '1', 3, 55000, '2021-09-28 02:34:13', '2021-09-28 02:34:13', NULL),
(6, 'PJN-1632820714', '2', 4, 80000, '2021-09-28 09:18:34', '2021-09-28 09:18:34', NULL),
(7, 'PJN-1632820714', '1', 3, 55000, '2021-09-28 09:18:34', '2021-09-28 09:18:34', NULL),
(8, 'PJN-1632820714', '5', 1, 55000, '2021-09-28 09:18:34', '2021-09-28 09:18:34', NULL),
(9, 'PJN-1632820714', '8', 1, 5000, '2021-09-28 09:18:34', '2021-09-28 09:18:34', NULL),
(10, 'PJN-1632820714', '7', 1, 12000, '2021-09-28 09:18:34', '2021-09-28 09:18:34', NULL),
(11, 'PJN-1632914295', '1', 1, 55000, '2021-09-29 11:18:15', '2021-09-29 11:18:15', NULL),
(12, 'PJN-1632964733', '8', 1, 5000, '2021-09-30 01:18:53', '2021-09-30 01:18:53', NULL),
(13, 'PJN-1632964733', '1', 1, 55000, '2021-09-30 01:18:53', '2021-09-30 01:18:53', NULL),
(14, 'PJN-1632964733', '2', 1, 80000, '2021-09-30 01:18:53', '2021-09-30 01:18:53', NULL),
(15, 'PJN-1632964733', '6', 2, 15000, '2021-09-30 01:18:53', '2021-09-30 01:18:53', NULL),
(16, 'PJN-1632965182', '1', 1, 48000, '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
(17, 'PJN-1632965182', '2', 1, 75000, '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
(18, 'PJN-1632965182', '6', 1, 15000, '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
(19, 'PJN-1632965182', '8', 2, 5000, '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
(20, 'PJN-1632965182', '7', 1, 12000, '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
(21, 'PJN-1632966212', '1', 1, 48000, '2021-09-30 01:43:32', '2021-09-30 01:43:32', NULL),
(22, 'PJN-1632966212', '2', 1, 75000, '2021-09-30 01:43:32', '2021-09-30 01:43:32', NULL),
(23, 'PJN-1632967537', '1', 1, 48000, '2021-09-30 02:05:37', '2021-09-30 02:05:37', NULL),
(24, 'PJN-1632967537', '2', 1, 75000, '2021-09-30 02:05:37', '2021-09-30 02:05:37', NULL),
(25, 'PJN-1632976223', '2', 1, 75000, '2021-09-30 04:30:23', '2021-09-30 04:30:23', NULL),
(26, 'PJN-1632976223', '1', 1, 48000, '2021-09-30 04:30:23', '2021-09-30 04:30:23', NULL),
(27, 'PJN-1632976302', '5', 1, 55000, '2021-09-30 04:31:42', '2021-09-30 04:31:42', NULL),
(28, 'PJN-1632976302', '4', 1, 110000, '2021-09-30 04:31:42', '2021-09-30 04:31:42', NULL),
(29, 'PJN-1632976302', '7', 1, 12000, '2021-09-30 04:31:42', '2021-09-30 04:31:42', NULL),
(30, 'PJN-1633397334', '2', 1, 75000, '2021-10-05 01:28:54', '2021-10-05 01:28:54', NULL),
(31, 'PJN-1640658522', '1', 1, 48000, '2021-12-28 02:28:42', '2021-12-28 02:28:42', NULL),
(32, 'PJN-1640661038', '1', 1, 48000, '2021-12-28 03:10:38', '2021-12-28 03:10:38', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_permintaan_barangs`
--

CREATE TABLE `detail_permintaan_barangs` (
  `id` int(11) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `permintaan_barang_id` int(11) NOT NULL,
  `nm_barang` varchar(255) NOT NULL,
  `deskripsi` varchar(255) NOT NULL,
  `qty` int(11) NOT NULL,
  `satuan` varchar(255) NOT NULL,
  `harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_permohonan_danas`
--

CREATE TABLE `detail_permohonan_danas` (
  `id` int(11) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `permohonan_dana_id` int(11) NOT NULL,
  `keterangan` varchar(255) NOT NULL,
  `jumlah` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_realisasis`
--

CREATE TABLE `detail_realisasis` (
  `id` int(11) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL DEFAULT '0',
  `realisasi_id` int(11) NOT NULL,
  `id_harga_barang` int(11) NOT NULL,
  `jumlah` int(11) NOT NULL,
  `biaya` int(11) NOT NULL,
  `diskon` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_retur_pembelians`
--

CREATE TABLE `detail_retur_pembelians` (
  `id` int(11) NOT NULL,
  `no_retur_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_harga_barang` int(11) NOT NULL,
  `jumlah` int(11) NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `detail_retur_penjualans`
--

CREATE TABLE `detail_retur_penjualans` (
  `id` int(11) NOT NULL,
  `no_retur_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_harga_barang` int(11) NOT NULL,
  `jumlah` int(11) NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `harga_barangs`
--

CREATE TABLE `harga_barangs` (
  `id` int(11) NOT NULL,
  `kd_barang` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_satuan_beli` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `beli_isi` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `kd_satuan_jual` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `harga_beli` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `harga_jual` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `diskon` int(11) NOT NULL,
  `jumlah_persatuan_beli` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `jumlah_persatuan_jual` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_mulai_promo` date DEFAULT NULL,
  `tgl_akhir_promo` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `harga_barangs`
--

INSERT INTO `harga_barangs` (`id`, `kd_barang`, `kd_satuan_beli`, `beli_isi`, `kd_satuan_jual`, `harga_beli`, `harga_jual`, `diskon`, `jumlah_persatuan_beli`, `jumlah_persatuan_jual`, `sinkron`, `kd_sinkron`, `tgl_mulai_promo`, `tgl_akhir_promo`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'BRG-1632793604', 'SN-1632793491', '1', 'SN-1632793491', '40000', '55000', 7000, '1', '1', '0', '1632793604', NULL, NULL, NULL, '2021-09-28 01:47:35', NULL),
(2, 'BRG-1632794029', 'SN-1632793491', '1', 'SN-1632793491', '70000', '80000', 5000, '1', '1', '0', '1632794029', NULL, NULL, NULL, NULL, NULL),
(3, 'BRG-1632794487', 'SN-1632793491', '1', 'SN-1632793491', '100000', '115000', 0, '1', '1', '0', '1632794487', NULL, NULL, NULL, NULL, NULL),
(4, 'BRG-1632794533', 'SN-1632793491', '1', 'SN-1632793491', '100000', '110000', 0, '1', '1', '0', '1632794533', NULL, NULL, NULL, NULL, NULL),
(5, 'BRG-1632794572', 'SN-1632793491', '1', 'SN-1632793491', '45000', '55000', 0, '1', '1', '0', '1632794573', NULL, NULL, NULL, NULL, NULL),
(6, 'BRG-1632794636', 'SN-1632793491', '1', 'SN-1632793491', '10000', '15000', 0, '1', '1', '0', '1632794636', NULL, NULL, NULL, NULL, NULL),
(7, 'BRG-1632794842', 'SN-1632793491', '1', 'SN-1632793491', '8000', '12000', 0, '1', '1', '0', '1632794842', NULL, NULL, NULL, NULL, NULL),
(8, 'BRG-1632794884', 'SN-1632793491', '1', 'SN-1632793491', '3000', '5000', 0, '1', '1', '0', '1632794884', NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `hutang`
--

CREATE TABLE `hutang` (
  `no_hutang` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_pembelian` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sisa_hutang` bigint(20) DEFAULT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `invoices`
--

CREATE TABLE `invoices` (
  `id` int(11) NOT NULL,
  `nomor` varchar(255) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `kd_supplier` char(20) NOT NULL,
  `jenis_dokumen` varchar(255) NOT NULL,
  `prepared_id` int(11) NOT NULL,
  `tgl_invoice` date NOT NULL,
  `periode_tagihan` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `jasas`
--

CREATE TABLE `jasas` (
  `no_jasa` varchar(20) NOT NULL,
  `tgl_jasa` date NOT NULL,
  `uang_bayar` varchar(20) NOT NULL,
  `user_id` int(11) NOT NULL,
  `nama_pelanggan` varchar(200) NOT NULL,
  `no_hp_pelanggan` varchar(30) NOT NULL,
  `pembayaran` varchar(20) NOT NULL,
  `keterangan` text NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `jenis`
--

CREATE TABLE `jenis` (
  `kd_jenis` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_jenis` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_kategori` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `kategoris`
--

CREATE TABLE `kategoris` (
  `kd_kategori` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_kategori` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `foto_path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `kategoris`
--

INSERT INTO `kategoris` (`kd_kategori`, `nm_kategori`, `sinkron`, `foto_path`, `created_at`, `updated_at`, `deleted_at`) VALUES
('K-1632793157', 'Ayam Kampung', '0', 'Ayam Kampung.jpg', '2021-09-28 01:39:17', '2021-09-28 01:39:17', NULL),
('K-1632793167', 'Bebek', '0', 'Bebek.jpg', '2021-09-28 01:39:27', '2021-09-28 01:39:27', NULL),
('K-1632793266', 'Makanan Pendamping', '0', 'Makanan Pendamping.jpg', '2021-09-28 01:41:06', '2021-09-28 01:41:06', NULL),
('K-1632793315', 'Minuman', '0', 'Minuman.jpg', '2021-09-28 01:41:55', '2021-09-28 01:41:55', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `levels`
--

CREATE TABLE `levels` (
  `id` int(11) NOT NULL,
  `nm_level` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_sinkron` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `levels`
--

INSERT INTO `levels` (`id`, `nm_level`, `sinkron`, `kd_sinkron`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Admin', '0', '1718465395', NULL, '2021-09-06 05:32:31', NULL),
(2, 'Kasir', '1', '1618465396', '2019-06-19 01:11:54', '2021-05-20 06:37:56', NULL),
(3, 'Gudang', '1', '1818465395', NULL, '2021-04-15 05:57:09', NULL),
(4, 'tes', '1', '1618465395', '2021-04-15 05:43:15', '2021-05-06 08:56:48', '2021-05-06 07:05:43'),
(5, 'tes  1ii', '1', '1620180779', '2021-05-05 03:12:59', '2021-05-06 08:56:48', '2021-05-06 07:05:38'),
(6, 'hak', '1', '1620276182', '2021-05-06 05:43:02', '2021-05-06 08:56:48', '2021-05-06 07:05:34'),
(7, 'ok', '1', '1620276946', '2021-05-06 05:55:46', '2021-05-06 08:56:48', '2021-05-06 07:05:26'),
(8, 'teste', '1', '1620277009', '2021-05-06 05:56:49', '2021-05-06 08:56:48', '2021-05-06 07:05:20'),
(9, 'test', '1', '1620287161', '2021-05-06 08:46:01', '2021-05-20 06:37:56', '2021-05-06 09:46:07'),
(10, 'test', '1', '1620287176', '2021-05-06 08:46:16', '2021-05-20 06:37:56', '2021-05-06 09:46:23'),
(11, 'test', '1', '1620629634', '2021-05-11 05:57:04', '2021-05-11 05:57:04', '2021-05-10 07:55:28'),
(12, 'Purchasing', '0', '1631073165', '2021-09-08 03:52:45', '2021-09-08 03:52:45', NULL),
(13, 'Unit Leader', '0', '1631073930', '2021-09-08 04:05:30', '2021-09-08 04:05:30', NULL),
(14, 'Business Head', '0', '1631076897', '2021-09-08 04:54:57', '2021-09-08 04:54:57', NULL),
(15, 'Fin & Adm', '0', '1631077095', '2021-09-08 04:58:15', '2021-09-08 04:58:15', NULL),
(16, 'Acc Adv', '0', '1631078327', '2021-09-08 05:18:47', '2021-09-08 05:18:47', NULL),
(17, 'Etalase', '0', '1632807630', '2021-09-28 05:40:30', '2021-09-28 05:40:30', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `level_menu`
--

CREATE TABLE `level_menu` (
  `id` int(11) NOT NULL,
  `level_id` int(11) NOT NULL,
  `menu_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `level_menu`
--

INSERT INTO `level_menu` (`id`, `level_id`, `menu_id`, `created_at`, `updated_at`) VALUES
(240, 3, 1, NULL, NULL),
(241, 3, 2, NULL, NULL),
(242, 3, 3, NULL, NULL),
(243, 3, 4, NULL, NULL),
(244, 3, 5, NULL, NULL),
(245, 3, 6, NULL, NULL),
(246, 3, 7, NULL, NULL),
(247, 3, 8, NULL, NULL),
(248, 3, 9, NULL, NULL),
(249, 3, 10, NULL, NULL),
(250, 3, 11, NULL, NULL),
(251, 3, 12, NULL, NULL),
(252, 3, 13, NULL, NULL),
(253, 3, 14, NULL, NULL),
(254, 3, 15, NULL, NULL),
(255, 3, 16, NULL, NULL),
(256, 3, 17, NULL, NULL),
(257, 3, 18, NULL, NULL),
(258, 3, 19, NULL, NULL),
(259, 3, 20, NULL, NULL),
(260, 3, 21, NULL, NULL),
(261, 3, 22, NULL, NULL),
(262, 3, 23, NULL, NULL),
(263, 3, 24, NULL, NULL),
(264, 3, 25, NULL, NULL),
(265, 3, 26, NULL, NULL),
(266, 3, 27, NULL, NULL),
(267, 3, 28, NULL, NULL),
(1879, 4, 1, NULL, NULL),
(1880, 4, 2, NULL, NULL),
(1881, 4, 3, NULL, NULL),
(1882, 4, 4, NULL, NULL),
(1883, 4, 5, NULL, NULL),
(1884, 4, 6, NULL, NULL),
(1885, 4, 7, NULL, NULL),
(1886, 4, 8, NULL, NULL),
(1887, 4, 9, NULL, NULL),
(1888, 4, 10, NULL, NULL),
(1889, 4, 11, NULL, NULL),
(1890, 4, 12, NULL, NULL),
(1891, 4, 13, NULL, NULL),
(1892, 4, 14, NULL, NULL),
(1893, 4, 15, NULL, NULL),
(1894, 4, 16, NULL, NULL),
(1895, 4, 17, NULL, NULL),
(1896, 4, 18, NULL, NULL),
(1897, 4, 19, NULL, NULL),
(1898, 4, 20, NULL, NULL),
(1899, 4, 21, NULL, NULL),
(1900, 4, 22, NULL, NULL),
(1901, 4, 23, NULL, NULL),
(1902, 4, 24, NULL, NULL),
(1903, 4, 25, NULL, NULL),
(1904, 4, 26, NULL, NULL),
(1905, 4, 27, NULL, NULL),
(1906, 4, 28, NULL, NULL),
(1907, 4, 29, NULL, NULL),
(1908, 4, 30, NULL, NULL),
(1909, 4, 31, NULL, NULL),
(1910, 4, 32, NULL, NULL),
(1911, 4, 33, NULL, NULL),
(1912, 4, 34, NULL, NULL),
(1913, 4, 35, NULL, NULL),
(1914, 4, 36, NULL, NULL),
(1915, 4, 37, NULL, NULL),
(1916, 4, 38, NULL, NULL),
(1917, 4, 39, NULL, NULL),
(1918, 4, 40, NULL, NULL),
(1919, 4, 41, NULL, NULL),
(1920, 4, 42, NULL, NULL),
(1921, 4, 43, NULL, NULL),
(1922, 4, 44, NULL, NULL),
(1923, 4, 45, NULL, NULL),
(1924, 4, 46, NULL, NULL),
(1925, 4, 47, NULL, NULL),
(1926, 4, 48, NULL, NULL),
(1927, 4, 49, NULL, NULL),
(1928, 4, 50, NULL, NULL),
(1929, 4, 51, NULL, NULL),
(1930, 4, 52, NULL, NULL),
(1931, 4, 53, NULL, NULL),
(1932, 4, 54, NULL, NULL),
(1933, 4, 55, NULL, NULL),
(1934, 4, 56, NULL, NULL),
(1935, 4, 57, NULL, NULL),
(1936, 4, 58, NULL, NULL),
(1937, 4, 59, NULL, NULL),
(1938, 4, 60, NULL, NULL),
(1939, 4, 61, NULL, NULL),
(1940, 4, 62, NULL, NULL),
(1941, 4, 63, NULL, NULL),
(1942, 4, 64, NULL, NULL),
(1943, 4, 65, NULL, NULL),
(1944, 4, 66, NULL, NULL),
(1945, 4, 67, NULL, NULL),
(1946, 4, 68, NULL, NULL),
(1947, 4, 69, NULL, NULL),
(1948, 4, 70, NULL, NULL),
(1949, 4, 71, NULL, NULL),
(1950, 4, 72, NULL, NULL),
(1951, 4, 73, NULL, NULL),
(1952, 4, 74, NULL, NULL),
(1953, 4, 75, NULL, NULL),
(1954, 4, 76, NULL, NULL),
(1955, 4, 77, NULL, NULL),
(1956, 4, 85, NULL, NULL),
(1957, 4, 86, NULL, NULL),
(1958, 4, 87, NULL, NULL),
(1959, 4, 88, NULL, NULL),
(1960, 4, 92, NULL, NULL),
(1961, 4, 93, NULL, NULL),
(1962, 4, 94, NULL, NULL),
(1963, 4, 95, NULL, NULL),
(1964, 4, 96, NULL, NULL),
(1965, 4, 97, NULL, NULL),
(1966, 4, 98, NULL, NULL),
(1967, 4, 99, NULL, NULL),
(1968, 4, 100, NULL, NULL),
(1969, 4, 101, NULL, NULL),
(1970, 4, 102, NULL, NULL),
(1971, 4, 103, NULL, NULL),
(1972, 4, 104, NULL, NULL),
(1973, 4, 105, NULL, NULL),
(1974, 4, 106, NULL, NULL),
(2071, 5, 1, NULL, NULL),
(2072, 5, 2, NULL, NULL),
(2073, 5, 3, NULL, NULL),
(2074, 5, 4, NULL, NULL),
(2075, 5, 5, NULL, NULL),
(2076, 5, 6, NULL, NULL),
(2077, 5, 7, NULL, NULL),
(2078, 5, 8, NULL, NULL),
(2079, 5, 9, NULL, NULL),
(2080, 5, 10, NULL, NULL),
(2081, 5, 11, NULL, NULL),
(2082, 5, 12, NULL, NULL),
(2083, 5, 13, NULL, NULL),
(2084, 5, 14, NULL, NULL),
(2085, 5, 15, NULL, NULL),
(2086, 5, 16, NULL, NULL),
(2087, 5, 17, NULL, NULL),
(2088, 5, 18, NULL, NULL),
(2089, 5, 19, NULL, NULL),
(2090, 5, 20, NULL, NULL),
(2091, 5, 21, NULL, NULL),
(2092, 5, 22, NULL, NULL),
(2093, 5, 23, NULL, NULL),
(2094, 5, 24, NULL, NULL),
(2095, 5, 25, NULL, NULL),
(2096, 5, 26, NULL, NULL),
(2097, 5, 27, NULL, NULL),
(2098, 5, 28, NULL, NULL),
(2099, 5, 29, NULL, NULL),
(2100, 5, 30, NULL, NULL),
(2101, 5, 31, NULL, NULL),
(2102, 5, 32, NULL, NULL),
(2103, 5, 33, NULL, NULL),
(2104, 5, 34, NULL, NULL),
(2105, 5, 35, NULL, NULL),
(2106, 5, 36, NULL, NULL),
(2107, 5, 37, NULL, NULL),
(2108, 5, 38, NULL, NULL),
(2109, 5, 39, NULL, NULL),
(2110, 5, 40, NULL, NULL),
(2111, 5, 41, NULL, NULL),
(2112, 5, 42, NULL, NULL),
(2113, 5, 43, NULL, NULL),
(2114, 5, 44, NULL, NULL),
(2115, 5, 45, NULL, NULL),
(2116, 5, 46, NULL, NULL),
(2117, 5, 47, NULL, NULL),
(2118, 5, 48, NULL, NULL),
(2119, 5, 49, NULL, NULL),
(2120, 5, 50, NULL, NULL),
(2121, 5, 51, NULL, NULL),
(2122, 5, 52, NULL, NULL),
(2123, 5, 53, NULL, NULL),
(2124, 5, 54, NULL, NULL),
(2125, 5, 55, NULL, NULL),
(2126, 5, 56, NULL, NULL),
(2127, 5, 57, NULL, NULL),
(2128, 5, 58, NULL, NULL),
(2129, 5, 59, NULL, NULL),
(2130, 5, 60, NULL, NULL),
(2131, 5, 61, NULL, NULL),
(2132, 5, 62, NULL, NULL),
(2133, 5, 63, NULL, NULL),
(2134, 5, 64, NULL, NULL),
(2135, 5, 65, NULL, NULL),
(2136, 5, 66, NULL, NULL),
(2137, 5, 67, NULL, NULL),
(2138, 5, 68, NULL, NULL),
(2139, 5, 69, NULL, NULL),
(2140, 5, 70, NULL, NULL),
(2141, 5, 71, NULL, NULL),
(2142, 5, 72, NULL, NULL),
(2143, 5, 73, NULL, NULL),
(2144, 5, 74, NULL, NULL),
(2145, 5, 75, NULL, NULL),
(2146, 5, 76, NULL, NULL),
(2147, 5, 77, NULL, NULL),
(2148, 5, 85, NULL, NULL),
(2149, 5, 86, NULL, NULL),
(2150, 5, 87, NULL, NULL),
(2151, 5, 88, NULL, NULL),
(2152, 5, 92, NULL, NULL),
(2153, 5, 93, NULL, NULL),
(2154, 5, 94, NULL, NULL),
(2155, 5, 95, NULL, NULL),
(2156, 5, 96, NULL, NULL),
(2157, 5, 97, NULL, NULL),
(2158, 5, 98, NULL, NULL),
(2159, 5, 99, NULL, NULL),
(2160, 5, 100, NULL, NULL),
(2161, 5, 101, NULL, NULL),
(2162, 5, 102, NULL, NULL),
(2163, 5, 103, NULL, NULL),
(2164, 5, 104, NULL, NULL),
(2165, 5, 105, NULL, NULL),
(2166, 5, 106, NULL, NULL),
(2167, 7, 1, NULL, NULL),
(2168, 7, 2, NULL, NULL),
(2169, 7, 3, NULL, NULL),
(2170, 7, 4, NULL, NULL),
(2171, 7, 5, NULL, NULL),
(2172, 7, 6, NULL, NULL),
(2173, 7, 7, NULL, NULL),
(2174, 7, 8, NULL, NULL),
(2175, 7, 9, NULL, NULL),
(2176, 7, 10, NULL, NULL),
(2177, 7, 11, NULL, NULL),
(2178, 7, 12, NULL, NULL),
(2179, 7, 13, NULL, NULL),
(2180, 7, 14, NULL, NULL),
(2181, 7, 15, NULL, NULL),
(2182, 7, 16, NULL, NULL),
(2183, 7, 17, NULL, NULL),
(2184, 7, 18, NULL, NULL),
(2185, 7, 19, NULL, NULL),
(2186, 7, 20, NULL, NULL),
(2187, 7, 21, NULL, NULL),
(2188, 7, 22, NULL, NULL),
(2189, 7, 23, NULL, NULL),
(2190, 7, 24, NULL, NULL),
(2191, 7, 25, NULL, NULL),
(2192, 7, 26, NULL, NULL),
(2193, 7, 27, NULL, NULL),
(2194, 7, 28, NULL, NULL),
(2195, 7, 29, NULL, NULL),
(2196, 7, 30, NULL, NULL),
(2197, 7, 31, NULL, NULL),
(2198, 7, 32, NULL, NULL),
(2199, 7, 33, NULL, NULL),
(2200, 7, 34, NULL, NULL),
(2201, 7, 35, NULL, NULL),
(2202, 7, 36, NULL, NULL),
(2203, 7, 37, NULL, NULL),
(2204, 7, 38, NULL, NULL),
(2205, 7, 39, NULL, NULL),
(2206, 7, 40, NULL, NULL),
(2207, 7, 41, NULL, NULL),
(2208, 7, 42, NULL, NULL),
(2209, 7, 43, NULL, NULL),
(2210, 7, 44, NULL, NULL),
(2211, 7, 45, NULL, NULL),
(2212, 7, 46, NULL, NULL),
(2213, 7, 47, NULL, NULL),
(2214, 7, 48, NULL, NULL),
(2215, 7, 49, NULL, NULL),
(2216, 7, 50, NULL, NULL),
(2217, 7, 51, NULL, NULL),
(2218, 7, 52, NULL, NULL),
(2219, 7, 53, NULL, NULL),
(2220, 7, 54, NULL, NULL),
(2221, 7, 55, NULL, NULL),
(2222, 7, 56, NULL, NULL),
(2223, 7, 57, NULL, NULL),
(2224, 7, 58, NULL, NULL),
(2225, 7, 59, NULL, NULL),
(2226, 7, 60, NULL, NULL),
(2227, 7, 61, NULL, NULL),
(2228, 7, 62, NULL, NULL),
(2229, 7, 63, NULL, NULL),
(2230, 7, 64, NULL, NULL),
(2231, 7, 65, NULL, NULL),
(2232, 7, 66, NULL, NULL),
(2233, 7, 67, NULL, NULL),
(2234, 7, 68, NULL, NULL),
(2235, 7, 69, NULL, NULL),
(2236, 7, 70, NULL, NULL),
(2237, 7, 71, NULL, NULL),
(2238, 7, 72, NULL, NULL),
(2239, 7, 73, NULL, NULL),
(2240, 7, 74, NULL, NULL),
(2241, 7, 75, NULL, NULL),
(2242, 7, 76, NULL, NULL),
(2243, 7, 77, NULL, NULL),
(2244, 7, 85, NULL, NULL),
(2245, 7, 86, NULL, NULL),
(2246, 7, 87, NULL, NULL),
(2247, 7, 88, NULL, NULL),
(2248, 7, 92, NULL, NULL),
(2249, 7, 93, NULL, NULL),
(2250, 7, 94, NULL, NULL),
(2251, 7, 95, NULL, NULL),
(2252, 7, 96, NULL, NULL),
(2253, 7, 97, NULL, NULL),
(2254, 7, 98, NULL, NULL),
(2255, 7, 99, NULL, NULL),
(2256, 7, 100, NULL, NULL),
(2257, 7, 101, NULL, NULL),
(2258, 7, 102, NULL, NULL),
(2259, 7, 103, NULL, NULL),
(2260, 7, 104, NULL, NULL),
(2261, 7, 105, NULL, NULL),
(2262, 7, 106, NULL, NULL),
(2263, 8, 1, NULL, NULL),
(2264, 8, 2, NULL, NULL),
(2265, 8, 3, NULL, NULL),
(2266, 8, 4, NULL, NULL),
(2267, 8, 5, NULL, NULL),
(2268, 8, 6, NULL, NULL),
(2269, 8, 7, NULL, NULL),
(2270, 8, 8, NULL, NULL),
(2271, 8, 9, NULL, NULL),
(2272, 8, 10, NULL, NULL),
(2273, 8, 11, NULL, NULL),
(2274, 8, 12, NULL, NULL),
(2275, 8, 13, NULL, NULL),
(2276, 8, 14, NULL, NULL),
(2277, 8, 15, NULL, NULL),
(2278, 8, 16, NULL, NULL),
(2279, 8, 17, NULL, NULL),
(2280, 8, 18, NULL, NULL),
(2281, 8, 19, NULL, NULL),
(2282, 8, 20, NULL, NULL),
(2283, 8, 21, NULL, NULL),
(2284, 8, 22, NULL, NULL),
(2285, 8, 23, NULL, NULL),
(2286, 8, 24, NULL, NULL),
(2287, 8, 25, NULL, NULL),
(2288, 8, 26, NULL, NULL),
(2289, 8, 27, NULL, NULL),
(2290, 8, 28, NULL, NULL),
(2291, 8, 29, NULL, NULL),
(2292, 8, 30, NULL, NULL),
(2293, 8, 31, NULL, NULL),
(2294, 8, 32, NULL, NULL),
(2295, 8, 33, NULL, NULL),
(2296, 8, 34, NULL, NULL),
(2297, 8, 35, NULL, NULL),
(2298, 8, 36, NULL, NULL),
(2299, 8, 37, NULL, NULL),
(2300, 8, 38, NULL, NULL),
(2301, 8, 39, NULL, NULL),
(2302, 8, 40, NULL, NULL),
(2303, 8, 41, NULL, NULL),
(2304, 8, 42, NULL, NULL),
(2305, 8, 43, NULL, NULL),
(2306, 8, 44, NULL, NULL),
(2307, 8, 45, NULL, NULL),
(2308, 8, 46, NULL, NULL),
(2309, 8, 47, NULL, NULL),
(2310, 8, 48, NULL, NULL),
(2311, 8, 49, NULL, NULL),
(2312, 8, 50, NULL, NULL),
(2313, 8, 51, NULL, NULL),
(2314, 8, 52, NULL, NULL),
(2315, 8, 53, NULL, NULL),
(2316, 8, 54, NULL, NULL),
(2317, 8, 55, NULL, NULL),
(2318, 8, 56, NULL, NULL),
(2319, 8, 57, NULL, NULL),
(2320, 8, 58, NULL, NULL),
(2321, 8, 59, NULL, NULL),
(2322, 8, 60, NULL, NULL),
(2323, 8, 61, NULL, NULL),
(2324, 8, 62, NULL, NULL),
(2325, 8, 63, NULL, NULL),
(2326, 8, 64, NULL, NULL),
(2327, 8, 65, NULL, NULL),
(2328, 8, 66, NULL, NULL),
(2329, 8, 67, NULL, NULL),
(2330, 8, 68, NULL, NULL),
(2331, 8, 69, NULL, NULL),
(2332, 8, 70, NULL, NULL),
(2333, 8, 71, NULL, NULL),
(2334, 8, 72, NULL, NULL),
(2335, 8, 73, NULL, NULL),
(2336, 8, 74, NULL, NULL),
(2337, 8, 75, NULL, NULL),
(2338, 8, 76, NULL, NULL),
(2339, 8, 77, NULL, NULL),
(2340, 8, 85, NULL, NULL),
(2341, 8, 86, NULL, NULL),
(2342, 8, 87, NULL, NULL),
(2343, 8, 88, NULL, NULL),
(2344, 8, 92, NULL, NULL),
(2345, 8, 93, NULL, NULL),
(2346, 8, 94, NULL, NULL),
(2347, 8, 95, NULL, NULL),
(2348, 8, 96, NULL, NULL),
(2349, 8, 97, NULL, NULL),
(2350, 8, 98, NULL, NULL),
(2351, 8, 99, NULL, NULL),
(2352, 8, 100, NULL, NULL),
(2353, 8, 101, NULL, NULL),
(2354, 8, 102, NULL, NULL),
(2355, 8, 103, NULL, NULL),
(2356, 8, 104, NULL, NULL),
(2357, 8, 105, NULL, NULL),
(2358, 8, 106, NULL, NULL),
(2359, 9, 1, NULL, NULL),
(2360, 9, 2, NULL, NULL),
(2361, 9, 3, NULL, NULL),
(2362, 9, 4, NULL, NULL),
(2363, 9, 5, NULL, NULL),
(2364, 9, 6, NULL, NULL),
(2365, 9, 7, NULL, NULL),
(2366, 9, 8, NULL, NULL),
(2367, 9, 9, NULL, NULL),
(2368, 9, 10, NULL, NULL),
(2369, 9, 11, NULL, NULL),
(2370, 9, 12, NULL, NULL),
(2371, 9, 13, NULL, NULL),
(2372, 9, 14, NULL, NULL),
(2373, 9, 15, NULL, NULL),
(2374, 9, 16, NULL, NULL),
(2375, 9, 17, NULL, NULL),
(2376, 9, 18, NULL, NULL),
(2377, 9, 19, NULL, NULL),
(2378, 9, 20, NULL, NULL),
(2379, 9, 21, NULL, NULL),
(2380, 9, 22, NULL, NULL),
(2381, 9, 23, NULL, NULL),
(2382, 9, 24, NULL, NULL),
(2383, 9, 25, NULL, NULL),
(2384, 9, 26, NULL, NULL),
(2385, 9, 27, NULL, NULL),
(2386, 9, 28, NULL, NULL),
(2387, 9, 29, NULL, NULL),
(2388, 9, 30, NULL, NULL),
(2389, 9, 31, NULL, NULL),
(2390, 9, 32, NULL, NULL),
(2391, 9, 33, NULL, NULL),
(2392, 9, 34, NULL, NULL),
(2393, 9, 35, NULL, NULL),
(2394, 9, 36, NULL, NULL),
(2395, 9, 37, NULL, NULL),
(2396, 9, 38, NULL, NULL),
(2397, 9, 39, NULL, NULL),
(2398, 9, 40, NULL, NULL),
(2399, 9, 41, NULL, NULL),
(2400, 9, 42, NULL, NULL),
(2401, 9, 43, NULL, NULL),
(2402, 9, 44, NULL, NULL),
(2403, 9, 45, NULL, NULL),
(2404, 9, 46, NULL, NULL),
(2405, 9, 47, NULL, NULL),
(2406, 9, 48, NULL, NULL),
(2407, 9, 49, NULL, NULL),
(2408, 9, 50, NULL, NULL),
(2409, 9, 51, NULL, NULL),
(2410, 9, 52, NULL, NULL),
(2411, 9, 53, NULL, NULL),
(2412, 9, 54, NULL, NULL),
(2413, 9, 55, NULL, NULL),
(2414, 9, 56, NULL, NULL),
(2415, 9, 57, NULL, NULL),
(2416, 9, 58, NULL, NULL),
(2417, 9, 59, NULL, NULL),
(2418, 9, 60, NULL, NULL),
(2419, 9, 61, NULL, NULL),
(2420, 9, 62, NULL, NULL),
(2421, 9, 63, NULL, NULL),
(2422, 9, 64, NULL, NULL),
(2423, 9, 65, NULL, NULL),
(2424, 9, 66, NULL, NULL),
(2425, 9, 67, NULL, NULL),
(2426, 9, 68, NULL, NULL),
(2427, 9, 69, NULL, NULL),
(2428, 9, 70, NULL, NULL),
(2429, 9, 71, NULL, NULL),
(2430, 9, 72, NULL, NULL),
(2431, 9, 73, NULL, NULL),
(2432, 9, 74, NULL, NULL),
(2433, 9, 75, NULL, NULL),
(2434, 9, 76, NULL, NULL),
(2435, 9, 77, NULL, NULL),
(2436, 9, 85, NULL, NULL),
(2437, 9, 86, NULL, NULL),
(2438, 9, 87, NULL, NULL),
(2439, 9, 88, NULL, NULL),
(2440, 9, 92, NULL, NULL),
(2441, 9, 93, NULL, NULL),
(2442, 9, 94, NULL, NULL),
(2443, 9, 95, NULL, NULL),
(2444, 9, 96, NULL, NULL),
(2445, 9, 97, NULL, NULL),
(2446, 9, 98, NULL, NULL),
(2447, 9, 99, NULL, NULL),
(2448, 9, 100, NULL, NULL),
(2449, 9, 101, NULL, NULL),
(2450, 9, 102, NULL, NULL),
(2451, 9, 103, NULL, NULL),
(2452, 9, 104, NULL, NULL),
(2453, 9, 105, NULL, NULL),
(2454, 9, 106, NULL, NULL),
(2455, 10, 1, NULL, NULL),
(2456, 10, 2, NULL, NULL),
(2457, 10, 3, NULL, NULL),
(2458, 10, 4, NULL, NULL),
(2459, 10, 5, NULL, NULL),
(2460, 10, 6, NULL, NULL),
(2461, 10, 7, NULL, NULL),
(2462, 10, 8, NULL, NULL),
(2463, 10, 9, NULL, NULL),
(2464, 10, 10, NULL, NULL),
(2465, 10, 11, NULL, NULL),
(2466, 10, 12, NULL, NULL),
(2467, 10, 13, NULL, NULL),
(2468, 10, 14, NULL, NULL),
(2469, 10, 15, NULL, NULL),
(2470, 10, 16, NULL, NULL),
(2471, 10, 17, NULL, NULL),
(2472, 10, 18, NULL, NULL),
(2473, 10, 19, NULL, NULL),
(2474, 10, 20, NULL, NULL),
(2475, 10, 21, NULL, NULL),
(2476, 10, 22, NULL, NULL),
(2477, 10, 23, NULL, NULL),
(2478, 10, 24, NULL, NULL),
(2479, 10, 25, NULL, NULL),
(2480, 10, 26, NULL, NULL),
(2481, 10, 27, NULL, NULL),
(2482, 10, 28, NULL, NULL),
(2483, 10, 29, NULL, NULL),
(2484, 10, 30, NULL, NULL),
(2485, 10, 31, NULL, NULL),
(2486, 10, 32, NULL, NULL),
(2487, 10, 33, NULL, NULL),
(2488, 10, 34, NULL, NULL),
(2489, 10, 35, NULL, NULL),
(2490, 10, 36, NULL, NULL),
(2491, 10, 37, NULL, NULL),
(2492, 10, 38, NULL, NULL),
(2493, 10, 39, NULL, NULL),
(2494, 10, 40, NULL, NULL),
(2495, 10, 41, NULL, NULL),
(2496, 10, 42, NULL, NULL),
(2497, 10, 43, NULL, NULL),
(2498, 10, 44, NULL, NULL),
(2499, 10, 45, NULL, NULL),
(2500, 10, 46, NULL, NULL),
(2501, 10, 47, NULL, NULL),
(2502, 10, 48, NULL, NULL),
(2503, 10, 49, NULL, NULL),
(2504, 10, 50, NULL, NULL),
(2505, 10, 51, NULL, NULL),
(2506, 10, 52, NULL, NULL),
(2507, 10, 53, NULL, NULL),
(2508, 10, 54, NULL, NULL),
(2509, 10, 55, NULL, NULL),
(2510, 10, 56, NULL, NULL),
(2511, 10, 57, NULL, NULL),
(2512, 10, 58, NULL, NULL),
(2513, 10, 59, NULL, NULL),
(2514, 10, 60, NULL, NULL),
(2515, 10, 61, NULL, NULL),
(2516, 10, 62, NULL, NULL),
(2517, 10, 63, NULL, NULL),
(2518, 10, 64, NULL, NULL),
(2519, 10, 65, NULL, NULL),
(2520, 10, 66, NULL, NULL),
(2521, 10, 67, NULL, NULL),
(2522, 10, 68, NULL, NULL),
(2523, 10, 69, NULL, NULL),
(2524, 10, 70, NULL, NULL),
(2525, 10, 71, NULL, NULL),
(2526, 10, 72, NULL, NULL),
(2527, 10, 73, NULL, NULL),
(2528, 10, 74, NULL, NULL),
(2529, 10, 75, NULL, NULL),
(2530, 10, 76, NULL, NULL),
(2531, 10, 77, NULL, NULL),
(2532, 10, 85, NULL, NULL),
(2533, 10, 86, NULL, NULL),
(2534, 10, 87, NULL, NULL),
(2535, 10, 88, NULL, NULL),
(2536, 10, 92, NULL, NULL),
(2537, 10, 93, NULL, NULL),
(2538, 10, 94, NULL, NULL),
(2539, 10, 95, NULL, NULL),
(2540, 10, 96, NULL, NULL),
(2541, 10, 97, NULL, NULL),
(2542, 10, 98, NULL, NULL),
(2543, 10, 99, NULL, NULL),
(2544, 10, 100, NULL, NULL),
(2545, 10, 101, NULL, NULL),
(2546, 10, 102, NULL, NULL),
(2547, 10, 103, NULL, NULL),
(2548, 10, 104, NULL, NULL),
(2549, 10, 105, NULL, NULL),
(2550, 10, 106, NULL, NULL),
(2651, 2, 1, NULL, NULL),
(2652, 2, 2, NULL, NULL),
(2653, 2, 3, NULL, NULL),
(2654, 2, 5, NULL, NULL),
(2655, 2, 6, NULL, NULL),
(2656, 2, 7, NULL, NULL),
(2657, 2, 37, NULL, NULL),
(2658, 2, 38, NULL, NULL),
(2659, 2, 39, NULL, NULL),
(2660, 2, 40, NULL, NULL),
(2661, 2, 41, NULL, NULL),
(2662, 2, 42, NULL, NULL),
(2663, 2, 43, NULL, NULL),
(2664, 2, 44, NULL, NULL),
(2665, 2, 45, NULL, NULL),
(2666, 2, 46, NULL, NULL),
(2667, 2, 47, NULL, NULL),
(2668, 2, 48, NULL, NULL),
(2669, 2, 49, NULL, NULL),
(2670, 2, 50, NULL, NULL),
(2671, 2, 51, NULL, NULL),
(2672, 2, 52, NULL, NULL),
(2673, 2, 53, NULL, NULL),
(2674, 2, 54, NULL, NULL),
(2675, 2, 55, NULL, NULL),
(2676, 2, 56, NULL, NULL),
(2677, 2, 57, NULL, NULL),
(2678, 2, 58, NULL, NULL),
(2679, 2, 59, NULL, NULL),
(2680, 2, 60, NULL, NULL),
(2681, 2, 107, NULL, NULL),
(2682, 2, 108, NULL, NULL),
(2683, 2, 110, NULL, NULL),
(3180, 13, 5, NULL, NULL),
(3181, 13, 6, NULL, NULL),
(3182, 13, 7, NULL, NULL),
(3183, 13, 8, NULL, NULL),
(3184, 13, 25, NULL, NULL),
(3185, 13, 26, NULL, NULL),
(3186, 13, 27, NULL, NULL),
(3187, 13, 28, NULL, NULL),
(3188, 13, 37, NULL, NULL),
(3189, 13, 38, NULL, NULL),
(3190, 13, 39, NULL, NULL),
(3191, 13, 40, NULL, NULL),
(3192, 13, 67, NULL, NULL),
(3193, 13, 68, NULL, NULL),
(3194, 13, 69, NULL, NULL),
(3195, 13, 98, NULL, NULL),
(3196, 13, 99, NULL, NULL),
(3197, 13, 100, NULL, NULL),
(3198, 13, 101, NULL, NULL),
(3199, 13, 111, NULL, NULL),
(3200, 13, 114, NULL, NULL),
(3201, 13, 117, NULL, NULL),
(3202, 12, 5, NULL, NULL),
(3203, 12, 6, NULL, NULL),
(3204, 12, 7, NULL, NULL),
(3205, 12, 8, NULL, NULL),
(3206, 12, 25, NULL, NULL),
(3207, 12, 26, NULL, NULL),
(3208, 12, 27, NULL, NULL),
(3209, 12, 28, NULL, NULL),
(3210, 12, 37, NULL, NULL),
(3211, 12, 38, NULL, NULL),
(3212, 12, 39, NULL, NULL),
(3213, 12, 40, NULL, NULL),
(3214, 12, 67, NULL, NULL),
(3215, 12, 68, NULL, NULL),
(3216, 12, 69, NULL, NULL),
(3217, 12, 98, NULL, NULL),
(3218, 12, 99, NULL, NULL),
(3219, 12, 100, NULL, NULL),
(3220, 12, 101, NULL, NULL),
(3221, 12, 117, NULL, NULL),
(3500, 16, 1, NULL, NULL),
(3501, 16, 2, NULL, NULL),
(3502, 16, 3, NULL, NULL),
(3503, 16, 4, NULL, NULL),
(3504, 16, 5, NULL, NULL),
(3505, 16, 6, NULL, NULL),
(3506, 16, 7, NULL, NULL),
(3507, 16, 8, NULL, NULL),
(3508, 16, 9, NULL, NULL),
(3509, 16, 10, NULL, NULL),
(3510, 16, 11, NULL, NULL),
(3511, 16, 12, NULL, NULL),
(3512, 16, 13, NULL, NULL),
(3513, 16, 14, NULL, NULL),
(3514, 16, 15, NULL, NULL),
(3515, 16, 16, NULL, NULL),
(3516, 16, 17, NULL, NULL),
(3517, 16, 18, NULL, NULL),
(3518, 16, 19, NULL, NULL),
(3519, 16, 20, NULL, NULL),
(3520, 16, 21, NULL, NULL),
(3521, 16, 22, NULL, NULL),
(3522, 16, 23, NULL, NULL),
(3523, 16, 24, NULL, NULL),
(3524, 16, 25, NULL, NULL),
(3525, 16, 26, NULL, NULL),
(3526, 16, 27, NULL, NULL),
(3527, 16, 28, NULL, NULL),
(3528, 16, 29, NULL, NULL),
(3529, 16, 30, NULL, NULL),
(3530, 16, 31, NULL, NULL),
(3531, 16, 32, NULL, NULL),
(3532, 16, 33, NULL, NULL),
(3533, 16, 34, NULL, NULL),
(3534, 16, 35, NULL, NULL),
(3535, 16, 36, NULL, NULL),
(3536, 16, 37, NULL, NULL),
(3537, 16, 38, NULL, NULL),
(3538, 16, 39, NULL, NULL),
(3539, 16, 40, NULL, NULL),
(3540, 16, 41, NULL, NULL),
(3541, 16, 42, NULL, NULL),
(3542, 16, 43, NULL, NULL),
(3543, 16, 44, NULL, NULL),
(3544, 16, 45, NULL, NULL),
(3545, 16, 46, NULL, NULL),
(3546, 16, 47, NULL, NULL),
(3547, 16, 48, NULL, NULL),
(3548, 16, 49, NULL, NULL),
(3549, 16, 50, NULL, NULL),
(3550, 16, 51, NULL, NULL),
(3551, 16, 52, NULL, NULL),
(3552, 16, 53, NULL, NULL),
(3553, 16, 54, NULL, NULL),
(3554, 16, 55, NULL, NULL),
(3555, 16, 56, NULL, NULL),
(3556, 16, 57, NULL, NULL),
(3557, 16, 58, NULL, NULL),
(3558, 16, 59, NULL, NULL),
(3559, 16, 60, NULL, NULL),
(3560, 16, 61, NULL, NULL),
(3561, 16, 62, NULL, NULL),
(3562, 16, 63, NULL, NULL),
(3563, 16, 64, NULL, NULL),
(3564, 16, 65, NULL, NULL),
(3565, 16, 66, NULL, NULL),
(3566, 16, 67, NULL, NULL),
(3567, 16, 68, NULL, NULL),
(3568, 16, 69, NULL, NULL),
(3569, 16, 70, NULL, NULL),
(3570, 16, 71, NULL, NULL),
(3571, 16, 72, NULL, NULL),
(3572, 16, 73, NULL, NULL),
(3573, 16, 74, NULL, NULL),
(3574, 16, 75, NULL, NULL),
(3575, 16, 76, NULL, NULL),
(3576, 16, 77, NULL, NULL),
(3577, 16, 85, NULL, NULL),
(3578, 16, 86, NULL, NULL),
(3579, 16, 87, NULL, NULL),
(3580, 16, 88, NULL, NULL),
(3581, 16, 94, NULL, NULL),
(3582, 16, 95, NULL, NULL),
(3583, 16, 96, NULL, NULL),
(3584, 16, 97, NULL, NULL),
(3585, 16, 98, NULL, NULL),
(3586, 16, 99, NULL, NULL),
(3587, 16, 100, NULL, NULL),
(3588, 16, 101, NULL, NULL),
(3589, 16, 102, NULL, NULL),
(3590, 16, 103, NULL, NULL),
(3591, 16, 104, NULL, NULL),
(3592, 16, 105, NULL, NULL),
(3593, 16, 106, NULL, NULL),
(3594, 16, 107, NULL, NULL),
(3595, 16, 108, NULL, NULL),
(3596, 16, 109, NULL, NULL),
(3597, 16, 110, NULL, NULL),
(3598, 16, 111, NULL, NULL),
(3599, 16, 112, NULL, NULL),
(3600, 16, 113, NULL, NULL),
(3601, 16, 114, NULL, NULL),
(3602, 16, 115, NULL, NULL),
(3603, 16, 116, NULL, NULL),
(3604, 16, 117, NULL, NULL),
(3605, 16, 119, NULL, NULL),
(3606, 16, 120, NULL, NULL),
(3607, 16, 121, NULL, NULL),
(3608, 16, 122, NULL, NULL),
(3609, 16, 123, NULL, NULL),
(3610, 16, 124, NULL, NULL),
(3611, 16, 125, NULL, NULL),
(3612, 16, 126, NULL, NULL),
(3613, 16, 127, NULL, NULL),
(3614, 16, 128, NULL, NULL),
(3615, 16, 129, NULL, NULL),
(3616, 16, 130, NULL, NULL),
(3617, 16, 131, NULL, NULL),
(3648, 14, 5, NULL, NULL),
(3649, 14, 6, NULL, NULL),
(3650, 14, 7, NULL, NULL),
(3651, 14, 8, NULL, NULL),
(3652, 14, 25, NULL, NULL),
(3653, 14, 26, NULL, NULL),
(3654, 14, 27, NULL, NULL),
(3655, 14, 28, NULL, NULL),
(3656, 14, 37, NULL, NULL),
(3657, 14, 38, NULL, NULL),
(3658, 14, 39, NULL, NULL),
(3659, 14, 40, NULL, NULL),
(3660, 14, 67, NULL, NULL),
(3661, 14, 68, NULL, NULL),
(3662, 14, 69, NULL, NULL),
(3663, 14, 98, NULL, NULL),
(3664, 14, 99, NULL, NULL),
(3665, 14, 100, NULL, NULL),
(3666, 14, 101, NULL, NULL),
(3667, 14, 111, NULL, NULL),
(3668, 14, 112, NULL, NULL),
(3669, 14, 114, NULL, NULL),
(3670, 14, 115, NULL, NULL),
(3671, 14, 117, NULL, NULL),
(3672, 14, 120, NULL, NULL),
(3673, 14, 121, NULL, NULL),
(3674, 14, 123, NULL, NULL),
(3675, 14, 125, NULL, NULL),
(3676, 14, 126, NULL, NULL),
(3677, 15, 5, NULL, NULL),
(3678, 15, 6, NULL, NULL),
(3679, 15, 7, NULL, NULL),
(3680, 15, 8, NULL, NULL),
(3681, 15, 25, NULL, NULL),
(3682, 15, 26, NULL, NULL),
(3683, 15, 27, NULL, NULL),
(3684, 15, 28, NULL, NULL),
(3685, 15, 29, NULL, NULL),
(3686, 15, 30, NULL, NULL),
(3687, 15, 31, NULL, NULL),
(3688, 15, 32, NULL, NULL),
(3689, 15, 33, NULL, NULL),
(3690, 15, 34, NULL, NULL),
(3691, 15, 35, NULL, NULL),
(3692, 15, 36, NULL, NULL),
(3693, 15, 37, NULL, NULL),
(3694, 15, 38, NULL, NULL),
(3695, 15, 39, NULL, NULL),
(3696, 15, 40, NULL, NULL),
(3697, 15, 41, NULL, NULL),
(3698, 15, 42, NULL, NULL),
(3699, 15, 43, NULL, NULL),
(3700, 15, 44, NULL, NULL),
(3701, 15, 64, NULL, NULL),
(3702, 15, 65, NULL, NULL),
(3703, 15, 66, NULL, NULL),
(3704, 15, 67, NULL, NULL),
(3705, 15, 68, NULL, NULL),
(3706, 15, 69, NULL, NULL),
(3707, 15, 70, NULL, NULL),
(3708, 15, 71, NULL, NULL),
(3709, 15, 72, NULL, NULL),
(3710, 15, 73, NULL, NULL),
(3711, 15, 74, NULL, NULL),
(3712, 15, 75, NULL, NULL),
(3713, 15, 76, NULL, NULL),
(3714, 15, 77, NULL, NULL),
(3715, 15, 98, NULL, NULL),
(3716, 15, 99, NULL, NULL),
(3717, 15, 100, NULL, NULL),
(3718, 15, 101, NULL, NULL),
(3719, 15, 102, NULL, NULL),
(3720, 15, 107, NULL, NULL),
(3721, 15, 108, NULL, NULL),
(3722, 15, 109, NULL, NULL),
(3723, 15, 110, NULL, NULL),
(3724, 15, 111, NULL, NULL),
(3725, 15, 112, NULL, NULL),
(3726, 15, 113, NULL, NULL),
(3727, 15, 114, NULL, NULL),
(3728, 15, 115, NULL, NULL),
(3729, 15, 116, NULL, NULL),
(3730, 15, 117, NULL, NULL),
(3731, 15, 121, NULL, NULL),
(3732, 15, 125, NULL, NULL),
(3733, 15, 127, NULL, NULL),
(3855, 17, 136, NULL, NULL),
(3856, 17, 137, NULL, NULL),
(3857, 17, 138, NULL, NULL),
(3858, 17, 139, NULL, NULL),
(3859, 1, 1, NULL, NULL),
(3860, 1, 2, NULL, NULL),
(3861, 1, 3, NULL, NULL),
(3862, 1, 4, NULL, NULL),
(3863, 1, 5, NULL, NULL),
(3864, 1, 6, NULL, NULL),
(3865, 1, 7, NULL, NULL),
(3866, 1, 8, NULL, NULL),
(3867, 1, 9, NULL, NULL),
(3868, 1, 10, NULL, NULL),
(3869, 1, 11, NULL, NULL),
(3870, 1, 12, NULL, NULL),
(3871, 1, 13, NULL, NULL),
(3872, 1, 14, NULL, NULL),
(3873, 1, 15, NULL, NULL),
(3874, 1, 16, NULL, NULL),
(3875, 1, 17, NULL, NULL),
(3876, 1, 18, NULL, NULL),
(3877, 1, 19, NULL, NULL),
(3878, 1, 20, NULL, NULL),
(3879, 1, 21, NULL, NULL),
(3880, 1, 22, NULL, NULL),
(3881, 1, 23, NULL, NULL),
(3882, 1, 24, NULL, NULL),
(3883, 1, 25, NULL, NULL),
(3884, 1, 26, NULL, NULL),
(3885, 1, 27, NULL, NULL),
(3886, 1, 28, NULL, NULL),
(3887, 1, 29, NULL, NULL),
(3888, 1, 30, NULL, NULL),
(3889, 1, 31, NULL, NULL),
(3890, 1, 32, NULL, NULL),
(3891, 1, 33, NULL, NULL),
(3892, 1, 34, NULL, NULL),
(3893, 1, 35, NULL, NULL),
(3894, 1, 36, NULL, NULL),
(3895, 1, 37, NULL, NULL),
(3896, 1, 38, NULL, NULL),
(3897, 1, 39, NULL, NULL),
(3898, 1, 40, NULL, NULL),
(3899, 1, 41, NULL, NULL),
(3900, 1, 42, NULL, NULL),
(3901, 1, 43, NULL, NULL),
(3902, 1, 44, NULL, NULL),
(3903, 1, 45, NULL, NULL),
(3904, 1, 46, NULL, NULL),
(3905, 1, 47, NULL, NULL),
(3906, 1, 48, NULL, NULL),
(3907, 1, 49, NULL, NULL),
(3908, 1, 50, NULL, NULL),
(3909, 1, 51, NULL, NULL),
(3910, 1, 52, NULL, NULL),
(3911, 1, 53, NULL, NULL),
(3912, 1, 54, NULL, NULL),
(3913, 1, 55, NULL, NULL),
(3914, 1, 56, NULL, NULL),
(3915, 1, 57, NULL, NULL),
(3916, 1, 58, NULL, NULL),
(3917, 1, 59, NULL, NULL),
(3918, 1, 60, NULL, NULL),
(3919, 1, 61, NULL, NULL),
(3920, 1, 62, NULL, NULL),
(3921, 1, 63, NULL, NULL),
(3922, 1, 64, NULL, NULL),
(3923, 1, 65, NULL, NULL),
(3924, 1, 66, NULL, NULL),
(3925, 1, 67, NULL, NULL),
(3926, 1, 68, NULL, NULL),
(3927, 1, 69, NULL, NULL),
(3928, 1, 70, NULL, NULL),
(3929, 1, 71, NULL, NULL),
(3930, 1, 72, NULL, NULL),
(3931, 1, 73, NULL, NULL),
(3932, 1, 74, NULL, NULL),
(3933, 1, 75, NULL, NULL),
(3934, 1, 76, NULL, NULL),
(3935, 1, 77, NULL, NULL),
(3936, 1, 85, NULL, NULL),
(3937, 1, 86, NULL, NULL),
(3938, 1, 87, NULL, NULL),
(3939, 1, 88, NULL, NULL),
(3940, 1, 94, NULL, NULL),
(3941, 1, 95, NULL, NULL),
(3942, 1, 96, NULL, NULL),
(3943, 1, 97, NULL, NULL),
(3944, 1, 98, NULL, NULL),
(3945, 1, 99, NULL, NULL),
(3946, 1, 100, NULL, NULL),
(3947, 1, 101, NULL, NULL),
(3948, 1, 102, NULL, NULL),
(3949, 1, 103, NULL, NULL),
(3950, 1, 104, NULL, NULL),
(3951, 1, 105, NULL, NULL),
(3952, 1, 106, NULL, NULL),
(3953, 1, 107, NULL, NULL),
(3954, 1, 108, NULL, NULL),
(3955, 1, 109, NULL, NULL),
(3956, 1, 110, NULL, NULL),
(3957, 1, 111, NULL, NULL),
(3958, 1, 112, NULL, NULL),
(3959, 1, 113, NULL, NULL),
(3960, 1, 114, NULL, NULL),
(3961, 1, 115, NULL, NULL),
(3962, 1, 116, NULL, NULL),
(3963, 1, 117, NULL, NULL),
(3964, 1, 119, NULL, NULL),
(3965, 1, 120, NULL, NULL),
(3966, 1, 121, NULL, NULL),
(3967, 1, 122, NULL, NULL),
(3968, 1, 123, NULL, NULL),
(3969, 1, 125, NULL, NULL),
(3970, 1, 126, NULL, NULL),
(3971, 1, 127, NULL, NULL),
(3972, 1, 128, NULL, NULL),
(3973, 1, 129, NULL, NULL),
(3974, 1, 130, NULL, NULL),
(3975, 1, 131, NULL, NULL),
(3976, 1, 132, NULL, NULL),
(3977, 1, 133, NULL, NULL),
(3978, 1, 134, NULL, NULL),
(3979, 1, 135, NULL, NULL),
(3980, 1, 136, NULL, NULL),
(3981, 1, 137, NULL, NULL),
(3982, 1, 138, NULL, NULL),
(3983, 1, 139, NULL, NULL),
(3984, 1, 140, NULL, NULL),
(3985, 1, 141, NULL, NULL),
(3986, 1, 142, NULL, NULL),
(3987, 1, 143, NULL, NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `members`
--

CREATE TABLE `members` (
  `id` int(11) NOT NULL,
  `nm_member` varchar(191) NOT NULL,
  `keterangan` varchar(191) DEFAULT NULL,
  `limit_hutang` int(11) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `kd_sinkron` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `menus`
--

CREATE TABLE `menus` (
  `id` int(11) NOT NULL,
  `nm_menu` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `aksi_menu` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `menus`
--

INSERT INTO `menus` (`id`, `nm_menu`, `aksi_menu`, `created_at`, `updated_at`) VALUES
(1, 'Pelanggan', 'View', '2019-05-05 14:45:07', NULL),
(2, 'Pelanggan', 'Add', '2019-05-05 14:45:14', NULL),
(3, 'Pelanggan', 'Edit', '2019-05-05 14:45:21', NULL),
(4, 'Pelanggan', 'Delete', '2019-05-05 14:45:29', NULL),
(5, 'Supplier', 'View', '2019-05-05 14:45:44', NULL),
(6, 'Supplier', 'Add', '2019-05-05 14:45:50', NULL),
(7, 'Supplier', 'Edit', '2019-05-05 14:45:56', NULL),
(8, 'Supplier', 'Delete', '2019-05-05 14:46:03', NULL),
(9, 'Merek', 'View', '2019-05-05 14:46:14', NULL),
(10, 'Merek', 'Add', '2019-05-05 14:46:24', NULL),
(11, 'Merek', 'Edit', '2019-05-05 14:46:29', NULL),
(12, 'Merek', 'Delete', '2019-05-05 14:46:36', NULL),
(13, 'Kategori', 'View', '2019-05-05 14:46:48', NULL),
(14, 'Kategori', 'Add', '2019-05-05 14:46:54', NULL),
(15, 'Kategori', 'Edit', '2019-05-05 14:47:00', NULL),
(16, 'Kategori', 'Delete', '2019-05-05 14:47:07', NULL),
(17, 'Jenis', 'View', '2019-05-05 14:47:18', NULL),
(18, 'Jenis', 'Add', '2019-05-05 14:47:23', NULL),
(19, 'Jenis', 'Edit', '2019-05-05 14:47:29', NULL),
(20, 'Jenis', 'Delete', '2019-05-05 14:47:34', NULL),
(21, 'Satuan', 'View', '2019-05-05 14:47:48', NULL),
(22, 'Satuan', 'Add', '2019-05-05 14:47:53', NULL),
(23, 'Satuan', 'Edit', '2019-05-05 14:47:58', NULL),
(24, 'Satuan', 'Delete', '2019-05-05 14:48:04', NULL),
(25, 'Barang', 'View', '2019-05-05 14:48:13', NULL),
(26, 'Barang', 'Add', '2019-05-05 14:48:18', NULL),
(27, 'Barang', 'Edit', '2019-05-05 14:48:24', NULL),
(28, 'Barang', 'Delete', '2019-05-05 14:48:29', NULL),
(29, 'User', 'View', NULL, NULL),
(30, 'User', 'Add', NULL, NULL),
(31, 'User', 'Edit', NULL, NULL),
(32, 'User', 'Delete', NULL, NULL),
(33, 'Level', 'View', NULL, NULL),
(34, 'Level', 'Add', NULL, NULL),
(35, 'Level', 'Edit', NULL, NULL),
(36, 'Level', 'Delete', NULL, NULL),
(37, 'Pembelian Barang', 'View', NULL, NULL),
(38, 'Pembelian Barang', 'Add', NULL, NULL),
(39, 'Pembelian Barang', 'Edit', NULL, NULL),
(40, 'Pembelian Barang', 'Delete', NULL, NULL),
(41, 'Penjualan Barang', 'View', NULL, NULL),
(42, 'Penjualan Barang', 'Add', NULL, NULL),
(43, 'Penjualan Barang', 'Edit', NULL, NULL),
(44, 'Penjualan Barang', 'Delete', NULL, NULL),
(45, 'Retur Pembelian', 'View', NULL, NULL),
(46, 'Retur Pembelian', 'Add', NULL, NULL),
(47, 'Retur Pembelian', 'Edit', NULL, NULL),
(48, 'Retur Pembelian', 'Delete', NULL, NULL),
(49, 'Retur Penjualan', 'View', NULL, NULL),
(50, 'Retur Penjualan', 'Add', NULL, NULL),
(51, 'Retur Penjualan', 'Edit', NULL, NULL),
(52, 'Retur Penjualan', 'Delete', NULL, NULL),
(53, 'Pembayaran Hutang', 'View', NULL, NULL),
(54, 'Pembayaran Hutang', 'Add', NULL, NULL),
(55, 'Pembayaran Hutang', 'Edit', NULL, NULL),
(56, 'Pembayaran Hutang', 'Delete', NULL, NULL),
(57, 'Pembayaran Piutang', 'View', NULL, NULL),
(58, 'Pembayaran Piutang', 'Add', NULL, NULL),
(59, 'Pembayaran Piutang', 'Edit', NULL, NULL),
(60, 'Pembayaran Piutang', 'Delete', NULL, NULL),
(61, 'Backup', 'View', NULL, NULL),
(62, 'Backup', 'Add', NULL, NULL),
(63, 'Backup', 'Download', NULL, NULL),
(64, 'Bagian Master Data', 'View', NULL, NULL),
(65, 'Bagian Master Data', 'Print', NULL, NULL),
(66, 'Bagian Master Data', 'Excel', NULL, NULL),
(67, 'Bagian Pembelian', 'View', NULL, NULL),
(68, 'Bagian Pembelian', 'Print', NULL, NULL),
(69, 'Bagian Pembelian', 'Excel', NULL, NULL),
(70, 'Bagian Penjualan', 'View', NULL, NULL),
(71, 'Bagian Penjualan', 'Print', NULL, NULL),
(72, 'Bagian Penjualan', 'Excel', NULL, NULL),
(73, 'Bagian Retur', 'View', NULL, NULL),
(74, 'Bagian Retur', 'Print', NULL, NULL),
(75, 'Bagian Retur', 'Excel', NULL, NULL),
(76, 'Profil', 'View', NULL, NULL),
(77, 'Profil', 'Update', NULL, NULL),
(85, 'Courier', 'View', NULL, NULL),
(86, 'Courier', 'Add', NULL, NULL),
(87, 'Courier', 'Edit', NULL, NULL),
(88, 'Courier', 'Delete', NULL, NULL),
(94, 'Member', 'View', NULL, NULL),
(95, 'Member', 'Add', NULL, NULL),
(96, 'Member', 'Edit', NULL, NULL),
(97, 'Member', 'Delete', NULL, NULL),
(98, 'Bank', 'View', NULL, NULL),
(99, 'Bank', 'Add', NULL, NULL),
(100, 'Bank', 'Edit', NULL, NULL),
(101, 'Bank', 'Delete', NULL, NULL),
(102, 'Setting', 'View', NULL, NULL),
(103, 'Petty Cash', 'View', NULL, NULL),
(104, 'Petty Cash', 'Add', NULL, NULL),
(105, 'Petty Cash', 'Edit', NULL, NULL),
(106, 'Petty Cash', 'Delete', NULL, NULL),
(107, 'Permohonan Dana', 'View', NULL, NULL),
(108, 'Permohonan Dana', 'Add', NULL, NULL),
(109, 'Permohonan Dana', 'Edit', NULL, NULL),
(110, 'Permohonan Dana', 'Delete', NULL, NULL),
(111, 'Pembelian Barang', 'Review', NULL, NULL),
(112, 'Pembelian Barang', 'Approve', NULL, NULL),
(113, 'Pembelian Barang', 'Receive', NULL, NULL),
(114, 'Realisasi', 'Review', NULL, NULL),
(115, 'Realisasi', 'Approve', NULL, NULL),
(116, 'Realisasi', 'Receive', NULL, NULL),
(117, 'Realisasi', 'View', NULL, NULL),
(119, 'Permohonan Dana', 'Review', NULL, NULL),
(120, 'Permohonan Dana', 'Approve', NULL, NULL),
(121, 'Pembayaran Supplier', 'View', NULL, NULL),
(122, 'Pembayaran Supplier', 'Review', NULL, NULL),
(123, 'Pembayaran Supplier', 'Approve', NULL, NULL),
(125, 'Permintaan Barang', 'View', NULL, NULL),
(126, 'Permintaan Barang', 'Approve', NULL, NULL),
(127, 'Invoice', 'View', NULL, NULL),
(128, 'Rak', 'View', NULL, NULL),
(129, 'Rak', 'Add', NULL, NULL),
(130, 'Rak', 'Edit', NULL, NULL),
(131, 'Rak', 'Delete', NULL, NULL),
(132, 'Ongkir', 'View', NULL, NULL),
(133, 'Ongkir', 'Create', NULL, NULL),
(134, 'Ongkir', 'Edit', NULL, NULL),
(135, 'Ongkir', 'Delete', NULL, NULL),
(136, 'Penjualan Etalase', 'View', NULL, NULL),
(137, 'Penjualan Etalase', 'Create', NULL, NULL),
(138, 'Penjualan Etalase', 'Edit', NULL, NULL),
(139, 'Penjualan Etalase', 'Delete', NULL, NULL),
(140, 'Metode Bayar', 'View', NULL, NULL),
(141, 'Metode Bayar', 'Create', NULL, NULL),
(142, 'Metode Bayar', 'Update', NULL, NULL),
(143, 'Metode Bayar', 'Delete', NULL, NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `mereks`
--

CREATE TABLE `mereks` (
  `kd_merek` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_merek` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `metode_bayars`
--

CREATE TABLE `metode_bayars` (
  `id` int(11) NOT NULL,
  `metode` varchar(25) NOT NULL,
  `keterangan` text,
  `sinkron` enum('0','1') NOT NULL,
  `kd_sinkron` varchar(191) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `ongkirs`
--

CREATE TABLE `ongkirs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `kelurahan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `ongkirs`
--

INSERT INTO `ongkirs` (`id`, `kelurahan`, `harga`, `created_at`, `updated_at`) VALUES
(1, 'Pelabuhan', 10000, '2021-09-28 01:20:45', '2021-09-28 01:20:45'),
(2, 'Karang Mumus', 10000, '2021-09-28 01:57:21', '2021-09-28 01:57:21'),
(3, 'Selili', 13000, '2021-09-28 01:57:40', '2021-09-28 01:57:40'),
(4, 'Sidomulya', 12000, '2021-09-28 01:58:02', '2021-09-28 01:58:02'),
(5, 'Sambutan', 15000, '2021-09-28 01:58:17', '2021-09-28 01:58:17'),
(6, 'Makroman', 25000, '2021-09-28 01:58:49', '2021-09-28 01:58:49'),
(7, 'Anggana', 30000, '2021-09-28 01:59:10', '2021-09-28 01:59:10'),
(8, 'Loa Janan Ulu', 30000, '2021-09-28 01:59:34', '2021-09-28 01:59:34'),
(9, 'Loa Duri', 40000, '2021-09-28 01:59:48', '2021-09-28 01:59:48'),
(10, 'Tenggarong', 60000, '2021-09-28 02:00:01', '2021-09-28 02:00:01'),
(11, 'Loa Kulu', 60000, '2021-09-28 02:00:12', '2021-09-28 02:00:12');

-- --------------------------------------------------------

--
-- Struktur dari tabel `pakets`
--

CREATE TABLE `pakets` (
  `id_paket` int(11) NOT NULL,
  `nama_paket` varchar(50) NOT NULL,
  `harga` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `pelanggans`
--

CREATE TABLE `pelanggans` (
  `kd_pelanggan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_pelanggan` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alamat` text COLLATE utf8mb4_unicode_ci,
  `city_id` int(10) UNSIGNED DEFAULT NULL,
  `member_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `kota` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `no_telepon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `pembayaran_suppliers`
--

CREATE TABLE `pembayaran_suppliers` (
  `no_pembayaran` char(20) NOT NULL,
  `tgl_pembayaran` date NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `foto_path` varchar(255) DEFAULT NULL,
  `kd_supplier` char(20) NOT NULL,
  `prepared_id` int(11) NOT NULL,
  `approved_id` int(11) DEFAULT NULL,
  `reviewed_id` int(11) DEFAULT NULL,
  `jenis_permohonan` varchar(255) NOT NULL,
  `bank_trf` varchar(255) DEFAULT NULL,
  `nama_rekening` varchar(255) DEFAULT NULL,
  `nomor_rekening` varchar(255) DEFAULT NULL,
  `tgl_prepare` date NOT NULL,
  `tgl_approve` date DEFAULT NULL,
  `tgl_review` date DEFAULT NULL,
  `nomor_invoice` varchar(255) DEFAULT NULL,
  `total` int(11) NOT NULL,
  `keterangan` varchar(255) DEFAULT NULL,
  `rejected_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `pembelians`
--

CREATE TABLE `pembelians` (
  `no_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_pembelian` date NOT NULL,
  `kd_supplier` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prepared_id` int(11) NOT NULL,
  `reviewed_id` int(11) DEFAULT NULL,
  `approved_id` int(11) DEFAULT NULL,
  `received_id` int(11) DEFAULT NULL,
  `jenis_permohonan` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_trf` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nama_rekening` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nomor_rekening` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tgl_prepare` date NOT NULL,
  `tgl_review` date DEFAULT NULL,
  `tgl_approve` date DEFAULT NULL,
  `tgl_receive` date DEFAULT NULL,
  `nomor_invoice` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total` int(11) NOT NULL,
  `keterangan` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dp` int(11) NOT NULL DEFAULT '0',
  `ppn` tinyint(1) NOT NULL DEFAULT '0',
  `rejected_id` int(11) DEFAULT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `penjualans`
--

CREATE TABLE `penjualans` (
  `no_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_penjualan` date NOT NULL,
  `kd_pelanggan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ket` text COLLATE utf8mb4_unicode_ci,
  `kode_bank` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_id` int(11) DEFAULT NULL,
  `ongkos_kirim` int(11) DEFAULT NULL,
  `uang_bayar` int(11) NOT NULL,
  `id_user` int(11) NOT NULL,
  `id_courier` bigint(20) DEFAULT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `penjualan_etalases`
--

CREATE TABLE `penjualan_etalases` (
  `no_penjualan` char(20) NOT NULL,
  `tgl_penjualan` datetime NOT NULL,
  `nama_pelanggan` varchar(191) NOT NULL,
  `nomor_hp` varchar(191) NOT NULL,
  `alamat` text NOT NULL,
  `ongkir_id` bigint(20) NOT NULL,
  `note` text,
  `jenis_pembayaran` enum('wa') NOT NULL,
  `cara_pembayaran` enum('cod','transfer') NOT NULL,
  `foto_path` varchar(191) DEFAULT NULL,
  `status` enum('pending','sukses') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `penjualan_etalases`
--

INSERT INTO `penjualan_etalases` (`no_penjualan`, `tgl_penjualan`, `nama_pelanggan`, `nomor_hp`, `alamat`, `ongkir_id`, `note`, `jenis_pembayaran`, `cara_pembayaran`, `foto_path`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
('PJN-1632795185', '2021-09-28 10:13:05', 'Bagus Indrayana', '081545419859', 'jl.jelawat gg.09', 4, 'sambelnya jangan pedas-pedas', 'wa', 'transfer', 'PJN-1632795185.png', 'sukses', '2021-09-28 02:13:05', '2021-09-30 01:45:37', NULL),
('PJN-1632796453', '2021-09-28 10:34:13', 'Priyo', '081347997165', 'Jalan sambutan gg sambut', 5, 'jangan pedas', 'wa', 'cod', 'PJN-1632796453.jpg', 'sukses', '2021-09-28 02:34:13', '2021-09-29 05:07:56', NULL),
('PJN-1632820714', '2021-09-28 05:18:34', 'dummy', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 1, NULL, 'wa', 'transfer', 'PJN-1632820714.jpg', 'sukses', '2021-09-28 09:18:34', '2021-09-29 04:58:15', NULL),
('PJN-1632914295', '2021-09-29 07:18:15', 'dummy', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 1, NULL, 'wa', 'cod', NULL, 'pending', '2021-09-29 11:18:15', '2021-09-29 11:18:15', NULL),
('PJN-1632964733', '2021-09-30 09:18:53', 'dummy', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 3, NULL, 'wa', 'cod', NULL, 'pending', '2021-09-30 01:18:53', '2021-09-30 01:18:53', NULL),
('PJN-1632965182', '2021-09-30 09:26:22', 'dummytest', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 6, 'test', 'wa', 'cod', NULL, 'pending', '2021-09-30 01:26:22', '2021-09-30 01:26:22', NULL),
('PJN-1632966212', '2021-09-30 09:43:32', 'wadidaw', '0876543286', 'ksafacankjen', 11, 'akjndau', 'wa', 'cod', NULL, 'pending', '2021-09-30 01:43:32', '2021-09-30 01:43:32', NULL),
('PJN-1632967537', '2021-09-30 10:05:37', 'panah', '231324214234', 'nama jalan,nomor rumah,rt/rw...', 9, NULL, 'wa', 'transfer', NULL, 'pending', '2021-09-30 02:05:37', '2021-09-30 02:05:37', NULL),
('PJN-1632976223', '2021-09-30 12:30:23', 'Tes Aplikasi', '0824343141', 'nama jalan,nomor rumah,rt/rw...', 10, 'JANGAN DIANTAR', 'wa', 'transfer', NULL, 'pending', '2021-09-30 04:30:23', '2021-09-30 04:30:23', NULL),
('PJN-1632976302', '2021-09-30 12:31:42', 'tes apliaksi', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 1, 'JANGAN DIANTAR', 'wa', 'cod', NULL, 'pending', '2021-09-30 04:31:42', '2021-09-30 04:31:42', NULL),
('PJN-1633397334', '2021-10-05 09:28:54', 'Meli', '085250868945', 'Jl MT haryono nomer 36', 2, 'Tes tes aja', 'wa', 'cod', NULL, 'pending', '2021-10-05 01:28:54', '2021-10-05 01:28:54', NULL),
('PJN-1640658522', '2021-12-28 10:28:42', 'dummy', '081347997165', 'nama jalan,nomor rumah,rt/rw...', 1, NULL, 'wa', 'transfer', NULL, 'pending', '2021-12-28 02:28:42', '2021-12-28 02:28:42', NULL),
('PJN-1640661038', '2021-12-28 11:10:38', 'dummyrf', '08134799716566', 'nama jalan,nomor rumah,rt/rw...', 1, NULL, 'wa', 'transfer', NULL, 'pending', '2021-12-28 03:10:38', '2021-12-28 03:10:38', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `permintaan_barangs`
--

CREATE TABLE `permintaan_barangs` (
  `id` int(11) NOT NULL,
  `nomor` varchar(255) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `prepared_id` int(11) NOT NULL,
  `approved_id` int(11) DEFAULT NULL,
  `rejected_id` int(11) DEFAULT NULL,
  `tgl_prepare` date NOT NULL,
  `tgl_approve` date DEFAULT NULL,
  `tgl_permintaan_barang` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `permohonan_danas`
--

CREATE TABLE `permohonan_danas` (
  `id` int(11) NOT NULL,
  `nomor` varchar(255) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `prepared_id` int(11) NOT NULL,
  `reviewed_id` int(11) DEFAULT NULL,
  `approved_id` int(11) DEFAULT NULL,
  `rejected_id` int(11) DEFAULT NULL,
  `tgl_prepare` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `tgl_review` timestamp NULL DEFAULT NULL,
  `tgl_approve` timestamp NULL DEFAULT NULL,
  `jenis_permohonan` varchar(255) NOT NULL,
  `keterangan` text,
  `rekening_nomor` text NOT NULL,
  `atas_nama` text NOT NULL,
  `bank_id` int(11) NOT NULL,
  `tgl_permohonan_dana` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `petty_cashes`
--

CREATE TABLE `petty_cashes` (
  `id` int(11) NOT NULL,
  `tanggal` date NOT NULL,
  `cash_awal` bigint(20) NOT NULL,
  `cash_akhir` bigint(20) DEFAULT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `kd_sinkron` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `piutang`
--

CREATE TABLE `piutang` (
  `no_piutang` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_penjualan` char(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sisa_piutang` bigint(20) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `poins`
--

CREATE TABLE `poins` (
  `id` int(11) NOT NULL,
  `kd_pelanggan` char(8) NOT NULL,
  `keterangan` text NOT NULL,
  `jumlah` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `profils`
--

CREATE TABLE `profils` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `alamat` varchar(225) COLLATE utf8mb4_unicode_ci NOT NULL,
  `city_id` int(10) UNSIGNED NOT NULL,
  `no_telepon` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_telepon_driver` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_rek` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `logo2` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dipilih` tinyint(1) NOT NULL,
  `url_server` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `profils`
--

INSERT INTO `profils` (`id`, `nama`, `alamat`, `city_id`, `no_telepon`, `no_telepon_driver`, `keterangan`, `no_rek`, `logo`, `logo2`, `dipilih`, `url_server`, `created_at`, `updated_at`) VALUES
(1, 'Ayam Canton', 'Jl. Pangeran Diponegoro No.11, Ps. Pagi, Kec. Samarinda Kota, Kota Samarinda, Kalimantan Timur 75112', 387, '6282158490006', '6282158490006', 'Periksa kembali barang belanjaan\r\nBarang yang sudah di beli\r\ntidak dapat ditukar kembali', 'BCA 8355232162 / Bank mandiri  148-00-1068768-2 an. Mukmin alfarih.', '20210928092647Ayam Canton.jpg', '20210928092515Hayyu Mart2.jpg', 1, 'https://hayyu-mart.aplikasipos.info', NULL, '2021-09-30 03:57:09');

-- --------------------------------------------------------

--
-- Struktur dari tabel `provinces`
--

CREATE TABLE `provinces` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `province_id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `provinces`
--

INSERT INTO `provinces` (`id`, `province_id`, `title`, `created_at`, `updated_at`) VALUES
(15, 15, 'Kalimantan Timur', NULL, NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `raks`
--

CREATE TABLE `raks` (
  `kd_rak` char(20) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `raks`
--

INSERT INTO `raks` (`kd_rak`, `sinkron`, `created_at`, `updated_at`, `deleted_at`) VALUES
('001', '0', '2021-09-28 01:44:24', '2021-09-28 01:44:24', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `realisasis`
--

CREATE TABLE `realisasis` (
  `id` int(11) NOT NULL,
  `kd_sinkron` varchar(255) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `prepared_id` int(11) DEFAULT NULL,
  `reviewed_id` int(11) DEFAULT NULL,
  `approved_id` int(11) DEFAULT NULL,
  `received_id` int(11) DEFAULT NULL,
  `rejected_id` int(11) DEFAULT NULL,
  `tgl_prepare` timestamp NULL DEFAULT NULL,
  `tgl_review` timestamp NULL DEFAULT NULL,
  `tgl_approve` timestamp NULL DEFAULT NULL,
  `tgl_receive` timestamp NULL DEFAULT NULL,
  `jenis_realisasi` varchar(255) DEFAULT NULL,
  `total` int(11) DEFAULT NULL,
  `tgl_realisasi` date DEFAULT NULL,
  `no_pembelian` char(20) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Struktur dari tabel `retur_pembelians`
--

CREATE TABLE `retur_pembelians` (
  `no_retur_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_retur_pembelian` date NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_pembelian` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_user` int(11) NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `retur_penjualans`
--

CREATE TABLE `retur_penjualans` (
  `no_retur_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tgl_retur_penjualan` date NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kd_penjualan` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `id_user` int(11) NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `satuans`
--

CREATE TABLE `satuans` (
  `kd_satuan` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_satuan` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `satuans`
--

INSERT INTO `satuans` (`kd_satuan`, `nm_satuan`, `sinkron`, `created_at`, `updated_at`, `deleted_at`) VALUES
('SN-1632793491', 'Pcs', '0', '2021-09-28 01:44:51', '2021-09-28 01:44:51', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `kode` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `settings`
--

INSERT INTO `settings` (`id`, `kode`, `created_at`, `updated_at`) VALUES
(1, '645731', NULL, '2021-07-23 05:54:50');

-- --------------------------------------------------------

--
-- Struktur dari tabel `sliders`
--

CREATE TABLE `sliders` (
  `id` int(11) NOT NULL,
  `foto_path` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `sliders`
--

INSERT INTO `sliders` (`id`, `foto_path`, `created_at`, `updated_at`) VALUES
(1, '20210928092956.jpg', '2021-08-09 01:11:49', '2021-09-28 01:29:56'),
(2, '20210928092941.jpg', '2021-08-09 01:12:28', '2021-09-28 01:29:41'),
(3, '20210928093008.jpg', '2021-09-28 01:30:08', '2021-09-28 01:30:08');

-- --------------------------------------------------------

--
-- Struktur dari tabel `stok_opname`
--

CREATE TABLE `stok_opname` (
  `id` int(11) NOT NULL,
  `kd_barang` varchar(20) NOT NULL,
  `stok_rak` int(11) NOT NULL,
  `stok_gudang` int(11) NOT NULL,
  `stok_gudang2` int(11) NOT NULL,
  `sinkron` enum('0','1') NOT NULL,
  `kd_sinkron` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `stok_opname`
--

INSERT INTO `stok_opname` (`id`, `kd_barang`, `stok_rak`, `stok_gudang`, `stok_gudang2`, `sinkron`, `kd_sinkron`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'BRG-1632793604', 0, 100, 1, '0', '1632891357', '2021-09-29 04:55:57', '2021-09-29 04:55:57', NULL),
(2, 'BRG-1632794572', 0, 100, 1, '0', '1632891404', '2021-09-29 04:56:43', '2021-09-29 04:56:44', NULL),
(3, 'BRG-1632794884', 0, 100, 11, '0', '1632891441', '2021-09-29 04:57:14', '2021-09-29 04:57:21', NULL),
(4, 'BRG-1632794842', 100, 0, 0, '0', '1632891452', '2021-09-29 04:57:32', '2021-09-29 04:57:32', NULL),
(5, 'BRG-1632794636', 0, 0, 100, '0', '1632891461', '2021-09-29 04:57:41', '2021-09-29 04:57:41', NULL),
(6, 'BRG-1632794533', 100, 0, 0, '0', '1632891470', '2021-09-29 04:57:50', '2021-09-29 04:57:50', NULL),
(7, 'BRG-1632794487', 100, 0, 0, '0', '1632891476', '2021-09-29 04:57:56', '2021-09-29 04:57:56', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `suppliers`
--

CREATE TABLE `suppliers` (
  `kd_supplier` char(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `nm_supplier` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alamat` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `no_telepon` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `no_wa` varchar(225) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sinkron` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Struktur dari tabel `user_logs`
--

CREATE TABLE `user_logs` (
  `id` int(11) NOT NULL,
  `id_user` int(11) NOT NULL,
  `keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data untuk tabel `user_logs`
--

INSERT INTO `user_logs` (`id`, `id_user`, `keterangan`, `created_at`, `updated_at`) VALUES
(1, 1, 'menambah Data Kategori Ayam Kampung', '2021-09-28 01:39:17', '2021-09-28 01:39:17'),
(2, 1, 'menambah Data Kategori Bebek', '2021-09-28 01:39:27', '2021-09-28 01:39:27'),
(3, 1, 'menambah Data Kategori Makanan Pendamping', '2021-09-28 01:41:06', '2021-09-28 01:41:06'),
(4, 1, 'menambah Data Kategori Minuman', '2021-09-28 01:41:55', '2021-09-28 01:41:55'),
(5, 1, 'menambah Data rak 001', '2021-09-28 01:44:24', '2021-09-28 01:44:24'),
(6, 1, 'Menambah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:46:44', '2021-09-28 01:46:44'),
(7, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:47:18', '2021-09-28 01:47:18'),
(8, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:47:35', '2021-09-28 01:47:35'),
(9, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:47:51', '2021-09-28 01:47:51'),
(10, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:48:54', '2021-09-28 01:48:54'),
(11, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:50:18', '2021-09-28 01:50:18'),
(12, 1, 'Mengubah Data Barang Ayam Kampung 1/2 Ekor', '2021-09-28 01:51:28', '2021-09-28 01:51:28'),
(13, 1, 'Menambah Data Barang Ayam Kampung 1 Ekor', '2021-09-28 01:53:49', '2021-09-28 01:53:49'),
(14, 1, 'Menambah Data Barang Bebek Asap 1 Ekor', '2021-09-28 02:01:27', '2021-09-28 02:01:27'),
(15, 1, 'Menambah Data Barang Bebek Goreng 1 Ekor', '2021-09-28 02:02:13', '2021-09-28 02:02:13'),
(16, 1, 'Menambah Data Barang Bebek 1/2 Ekor', '2021-09-28 02:02:53', '2021-09-28 02:02:53'),
(17, 1, 'Menambah Data Barang Pokcoy', '2021-09-28 02:03:56', '2021-09-28 02:03:56'),
(18, 1, 'Mengubah Data Barang Bebek Asap 1 Ekor', '2021-09-28 02:04:08', '2021-09-28 02:04:08'),
(19, 1, 'Mengubah Data Barang Bebek Goreng 1 Ekor', '2021-09-28 02:04:19', '2021-09-28 02:04:19'),
(20, 1, 'Mengubah Data Barang Bebek 1/2 Ekor', '2021-09-28 02:04:33', '2021-09-28 02:04:33'),
(21, 1, 'Menambah Data Barang Lalapan', '2021-09-28 02:07:22', '2021-09-28 02:07:22'),
(22, 1, 'Menambah Data Barang Es Teh Manis', '2021-09-28 02:08:04', '2021-09-28 02:08:04'),
(23, 1, 'User Login 2021-09-28 10:37:45', '2021-09-28 02:37:45', '2021-09-28 02:37:45'),
(24, 1, 'User Login 2021-09-28 10:43:59', '2021-09-28 02:43:59', '2021-09-28 02:43:59'),
(25, 1, 'User Login 2021-09-28 13:35:44', '2021-09-28 05:35:44', '2021-09-28 05:35:44'),
(26, 1, 'Menambah Data Level Etalase', '2021-09-28 05:40:30', '2021-09-28 05:40:30'),
(27, 1, 'Menambah Data User etalase', '2021-09-28 05:41:28', '2021-09-28 05:41:28'),
(28, 1, 'Mengahapus Data User etalase', '2021-09-28 05:41:44', '2021-09-28 05:41:44'),
(29, 1, 'Menambah Data User Etalase', '2021-09-28 05:42:01', '2021-09-28 05:42:01'),
(30, 1, 'User Logout 2021-09-28 13:42:12', '2021-09-28 05:42:12', '2021-09-28 05:42:12'),
(31, 1, 'User Login 2021-09-28 13:42:56', '2021-09-28 05:42:56', '2021-09-28 05:42:56'),
(32, 1, 'Mengahapus Data User Etalase', '2021-09-28 05:43:29', '2021-09-28 05:43:29'),
(33, 1, 'Menambah Data User Etalase', '2021-09-28 05:44:27', '2021-09-28 05:44:27'),
(34, 1, 'User Logout 2021-09-28 13:44:31', '2021-09-28 05:44:31', '2021-09-28 05:44:31'),
(35, 36, 'User Login 2021-09-28 13:45:09', '2021-09-28 05:45:09', '2021-09-28 05:45:09'),
(36, 36, 'User Logout 2021-09-28 14:07:15', '2021-09-28 06:07:15', '2021-09-28 06:07:15'),
(37, 36, 'User Login 2021-09-28 14:07:45', '2021-09-28 06:07:45', '2021-09-28 06:07:45'),
(38, 36, 'User Logout 2021-09-28 14:07:59', '2021-09-28 06:07:59', '2021-09-28 06:07:59'),
(39, 1, 'User Login 2021-09-28 14:08:11', '2021-09-28 06:08:11', '2021-09-28 06:08:11'),
(40, 36, 'User Login 2021-09-28 14:09:04', '2021-09-28 06:09:04', '2021-09-28 06:09:04'),
(41, 36, 'User Login 2021-09-28 14:09:22', '2021-09-28 06:09:22', '2021-09-28 06:09:22'),
(42, 36, 'User Logout 2021-09-28 14:11:45', '2021-09-28 06:11:45', '2021-09-28 06:11:45'),
(43, 1, 'User Login 2021-09-28 14:17:41', '2021-09-28 06:17:41', '2021-09-28 06:17:41'),
(44, 36, 'User Login 2021-09-29 12:52:30', '2021-09-29 04:52:30', '2021-09-29 04:52:30'),
(45, 36, 'User Logout 2021-09-29 12:53:00', '2021-09-29 04:53:00', '2021-09-29 04:53:00'),
(46, 1, 'User Login 2021-09-29 12:53:14', '2021-09-29 04:53:14', '2021-09-29 04:53:14'),
(47, 1, 'Mengubah Data Barang Ayam Kampung 1 Ekor', '2021-09-29 04:55:09', '2021-09-29 04:55:09'),
(48, 36, 'User Login 2021-09-29 13:03:55', '2021-09-29 05:03:55', '2021-09-29 05:03:55'),
(49, 1, 'User Logout 2021-09-29 13:07:12', '2021-09-29 05:07:12', '2021-09-29 05:07:12'),
(50, 36, 'User Login 2021-09-29 13:07:28', '2021-09-29 05:07:28', '2021-09-29 05:07:28'),
(51, 36, 'User Logout 2021-09-29 13:08:34', '2021-09-29 05:08:34', '2021-09-29 05:08:34'),
(52, 1, 'User Login 2021-09-29 14:30:54', '2021-09-29 06:30:54', '2021-09-29 06:30:54'),
(53, 36, 'User Login 2021-09-29 19:19:57', '2021-09-29 11:19:57', '2021-09-29 11:19:57'),
(54, 36, 'User Logout 2021-09-29 19:30:21', '2021-09-29 11:30:21', '2021-09-29 11:30:21'),
(55, 1, 'User Login 2021-09-29 19:30:34', '2021-09-29 11:30:34', '2021-09-29 11:30:34'),
(56, 1, 'User Logout 2021-09-29 19:31:05', '2021-09-29 11:31:05', '2021-09-29 11:31:05'),
(57, 36, 'User Login 2021-09-30 09:14:16', '2021-09-30 01:14:16', '2021-09-30 01:14:16'),
(58, 36, 'User Logout 2021-09-30 09:17:12', '2021-09-30 01:17:12', '2021-09-30 01:17:12'),
(59, 1, 'User Login 2021-09-30 09:17:25', '2021-09-30 01:17:25', '2021-09-30 01:17:25'),
(60, 36, 'User Login 2021-09-30 09:44:40', '2021-09-30 01:44:40', '2021-09-30 01:44:40'),
(61, 36, 'User Logout 2021-09-30 11:01:56', '2021-09-30 03:01:56', '2021-09-30 03:01:56'),
(62, 1, 'User Login 2021-09-30 11:02:08', '2021-09-30 03:02:08', '2021-09-30 03:02:08'),
(63, 36, 'User Login 2021-09-30 12:34:04', '2021-09-30 04:34:04', '2021-09-30 04:34:04'),
(64, 1, 'User Login 2021-10-01 16:35:21', '2021-10-01 08:35:21', '2021-10-01 08:35:21'),
(65, 1, 'User Login 2021-11-01 10:43:36', '2021-11-01 02:43:36', '2021-11-01 02:43:36');

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `banks`
--
ALTER TABLE `banks`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `barangs`
--
ALTER TABLE `barangs`
  ADD PRIMARY KEY (`kd_barang`),
  ADD KEY `kd_jenis` (`kd_jenis`),
  ADD KEY `kd_merek` (`kd_merek`),
  ADD KEY `kd_kategori` (`kd_kategori`),
  ADD KEY `kd_rak` (`kd_rak`);

--
-- Indeks untuk tabel `bayar_jasas`
--
ALTER TABLE `bayar_jasas`
  ADD PRIMARY KEY (`no_bayar_jasa`),
  ADD KEY `kd_supplier` (`no_jasa`),
  ADD KEY `id_user` (`user_id`);

--
-- Indeks untuk tabel `bayar_pembelians`
--
ALTER TABLE `bayar_pembelians`
  ADD PRIMARY KEY (`no_bayar_pembelian`),
  ADD KEY `kd_supplier` (`no_hutang`),
  ADD KEY `id_user` (`id_user`);

--
-- Indeks untuk tabel `bayar_penjualans`
--
ALTER TABLE `bayar_penjualans`
  ADD PRIMARY KEY (`no_bayar_penjualan`),
  ADD KEY `kd_supplier` (`no_piutang`),
  ADD KEY `id_user` (`id_user`);

--
-- Indeks untuk tabel `bonuses`
--
ALTER TABLE `bonuses`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `cities`
--
ALTER TABLE `cities`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `couriers`
--
ALTER TABLE `couriers`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `detail_invoices`
--
ALTER TABLE `detail_invoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoice_id` (`invoice_id`);

--
-- Indeks untuk tabel `detail_jasas`
--
ALTER TABLE `detail_jasas`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `detail_pakets`
--
ALTER TABLE `detail_pakets`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `detail_pembelians`
--
ALTER TABLE `detail_pembelians`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id_harga_barang` (`id_harga_barang`);

--
-- Indeks untuk tabel `detail_penjualans`
--
ALTER TABLE `detail_penjualans`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id_harga_barang` (`id_harga_barang`);

--
-- Indeks untuk tabel `detail_penjualan_etalases`
--
ALTER TABLE `detail_penjualan_etalases`
  ADD PRIMARY KEY (`id`),
  ADD KEY `no_penjualan` (`no_penjualan`),
  ADD KEY `kd_etalase` (`id_harga_barang`);

--
-- Indeks untuk tabel `detail_permintaan_barangs`
--
ALTER TABLE `detail_permintaan_barangs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permintaan_barang_id` (`permintaan_barang_id`);

--
-- Indeks untuk tabel `detail_permohonan_danas`
--
ALTER TABLE `detail_permohonan_danas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permohonan_dana_id` (`permohonan_dana_id`);

--
-- Indeks untuk tabel `detail_realisasis`
--
ALTER TABLE `detail_realisasis`
  ADD PRIMARY KEY (`id`),
  ADD KEY `realisasi_id` (`realisasi_id`),
  ADD KEY `id_harga_barang` (`id_harga_barang`);

--
-- Indeks untuk tabel `detail_retur_pembelians`
--
ALTER TABLE `detail_retur_pembelians`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `detail_retur_penjualans`
--
ALTER TABLE `detail_retur_penjualans`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `harga_barangs`
--
ALTER TABLE `harga_barangs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `kd_barang` (`kd_barang`),
  ADD KEY `kd_satuan_beli` (`kd_satuan_beli`),
  ADD KEY `kd_satuan` (`kd_satuan_jual`);

--
-- Indeks untuk tabel `hutang`
--
ALTER TABLE `hutang`
  ADD PRIMARY KEY (`no_hutang`),
  ADD KEY `no_pembelian` (`no_pembelian`);

--
-- Indeks untuk tabel `invoices`
--
ALTER TABLE `invoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `prepared_id` (`prepared_id`),
  ADD KEY `kd_supplier` (`kd_supplier`);

--
-- Indeks untuk tabel `jasas`
--
ALTER TABLE `jasas`
  ADD PRIMARY KEY (`no_jasa`);

--
-- Indeks untuk tabel `jenis`
--
ALTER TABLE `jenis`
  ADD PRIMARY KEY (`kd_jenis`),
  ADD KEY `kd_kategori` (`kd_kategori`);

--
-- Indeks untuk tabel `kategoris`
--
ALTER TABLE `kategoris`
  ADD PRIMARY KEY (`kd_kategori`);

--
-- Indeks untuk tabel `levels`
--
ALTER TABLE `levels`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `level_menu`
--
ALTER TABLE `level_menu`
  ADD PRIMARY KEY (`id`),
  ADD KEY `level_id` (`level_id`),
  ADD KEY `menu_id` (`menu_id`);

--
-- Indeks untuk tabel `members`
--
ALTER TABLE `members`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `menus`
--
ALTER TABLE `menus`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `mereks`
--
ALTER TABLE `mereks`
  ADD PRIMARY KEY (`kd_merek`);

--
-- Indeks untuk tabel `metode_bayars`
--
ALTER TABLE `metode_bayars`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `ongkirs`
--
ALTER TABLE `ongkirs`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `pakets`
--
ALTER TABLE `pakets`
  ADD PRIMARY KEY (`id_paket`);

--
-- Indeks untuk tabel `pelanggans`
--
ALTER TABLE `pelanggans`
  ADD PRIMARY KEY (`kd_pelanggan`),
  ADD KEY `member_id` (`member_id`);

--
-- Indeks untuk tabel `pembayaran_suppliers`
--
ALTER TABLE `pembayaran_suppliers`
  ADD PRIMARY KEY (`no_pembayaran`),
  ADD KEY `kd_supplier` (`kd_supplier`),
  ADD KEY `prepared_id` (`prepared_id`),
  ADD KEY `approved_id` (`approved_id`),
  ADD KEY `reviewed_id` (`reviewed_id`) USING BTREE;

--
-- Indeks untuk tabel `pembelians`
--
ALTER TABLE `pembelians`
  ADD PRIMARY KEY (`no_pembelian`),
  ADD KEY `kd_supplier` (`kd_supplier`),
  ADD KEY `prepared_id` (`prepared_id`),
  ADD KEY `approved_id` (`approved_id`),
  ADD KEY `received_id` (`received_id`),
  ADD KEY `reviewed_id` (`reviewed_id`),
  ADD KEY `rejected_id` (`rejected_id`);

--
-- Indeks untuk tabel `penjualans`
--
ALTER TABLE `penjualans`
  ADD PRIMARY KEY (`no_penjualan`),
  ADD KEY `kd_pelanggan` (`kd_pelanggan`),
  ADD KEY `id_user` (`id_user`),
  ADD KEY `id_courier` (`id_courier`),
  ADD KEY `bank_id` (`bank_id`);

--
-- Indeks untuk tabel `penjualan_etalases`
--
ALTER TABLE `penjualan_etalases`
  ADD PRIMARY KEY (`no_penjualan`),
  ADD KEY `ongkir_id` (`ongkir_id`);

--
-- Indeks untuk tabel `permintaan_barangs`
--
ALTER TABLE `permintaan_barangs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `approved_id` (`approved_id`),
  ADD KEY `prepared_id` (`prepared_id`),
  ADD KEY `rejected_id` (`rejected_id`);

--
-- Indeks untuk tabel `permohonan_danas`
--
ALTER TABLE `permohonan_danas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bank_id` (`bank_id`),
  ADD KEY `reviewed_id` (`reviewed_id`),
  ADD KEY `approved_id` (`approved_id`),
  ADD KEY `rejected_Id` (`rejected_id`);

--
-- Indeks untuk tabel `petty_cashes`
--
ALTER TABLE `petty_cashes`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `piutang`
--
ALTER TABLE `piutang`
  ADD PRIMARY KEY (`no_piutang`),
  ADD KEY `no_penjualan` (`no_penjualan`);

--
-- Indeks untuk tabel `poins`
--
ALTER TABLE `poins`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `profils`
--
ALTER TABLE `profils`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `provinces`
--
ALTER TABLE `provinces`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `raks`
--
ALTER TABLE `raks`
  ADD PRIMARY KEY (`kd_rak`);

--
-- Indeks untuk tabel `realisasis`
--
ALTER TABLE `realisasis`
  ADD PRIMARY KEY (`id`),
  ADD KEY `no_pembelian` (`no_pembelian`),
  ADD KEY `prepared_id` (`prepared_id`),
  ADD KEY `reviewed_id` (`reviewed_id`),
  ADD KEY `approved_id` (`approved_id`),
  ADD KEY `received_id` (`received_id`),
  ADD KEY `rejected_Id` (`rejected_id`);

--
-- Indeks untuk tabel `retur_pembelians`
--
ALTER TABLE `retur_pembelians`
  ADD PRIMARY KEY (`no_retur_pembelian`),
  ADD KEY `id_user` (`id_user`);

--
-- Indeks untuk tabel `retur_penjualans`
--
ALTER TABLE `retur_penjualans`
  ADD PRIMARY KEY (`no_retur_penjualan`),
  ADD KEY `id_user` (`id_user`);

--
-- Indeks untuk tabel `satuans`
--
ALTER TABLE `satuans`
  ADD PRIMARY KEY (`kd_satuan`);

--
-- Indeks untuk tabel `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `sliders`
--
ALTER TABLE `sliders`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `stok_opname`
--
ALTER TABLE `stok_opname`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `suppliers`
--
ALTER TABLE `suppliers`
  ADD PRIMARY KEY (`kd_supplier`);

--
-- Indeks untuk tabel `user_logs`
--
ALTER TABLE `user_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id_user` (`id_user`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `banks`
--
ALTER TABLE `banks`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `bonuses`
--
ALTER TABLE `bonuses`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `cities`
--
ALTER TABLE `cities`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=213;

--
-- AUTO_INCREMENT untuk tabel `couriers`
--
ALTER TABLE `couriers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_invoices`
--
ALTER TABLE `detail_invoices`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_jasas`
--
ALTER TABLE `detail_jasas`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_pakets`
--
ALTER TABLE `detail_pakets`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_pembelians`
--
ALTER TABLE `detail_pembelians`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_penjualans`
--
ALTER TABLE `detail_penjualans`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_penjualan_etalases`
--
ALTER TABLE `detail_penjualan_etalases`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT untuk tabel `detail_permintaan_barangs`
--
ALTER TABLE `detail_permintaan_barangs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_permohonan_danas`
--
ALTER TABLE `detail_permohonan_danas`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_realisasis`
--
ALTER TABLE `detail_realisasis`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_retur_pembelians`
--
ALTER TABLE `detail_retur_pembelians`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `detail_retur_penjualans`
--
ALTER TABLE `detail_retur_penjualans`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `harga_barangs`
--
ALTER TABLE `harga_barangs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT untuk tabel `invoices`
--
ALTER TABLE `invoices`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `levels`
--
ALTER TABLE `levels`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT untuk tabel `level_menu`
--
ALTER TABLE `level_menu`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3988;

--
-- AUTO_INCREMENT untuk tabel `members`
--
ALTER TABLE `members`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `menus`
--
ALTER TABLE `menus`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=144;

--
-- AUTO_INCREMENT untuk tabel `metode_bayars`
--
ALTER TABLE `metode_bayars`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `ongkirs`
--
ALTER TABLE `ongkirs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT untuk tabel `pakets`
--
ALTER TABLE `pakets`
  MODIFY `id_paket` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `permintaan_barangs`
--
ALTER TABLE `permintaan_barangs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `permohonan_danas`
--
ALTER TABLE `permohonan_danas`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `petty_cashes`
--
ALTER TABLE `petty_cashes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `poins`
--
ALTER TABLE `poins`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `profils`
--
ALTER TABLE `profils`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT untuk tabel `provinces`
--
ALTER TABLE `provinces`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT untuk tabel `realisasis`
--
ALTER TABLE `realisasis`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT untuk tabel `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT untuk tabel `sliders`
--
ALTER TABLE `sliders`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT untuk tabel `stok_opname`
--
ALTER TABLE `stok_opname`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT untuk tabel `user_logs`
--
ALTER TABLE `user_logs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66;
COMMIT;

