BEGIN;

-- 0. BUAT PRODUK PINJAMAN BARU
INSERT INTO loan_products (code, name, description, max_amount, max_tenor_months, interest_rate, calculation_type) VALUES
('KKCT-01', 'Pinjaman Uang KKCT', 'Pinjaman uang tunai KKCT', 100000000, 120, 0.01, 'flat'),
('ELK-01', 'Pinjaman Elektronik', 'Pinjaman untuk barang elektronik', 50000000, 60, 0.01, 'flat'),
('BNK-01', 'Pinjaman Bank', 'Pinjaman Bank BNI', 200000000, 120, 0.01, 'flat')
ON CONFLICT (code) DO NOTHING;

-- Member: KHOIRUZ ZULFA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('cb70171e-d584-4050-841b-0de43123e3cc', 'member6@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KHOIRUZ ZULFA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('75a6af40-7cea-4f70-892b-2324b1e2f32a', 'cb70171e-d584-4050-841b-0de43123e3cc', '1', '1', 'KHOIRUZ ZULFA', 'NIK-1', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('12e7d430-6998-4e2b-bdbd-4a931750866f', 'SAV-1-1', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('feda9eae-9bc1-4b8e-b952-7461642bbc26', 'SAV-2-1', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4a2d9275-153a-4103-a992-1d0f6e9a32a0', 'TRX-WAJIB-1', 'feda9eae-9bc1-4b8e-b952-7461642bbc26', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7898d2e0-31a6-4eed-9708-03a39daeedbb', 'SAV-3-1', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5b7e621f-e30f-4b6a-8aae-85cce251aa9e', 'TRX-SUKARELA-1', '7898d2e0-31a6-4eed-9708-03a39daeedbb', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('3876126a-57df-4863-b5d7-d941020b4b80', 'LOAN-1-62743784', '75a6af40-7cea-4f70-892b-2324b1e2f32a', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 1550000.0, 10, 'Migrasi Data', 'disbursed', 1550000.0, 1550000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3715b4fb-99ac-4477-b3ca-3bc968221816', '3876126a-57df-4863-b5d7-d941020b4b80', 1, '2026-01-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9eac50d9-c04c-460d-8615-c3f337a87baf', '3876126a-57df-4863-b5d7-d941020b4b80', 2, '2026-02-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f9e0212-c953-4595-96f1-950d58575516', '3876126a-57df-4863-b5d7-d941020b4b80', 3, '2026-03-24', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6bbb35ba-dafa-4db9-ba51-d49e77143c85', '3876126a-57df-4863-b5d7-d941020b4b80', 4, '2026-04-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('70afdf88-a19f-438b-8630-3c4908de0026', '3876126a-57df-4863-b5d7-d941020b4b80', 5, '2026-05-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8c55ff09-ec67-4c6f-8e44-7f404bdd9863', '3876126a-57df-4863-b5d7-d941020b4b80', 6, '2026-06-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cb20d89-f740-4438-997b-11ab772aba4e', '3876126a-57df-4863-b5d7-d941020b4b80', 7, '2026-07-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc7f960c-9133-4976-a224-768382af1b11', '3876126a-57df-4863-b5d7-d941020b4b80', 8, '2026-08-21', 155000.0, 0, 155000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('849e09b9-95d4-4394-be2a-eba9d2da412d', '3876126a-57df-4863-b5d7-d941020b4b80', 9, '2026-09-20', 155000.0, 0, 155000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d72d6f8-9831-4fc8-8c53-ca8d2799197e', '3876126a-57df-4863-b5d7-d941020b4b80', 10, '2026-10-20', 155000.0, 0, 155000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('90c1321b-026d-46d5-84bc-1484bf8a9a5a', 'ORD-1-00beb7d4', '75a6af40-7cea-4f70-892b-2324b1e2f32a', 12000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: RODJALIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('717fcb57-d6d1-457c-b33d-394bb8575988', 'member7@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RODJALIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('44a93184-3539-481e-931d-915a980fe4dc', '717fcb57-d6d1-457c-b33d-394bb8575988', '2', '2', 'RODJALIH', 'NIK-2', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3624eec0-e329-4d6f-aa7a-6ee4ded04acd', 'SAV-1-2', '44a93184-3539-481e-931d-915a980fe4dc', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('59d67450-5726-4f93-aea5-499966487092', 'SAV-2-2', '44a93184-3539-481e-931d-915a980fe4dc', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5003a9b0-dfa3-4dbc-840b-c84d2d81dc53', 'TRX-WAJIB-2', '59d67450-5726-4f93-aea5-499966487092', '44a93184-3539-481e-931d-915a980fe4dc', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('67bdbe01-2349-46bb-bfee-46a6aad9925c', 'SAV-3-2', '44a93184-3539-481e-931d-915a980fe4dc', 3, 0.0, true);

-- Member: SUPATMIN MULYANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('463af543-9991-4be4-a783-bc0270ce95ed', 'member8@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUPATMIN MULYANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('139c750b-8c46-4821-b35b-f9b70aa5a10c', '463af543-9991-4be4-a783-bc0270ce95ed', '3', '3', 'SUPATMIN MULYANTO', 'NIK-3', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9a4c7949-2326-4906-8aa9-2309b826b03d', 'SAV-1-3', '139c750b-8c46-4821-b35b-f9b70aa5a10c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ed3742cf-cb63-4e4a-aef8-889bea202fa6', 'SAV-2-3', '139c750b-8c46-4821-b35b-f9b70aa5a10c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b9c6c347-2aef-43ab-a6f6-e646992000ee', 'TRX-WAJIB-3', 'ed3742cf-cb63-4e4a-aef8-889bea202fa6', '139c750b-8c46-4821-b35b-f9b70aa5a10c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4d332d95-2f7a-49b9-af33-810135494ae9', 'SAV-3-3', '139c750b-8c46-4821-b35b-f9b70aa5a10c', 3, 0.0, true);

-- Member: NUR SUMANTO MARGONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a05d5434-117b-47d2-a8fa-e140fb7adb53', 'member9@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NUR SUMANTO MARGONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3c9c187e-84e2-4f40-9e62-7432413d2d4c', 'a05d5434-117b-47d2-a8fa-e140fb7adb53', '4', '4', 'NUR SUMANTO MARGONO', 'NIK-4', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('72d53188-8f57-41d5-9644-7e2c32e39c1f', 'SAV-1-4', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3ba97b3f-a29e-4402-9f49-421887a927af', 'SAV-2-4', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('135c7de1-480b-47f1-b47f-a72d3caa284d', 'TRX-WAJIB-4', '3ba97b3f-a29e-4402-9f49-421887a927af', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9a684da5-7097-4234-b124-d683c9db84fa', 'SAV-3-4', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0bbcaf0c-382c-41e5-994e-3981ba0e353f', 'TRX-SUKARELA-4', '9a684da5-7097-4234-b124-d683c9db84fa', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('0142178f-1e93-4080-a9bb-72ec051ccfde', 'ORD-4-52a9e0c0', '3c9c187e-84e2-4f40-9e62-7432413d2d4c', 231500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: MUSTIKA RANI ASAKAMI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('cb9a97c7-1509-4c70-91df-90b033d19e22', 'member10@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUSTIKA RANI ASAKAMI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7098ffd4-c44a-440c-a1f5-0880206565b3', 'cb9a97c7-1509-4c70-91df-90b033d19e22', '5', '5', 'MUSTIKA RANI ASAKAMI', 'NIK-5', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c1bc7de7-5b2e-4e90-beb1-3f4fbb6e4b1a', 'SAV-1-5', '7098ffd4-c44a-440c-a1f5-0880206565b3', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d36513a7-4b34-4bbd-a7b9-1f8128991f4d', 'SAV-2-5', '7098ffd4-c44a-440c-a1f5-0880206565b3', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a82f0d7d-84a6-4e94-8f0c-cbdb50db781e', 'TRX-WAJIB-5', 'd36513a7-4b34-4bbd-a7b9-1f8128991f4d', '7098ffd4-c44a-440c-a1f5-0880206565b3', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('46dc5f68-2b1e-43f2-9ee4-7523da839189', 'SAV-3-5', '7098ffd4-c44a-440c-a1f5-0880206565b3', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6a45f487-1ea8-44ac-9b72-763a3bba82c9', 'TRX-SUKARELA-5', '46dc5f68-2b1e-43f2-9ee4-7523da839189', '7098ffd4-c44a-440c-a1f5-0880206565b3', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f6112a5a-1083-4fc9-aebf-76967c548b2d', 'LOAN-5-1c79da01', '7098ffd4-c44a-440c-a1f5-0880206565b3', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 600000.0, 10, 'Migrasi Data', 'disbursed', 600000.0, 600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7c9d6047-c645-40b2-81ac-a5fa077d2265', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 1, '2026-01-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae13149a-2314-415f-b512-debbe2c7709f', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 2, '2026-02-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2eae82e1-95ed-4c07-9445-0642068f58c4', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 3, '2026-03-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ee1d4f5-25f0-4241-9742-0084bdd3b08c', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 4, '2026-04-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73d8efac-b146-429d-967a-c8188049d7cd', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 5, '2026-05-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('253ae958-9d3c-4bfa-86c0-16efd28a4ec5', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 6, '2026-06-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58fdc16b-2ca1-42d4-b64d-bf842f2d41f7', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 7, '2026-07-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28380ddc-8c20-4042-8465-02b40eaed7dc', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 8, '2026-08-21', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('038993da-f8f7-4023-bdd8-1e0f8459b286', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 9, '2026-09-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e22bfbf5-f4f9-43ec-bbd6-41386935b7c1', 'f6112a5a-1083-4fc9-aebf-76967c548b2d', 10, '2026-10-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('1f6096fc-32a4-4bac-b186-3a5367946330', 'ORD-5-940b50f6', '7098ffd4-c44a-440c-a1f5-0880206565b3', 21000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ANDI RIANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('39137dbb-c26b-4465-9ebc-8007d403b49e', 'member11@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ANDI RIANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', '39137dbb-c26b-4465-9ebc-8007d403b49e', '6', '6', 'ANDI RIANTO', 'NIK-6', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('157c48a3-d1e6-498e-af01-aa224fbba160', 'SAV-1-6', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('717c7a93-f8d2-4411-8bc5-7a49ca4f666b', 'SAV-2-6', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('40f985e8-efc3-44cb-bbb6-1668267a3c47', 'TRX-WAJIB-6', '717c7a93-f8d2-4411-8bc5-7a49ca4f666b', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9eb9902b-1148-4390-9dd0-d8381599149a', 'SAV-3-6', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4d81839f-1988-4c7e-bd90-ea281d7b8b70', 'TRX-SUKARELA-6', '9eb9902b-1148-4390-9dd0-d8381599149a', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('c849d613-40d2-450b-81f0-5ec06c9c064d', 'ORD-6-3f5a691e', '00833aa0-b5d2-4bc9-81ee-f3b3dd55e974', 375000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: M. FARHAN ABDILLAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('948cd7d1-de51-40e8-8327-2a3d45200c0e', 'member12@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'M. FARHAN ABDILLAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('779429be-2f76-474c-b629-e67f66239212', '948cd7d1-de51-40e8-8327-2a3d45200c0e', '7', '7', 'M. FARHAN ABDILLAH', 'NIK-7', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3b5b6b0f-54bc-40eb-83ef-bdc46aab2dbf', 'SAV-1-7', '779429be-2f76-474c-b629-e67f66239212', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('40bb18e1-9894-4c50-b764-2a99e38c81fe', 'TRX-POKOK-7', '3b5b6b0f-54bc-40eb-83ef-bdc46aab2dbf', '779429be-2f76-474c-b629-e67f66239212', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f4dceb2d-f77b-4c19-bf6d-9d844c1fd862', 'SAV-2-7', '779429be-2f76-474c-b629-e67f66239212', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e97d658a-fe10-4cbc-a21a-6676b0a01366', 'TRX-WAJIB-7', 'f4dceb2d-f77b-4c19-bf6d-9d844c1fd862', '779429be-2f76-474c-b629-e67f66239212', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('255cf6bd-fccc-4a88-bb15-7d4e0c10b9aa', 'SAV-3-7', '779429be-2f76-474c-b629-e67f66239212', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('20d3e77c-927a-4a31-b3b8-d0ba1d5394fd', 'TRX-SUKARELA-7', '255cf6bd-fccc-4a88-bb15-7d4e0c10b9aa', '779429be-2f76-474c-b629-e67f66239212', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: DESI SURYANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('9ff3f87f-7dc1-49b5-93b3-777e97c01bd4', 'member13@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DESI SURYANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7c249c59-b7a4-4213-96ec-9b46a187be5a', '9ff3f87f-7dc1-49b5-93b3-777e97c01bd4', '8', '8', 'DESI SURYANI', 'NIK-8', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7f60d853-6d9e-49f0-abdf-17a8ecd7290f', 'SAV-1-8', '7c249c59-b7a4-4213-96ec-9b46a187be5a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7a224b6b-c480-4d6d-9903-847af73fc51c', 'SAV-2-8', '7c249c59-b7a4-4213-96ec-9b46a187be5a', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('955f7abb-5af2-4182-8cd1-7b538803b44d', 'SAV-3-8', '7c249c59-b7a4-4213-96ec-9b46a187be5a', 3, 0.0, true);

-- Member: DYEGO RIZKI PRANOTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f6dec35f-bfc7-4af3-9f54-af733d98b619', 'member14@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DYEGO RIZKI PRANOTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fe547289-faa0-422a-abc8-98edb3699ba5', 'f6dec35f-bfc7-4af3-9f54-af733d98b619', '9', '9', 'DYEGO RIZKI PRANOTO', 'NIK-9', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('02617e01-95ca-414f-bae1-b1f0a32f8b98', 'SAV-1-9', 'fe547289-faa0-422a-abc8-98edb3699ba5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4106cfe8-ba4f-4dc7-aa5f-fcbedebe7c2f', 'SAV-2-9', 'fe547289-faa0-422a-abc8-98edb3699ba5', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('426ac7f6-c40f-441c-959d-392c49c9e99b', 'SAV-3-9', 'fe547289-faa0-422a-abc8-98edb3699ba5', 3, 0.0, true);

-- Member: ALFI ALFATHANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4c46cdf0-970f-44ee-a497-b538bcee2a14', 'member15@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ALFI ALFATHANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('721078fa-5b99-4354-8447-27ba26f5fb6c', '4c46cdf0-970f-44ee-a497-b538bcee2a14', '10', '10', 'ALFI ALFATHANA', 'NIK-10', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('72b30cc8-314c-49f7-b054-c021fafc5cea', 'SAV-1-10', '721078fa-5b99-4354-8447-27ba26f5fb6c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('003033e0-4060-44d7-84b4-d673a22998ca', 'SAV-2-10', '721078fa-5b99-4354-8447-27ba26f5fb6c', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c421b932-3179-4e1e-a1af-18e353f4f392', 'SAV-3-10', '721078fa-5b99-4354-8447-27ba26f5fb6c', 3, 0.0, true);

-- Member: TIKA ADINISANDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ff29a84f-9152-4095-b20c-fc2fa4ea354e', 'member16@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'TIKA ADINISANDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9027e257-6316-42d1-9049-d725aaeb481d', 'ff29a84f-9152-4095-b20c-fc2fa4ea354e', '11', '11', 'TIKA ADINISANDI', 'NIK-11', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2ffc1a67-07c1-4d18-972a-5e3bc0d3405f', 'SAV-1-11', '9027e257-6316-42d1-9049-d725aaeb481d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8617ec57-95ed-4bdf-9da8-8843b4dc40bb', 'SAV-2-11', '9027e257-6316-42d1-9049-d725aaeb481d', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bbbb5f34-1db2-45a1-bf2b-f8c8b7981511', 'SAV-3-11', '9027e257-6316-42d1-9049-d725aaeb481d', 3, 0.0, true);

-- Member: IKHLAS HILMAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b424f0a3-4a5a-4065-8ac3-7a24ce49e3e2', 'member17@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IKHLAS HILMAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('71ed7ff9-8f95-4925-9319-8a92f984e8ce', 'b424f0a3-4a5a-4065-8ac3-7a24ce49e3e2', '12', '12', 'IKHLAS HILMAWAN', 'NIK-12', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('73102ce7-5588-4565-b274-1db030a464a7', 'SAV-1-12', '71ed7ff9-8f95-4925-9319-8a92f984e8ce', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aabdbf89-cb50-4d15-b790-c5a850839ffe', 'SAV-2-12', '71ed7ff9-8f95-4925-9319-8a92f984e8ce', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9105129e-c65f-46e5-b2d9-7c13b62bceff', 'SAV-3-12', '71ed7ff9-8f95-4925-9319-8a92f984e8ce', 3, 0.0, true);

-- Member: ADIB NUR RAHMAN PRATOMO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('609202d2-b721-4363-8860-3ca1906b8b31', 'member18@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ADIB NUR RAHMAN PRATOMO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e5c2dd19-8bd2-47b9-a1b8-776aa0c4f7d3', '609202d2-b721-4363-8860-3ca1906b8b31', '13', '13', 'ADIB NUR RAHMAN PRATOMO', 'NIK-13', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aae1c6a1-d83c-4945-9070-17aef7d69c0b', 'SAV-1-13', 'e5c2dd19-8bd2-47b9-a1b8-776aa0c4f7d3', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ffb8b5d5-f728-443a-9d2a-0300fdbad0e0', 'SAV-2-13', 'e5c2dd19-8bd2-47b9-a1b8-776aa0c4f7d3', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('33475bae-b30c-4d8b-a4f2-ba519bfba6be', 'SAV-3-13', 'e5c2dd19-8bd2-47b9-a1b8-776aa0c4f7d3', 3, 0.0, true);

-- Member: RIZKA AULIA HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('08dbe3fb-e776-44c3-858b-c6068eaa655b', 'member19@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIZKA AULIA HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d1b378e6-bb5c-4aba-b157-dbfab6f15717', '08dbe3fb-e776-44c3-858b-c6068eaa655b', '14', '14', 'RIZKA AULIA HIDAYAT', 'NIK-14', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a981d95a-a3f4-47ea-99a6-77ff9a1f3694', 'SAV-1-14', 'd1b378e6-bb5c-4aba-b157-dbfab6f15717', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c1aac633-98fd-4716-91d5-d3be2de7f48f', 'SAV-2-14', 'd1b378e6-bb5c-4aba-b157-dbfab6f15717', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('01cd70a8-22b8-4169-914a-f858f49374fc', 'SAV-3-14', 'd1b378e6-bb5c-4aba-b157-dbfab6f15717', 3, 0.0, true);

-- Member: NELPITAULI DAMANIK
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0ac89f05-4276-42bc-a031-160eb1df6d0f', 'member20@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NELPITAULI DAMANIK', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6696aa9a-6970-4965-88bc-f8630b8f5aba', '0ac89f05-4276-42bc-a031-160eb1df6d0f', '15', '15', 'NELPITAULI DAMANIK', 'NIK-15', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('de7c0f39-d5a9-4b5e-8574-bcd6a91c02cb', 'SAV-1-15', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1204af95-4b2f-483e-bdbc-48c56c1a0fdf', 'SAV-2-15', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62bde16b-8d48-4f67-b4cb-c9dfb8d61f25', 'TRX-WAJIB-15', '1204af95-4b2f-483e-bdbc-48c56c1a0fdf', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6a1a0d18-e3a0-4056-9931-433039b8560b', 'SAV-3-15', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('47c32342-e0be-42b6-8f7a-8c655d0ebcaf', 'TRX-SUKARELA-15', '6a1a0d18-e3a0-4056-9931-433039b8560b', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('c08ce670-cd78-46f2-a92b-da037791ed1c', 'LOAN-15-9268cc9d', '6696aa9a-6970-4965-88bc-f8630b8f5aba', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 600000.0, 10, 'Migrasi Data', 'disbursed', 600000.0, 600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('735f1ae8-81dc-47d6-854c-e94a17bb8033', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 1, '2026-01-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c10b34f1-bf2e-4bbb-91c2-ecdd61fc45c1', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 2, '2026-02-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e117182-8341-4d5b-bf3c-2d2b3e0e3541', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 3, '2026-03-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be02c6f6-17f8-422e-8ab5-14f56b3b061f', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 4, '2026-04-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4a7ae7b-86ee-4bcf-b8c6-a3073f0b9105', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 5, '2026-05-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d68addb8-aa6b-4ba7-8fc7-14e75ba00421', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 6, '2026-06-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24c1082f-19cd-4ba1-922e-13be28e7cad5', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 7, '2026-07-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d669bf54-0877-4f63-bab1-d2f707831b28', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 8, '2026-08-21', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6f74347-521f-479d-847b-5729208d619e', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 9, '2026-09-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('beb2d1da-f30a-41bc-8a5a-645ffb206c3c', 'c08ce670-cd78-46f2-a92b-da037791ed1c', 10, '2026-10-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('65c3768b-5745-4c1d-a8e8-9281c25a1cbf', 'ORD-15-1467cb0b', '6696aa9a-6970-4965-88bc-f8630b8f5aba', 25500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: TOMAS INSUN HAMDAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('091d28da-996f-465d-9f74-704a0c413860', 'member21@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'TOMAS INSUN HAMDAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('dc195324-082c-487e-95ed-f44e2e1d0151', '091d28da-996f-465d-9f74-704a0c413860', '16', '16', 'TOMAS INSUN HAMDAN', 'NIK-16', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5bc793aa-ee1e-487c-addc-66f264e30ec0', 'SAV-1-16', 'dc195324-082c-487e-95ed-f44e2e1d0151', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4c62942d-d12b-4d0d-8fcd-401f2a5e05ee', 'SAV-2-16', 'dc195324-082c-487e-95ed-f44e2e1d0151', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('96c9d650-dd86-4bf5-bd8d-5d1e68a258fd', 'TRX-WAJIB-16', '4c62942d-d12b-4d0d-8fcd-401f2a5e05ee', 'dc195324-082c-487e-95ed-f44e2e1d0151', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7f5ae915-23df-496c-b91e-88f25e09061f', 'SAV-3-16', 'dc195324-082c-487e-95ed-f44e2e1d0151', 3, 35000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2b17b93d-e1e7-4efd-ae83-3f44c3916e5c', 'TRX-SUKARELA-16', '7f5ae915-23df-496c-b91e-88f25e09061f', 'dc195324-082c-487e-95ed-f44e2e1d0151', 'deposit', 35000.0, 0, 35000.0, 'Saldo Awal Migrasi');

-- Member: PUTRI DEWI PERMATA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('509ce5a1-c211-4a2f-b425-890153b87ecd', 'member22@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PUTRI DEWI PERMATA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('284e11a6-7967-4a7e-925c-aec33c62042a', '509ce5a1-c211-4a2f-b425-890153b87ecd', '17', '17', 'PUTRI DEWI PERMATA', 'NIK-17', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cf9e7a7a-ccb1-4ddc-a6df-8c43e8a09f73', 'SAV-1-17', '284e11a6-7967-4a7e-925c-aec33c62042a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7946e2f4-5fd8-4fb6-9bf2-227ae7486a13', 'SAV-2-17', '284e11a6-7967-4a7e-925c-aec33c62042a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('91d22123-2212-48d1-a23a-5f77f25da1d7', 'TRX-WAJIB-17', '7946e2f4-5fd8-4fb6-9bf2-227ae7486a13', '284e11a6-7967-4a7e-925c-aec33c62042a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('47ea4a03-8dd4-47fa-a3ba-e41e759f5177', 'SAV-3-17', '284e11a6-7967-4a7e-925c-aec33c62042a', 3, 135000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c73ccae8-8173-47ff-ae21-7c225dfd52a9', 'TRX-SUKARELA-17', '47ea4a03-8dd4-47fa-a3ba-e41e759f5177', '284e11a6-7967-4a7e-925c-aec33c62042a', 'deposit', 135000.0, 0, 135000.0, 'Saldo Awal Migrasi');

-- Member: KHOIRUNNISA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('be5db1c6-762c-4eb4-8669-24d02f0d9188', 'member23@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KHOIRUNNISA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 'be5db1c6-762c-4eb4-8669-24d02f0d9188', '18', '18', 'KHOIRUNNISA', 'NIK-18', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4a5dff71-05fd-4193-9fbe-934c1524f93c', 'SAV-1-18', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fe3993c5-5ac0-4aae-8aa9-32ac4df1de3a', 'TRX-POKOK-18', '4a5dff71-05fd-4193-9fbe-934c1524f93c', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f0b38c05-82ac-4bce-9849-ae70eda8dcc9', 'SAV-2-18', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('42019106-cbf4-4d67-927f-8cfb77f439f4', 'TRX-WAJIB-18', 'f0b38c05-82ac-4bce-9849-ae70eda8dcc9', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('64cdab7d-f99e-4922-9bda-06977c2d91b5', 'SAV-3-18', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 3, 320000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c87d8970-55b5-4d4b-8204-19b895411f38', 'TRX-SUKARELA-18', '64cdab7d-f99e-4922-9bda-06977c2d91b5', '8437da07-9de2-4d0a-a62d-af2a1a7ed19e', 'deposit', 320000.0, 0, 320000.0, 'Saldo Awal Migrasi');

-- Member: MURSID HUDI NURJANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('1edb91a7-ff3e-462e-ada2-41fc9a0eb664', 'member24@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MURSID HUDI NURJANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5ec103f0-00be-4531-bb81-f7351aa127ac', '1edb91a7-ff3e-462e-ada2-41fc9a0eb664', '19', '19', 'MURSID HUDI NURJANI', 'NIK-19', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e13ff8a7-0915-4c3f-bd63-dc00e739cdfb', 'SAV-1-19', '5ec103f0-00be-4531-bb81-f7351aa127ac', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('17a2598e-32aa-4d4a-9a32-cb4ac99223a2', 'SAV-2-19', '5ec103f0-00be-4531-bb81-f7351aa127ac', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('13e580c4-9314-4feb-a529-0e23f3b10459', 'TRX-WAJIB-19', '17a2598e-32aa-4d4a-9a32-cb4ac99223a2', '5ec103f0-00be-4531-bb81-f7351aa127ac', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('330d9c0d-feba-461c-aaca-64914f031ff2', 'SAV-3-19', '5ec103f0-00be-4531-bb81-f7351aa127ac', 3, 0.0, true);

-- Member: RUSTAM EFFENDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('13ac5abc-69eb-40ef-9c67-80f302b4b3fc', 'member25@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RUSTAM EFFENDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8dc75003-a6d4-453c-b671-ff9b2397da7c', '13ac5abc-69eb-40ef-9c67-80f302b4b3fc', '20', '20', 'RUSTAM EFFENDI', 'NIK-20', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1b4ffe7a-08b1-4edc-971f-61b857c119d0', 'SAV-1-20', '8dc75003-a6d4-453c-b671-ff9b2397da7c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cdab96b6-7e50-47e5-9c91-1530a16244bd', 'SAV-2-20', '8dc75003-a6d4-453c-b671-ff9b2397da7c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('926cd1f2-2f2d-44a5-9005-de5fcff0f606', 'TRX-WAJIB-20', 'cdab96b6-7e50-47e5-9c91-1530a16244bd', '8dc75003-a6d4-453c-b671-ff9b2397da7c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('600bb370-9c2e-4eee-907a-3850e35a06b0', 'SAV-3-20', '8dc75003-a6d4-453c-b671-ff9b2397da7c', 3, 0.0, true);
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('48bdae40-4370-447c-a2a5-d52f417acab9', 'ORD-20-5b2b4ced', '8dc75003-a6d4-453c-b671-ff9b2397da7c', 375000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SUHARNO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7128bfb2-7de5-40d5-a732-b00d2f96da2d', 'member26@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUHARNO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a412dfa1-38ba-45c9-a8ef-d29ee5a024fc', '7128bfb2-7de5-40d5-a732-b00d2f96da2d', '21', '21', 'SUHARNO', 'NIK-21', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ccca2de-497e-4fc2-a668-12d58b7ce2e1', 'SAV-1-21', 'a412dfa1-38ba-45c9-a8ef-d29ee5a024fc', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6ab36d21-6da1-4b84-a53b-5ce990e777fc', 'SAV-2-21', 'a412dfa1-38ba-45c9-a8ef-d29ee5a024fc', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('650c05cf-d9ad-45f5-bc21-47f207a5328d', 'SAV-3-21', 'a412dfa1-38ba-45c9-a8ef-d29ee5a024fc', 3, 0.0, true);

-- Member: DEDEN SOFUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ac15b765-395f-41cc-a8f2-4cf1af510698', 'member27@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DEDEN SOFUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('44145740-01fe-4d67-a439-db2a14346b84', 'ac15b765-395f-41cc-a8f2-4cf1af510698', '22', '22', 'DEDEN SOFUDIN', 'NIK-22', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aa31e7e4-aaa9-4bfd-a5f0-215068240206', 'SAV-1-22', '44145740-01fe-4d67-a439-db2a14346b84', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4fa3a663-d914-49dc-9c76-97a69faef052', 'SAV-2-22', '44145740-01fe-4d67-a439-db2a14346b84', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9fff5246-e72c-446f-9e1a-54b5e8df68cf', 'TRX-WAJIB-22', '4fa3a663-d914-49dc-9c76-97a69faef052', '44145740-01fe-4d67-a439-db2a14346b84', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f0669fc9-65e1-41ae-9939-ae206bfec958', 'SAV-3-22', '44145740-01fe-4d67-a439-db2a14346b84', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('5707f10d-27b6-489c-b505-ef60524a4289', 'LOAN-22-352607bf', '44145740-01fe-4d67-a439-db2a14346b84', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 4000000.0, 10, 'Migrasi Data', 'disbursed', 4000000.0, 4000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eceb208a-03af-4c7a-86d4-f61d7ea6b094', '5707f10d-27b6-489c-b505-ef60524a4289', 1, '2026-03-24', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5be9724e-284c-4798-ba56-4fb4e920c3e5', '5707f10d-27b6-489c-b505-ef60524a4289', 2, '2026-04-23', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1af6d362-3968-4d8b-92d7-49e97c23f53b', '5707f10d-27b6-489c-b505-ef60524a4289', 3, '2026-05-23', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ae21974-c7c2-45e3-b854-291dd6b060fd', '5707f10d-27b6-489c-b505-ef60524a4289', 4, '2026-06-22', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('57d77d5e-b6e3-4695-acfc-bdd1adad7cb5', '5707f10d-27b6-489c-b505-ef60524a4289', 5, '2026-07-22', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ce54d07-7720-423f-b850-4f59bfccfbcf', '5707f10d-27b6-489c-b505-ef60524a4289', 6, '2026-08-21', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32f8afa7-8c11-4d7a-adad-61dee059a1b5', '5707f10d-27b6-489c-b505-ef60524a4289', 7, '2026-09-20', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('358f13c0-7c6b-4b27-a3b8-02268f7e4652', '5707f10d-27b6-489c-b505-ef60524a4289', 8, '2026-10-20', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7a0a6e04-4873-414d-9ce2-696cc4e4b42c', '5707f10d-27b6-489c-b505-ef60524a4289', 9, '2026-11-19', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9af65f04-a883-4f1a-aec9-f0f930eab98c', '5707f10d-27b6-489c-b505-ef60524a4289', 10, '2026-12-19', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('97288972-34f4-4d09-a8bc-e5a16fbb1845', 'ORD-22-9e1f8c43', '44145740-01fe-4d67-a439-db2a14346b84', 267000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: DENNY SETIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6cdc105d-39dc-46f2-a7f6-cceaa88bb956', 'member28@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DENNY SETIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('82353814-e609-419d-9a39-1ad772e79962', '6cdc105d-39dc-46f2-a7f6-cceaa88bb956', '23', '23', 'DENNY SETIAWAN', 'NIK-23', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fc96e6b9-8a40-4bbd-a045-5eaa39f70586', 'SAV-1-23', '82353814-e609-419d-9a39-1ad772e79962', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('11af8472-e72b-4f44-b3ef-5f65b691bfac', 'SAV-2-23', '82353814-e609-419d-9a39-1ad772e79962', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0a1aa8d1-fd8b-413c-9029-f1adca74cace', 'TRX-WAJIB-23', '11af8472-e72b-4f44-b3ef-5f65b691bfac', '82353814-e609-419d-9a39-1ad772e79962', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('efa3a153-c1ae-4747-a80a-e0e840eb1ca1', 'SAV-3-23', '82353814-e609-419d-9a39-1ad772e79962', 3, 0.0, true);

-- Member: YAHYA ZAKARIA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b1ef640a-67e6-4522-a1b2-4a7dd38f28aa', 'member29@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YAHYA ZAKARIA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('58a3bf0d-37f0-4e18-bc39-7394aac48cca', 'b1ef640a-67e6-4522-a1b2-4a7dd38f28aa', '24', '24', 'YAHYA ZAKARIA', 'NIK-24', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f6589cab-39b0-4f11-b342-04b420ec6759', 'SAV-1-24', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5beaccb1-3432-4e98-9033-8fd8307dc2e6', 'SAV-2-24', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('60766c58-58dc-43ef-8aa9-140caf999d9c', 'TRX-WAJIB-24', '5beaccb1-3432-4e98-9033-8fd8307dc2e6', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('253a5e4e-2d40-4ccf-887e-1c8038beda87', 'SAV-3-24', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f34c0d37-2dba-45a9-9e40-4fa677d59b77', 'TRX-SUKARELA-24', '253a5e4e-2d40-4ccf-887e-1c8038beda87', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 'LOAN-24-fbcb4a16', '58a3bf0d-37f0-4e18-bc39-7394aac48cca', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 4500000.0, 10, 'Migrasi Data', 'disbursed', 4500000.0, 4500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('159b619f-6e57-4d31-80a1-93fbac542195', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 1, '2026-02-22', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44922a2d-f0ff-4f45-b998-f7307180acee', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 2, '2026-03-24', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20685045-a428-4988-9eb4-a9a98c490486', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 3, '2026-04-23', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('442394f3-c9b7-4a07-bf6f-0a8550503419', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 4, '2026-05-23', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f7ef8bd-bc7c-4066-b0b7-d1a6e8efade6', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 5, '2026-06-22', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a2a9014-9b87-4de7-a809-506c7683e482', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 6, '2026-07-22', 450000.0, 67500.0, 517500.0, 450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca2bb27d-2b88-40da-a172-bf85043bfd0c', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 7, '2026-08-21', 450000.0, 67500.0, 517500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ef4dacc7-7ac5-464e-9307-32ecb6a2fc77', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 8, '2026-09-20', 450000.0, 67500.0, 517500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82fc3ab3-965c-4cbd-89db-2ed05a3d8886', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 9, '2026-10-20', 450000.0, 67500.0, 517500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe786e7c-4ef7-401b-8a67-846a553abcf6', '8c20a7eb-5ab5-4104-ac66-cdae8f628d2c', 10, '2026-11-19', 450000.0, 67500.0, 517500.0, 0, NULL, 'unpaid');

-- Member: HASANUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ee7cffe6-d892-4553-b233-55e48d3a984b', 'member30@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HASANUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('acdd730d-f8a9-4d65-b90f-6621b5fa9edd', 'ee7cffe6-d892-4553-b233-55e48d3a984b', '25', '25', 'HASANUDIN', 'NIK-25', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7b3c4f5c-f049-4d51-9855-9929125da2c1', 'SAV-1-25', 'acdd730d-f8a9-4d65-b90f-6621b5fa9edd', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2746ce8b-1be1-415c-b9b8-11f90d4c7f14', 'SAV-2-25', 'acdd730d-f8a9-4d65-b90f-6621b5fa9edd', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('20950b0d-934a-48f8-8634-c40ccf9be493', 'TRX-WAJIB-25', '2746ce8b-1be1-415c-b9b8-11f90d4c7f14', 'acdd730d-f8a9-4d65-b90f-6621b5fa9edd', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f66539e-5c85-4017-90ed-14975589c0a7', 'SAV-3-25', 'acdd730d-f8a9-4d65-b90f-6621b5fa9edd', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('916022f3-ffcd-47b9-8407-6b123a86a21c', 'LOAN-25-01875f0e', 'acdd730d-f8a9-4d65-b90f-6621b5fa9edd', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 15, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7898218f-89ba-43d7-9879-63d27795b8da', '916022f3-ffcd-47b9-8407-6b123a86a21c', 1, '2025-11-24', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c4a7e342-0e06-4726-9cca-5b501120e173', '916022f3-ffcd-47b9-8407-6b123a86a21c', 2, '2025-12-24', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68d2cad0-4003-4ad4-87fb-d8f350211f6d', '916022f3-ffcd-47b9-8407-6b123a86a21c', 3, '2026-01-23', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6b46ce8f-570b-4bcf-91cf-17c570ce2ab2', '916022f3-ffcd-47b9-8407-6b123a86a21c', 4, '2026-02-22', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('551c464a-e823-446c-9ece-d772c84391f8', '916022f3-ffcd-47b9-8407-6b123a86a21c', 5, '2026-03-24', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f703b11-8e06-40de-a75b-c91dc5de5aa7', '916022f3-ffcd-47b9-8407-6b123a86a21c', 6, '2026-04-23', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c3c6552-f3a0-4361-93a2-e54869d303b4', '916022f3-ffcd-47b9-8407-6b123a86a21c', 7, '2026-05-23', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('686e6e75-5185-4d74-be8e-774c9d9cd5f8', '916022f3-ffcd-47b9-8407-6b123a86a21c', 8, '2026-06-22', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6290641-0759-40e1-8a86-b14f69ae7d02', '916022f3-ffcd-47b9-8407-6b123a86a21c', 9, '2026-07-22', 2000000.0, 450000.0, 2450000.0, 2000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('57e12b8e-2d15-460f-87b9-61e077064733', '916022f3-ffcd-47b9-8407-6b123a86a21c', 10, '2026-08-21', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4391a212-de37-429b-87cd-e35185553d88', '916022f3-ffcd-47b9-8407-6b123a86a21c', 11, '2026-09-20', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1f57218-270a-44af-b9fb-3dfba7d07597', '916022f3-ffcd-47b9-8407-6b123a86a21c', 12, '2026-10-20', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8b9666a7-7960-482f-8d53-38379c7693b3', '916022f3-ffcd-47b9-8407-6b123a86a21c', 13, '2026-11-19', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c33d545d-ae2d-427f-abd9-11f64ecbc602', '916022f3-ffcd-47b9-8407-6b123a86a21c', 14, '2026-12-19', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e044a40-c150-414b-9e33-ec56b258bb53', '916022f3-ffcd-47b9-8407-6b123a86a21c', 15, '2027-01-18', 2000000.0, 450000.0, 2450000.0, 0, NULL, 'unpaid');

-- Member: MOCHAMAD ZAMRONI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c91301b1-2878-4b4b-be22-80264074d3d0', 'member31@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOCHAMAD ZAMRONI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9556dc89-b751-48af-b929-1e3d62670d54', 'c91301b1-2878-4b4b-be22-80264074d3d0', '26', '26', 'MOCHAMAD ZAMRONI', 'NIK-26', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c821f101-2452-426d-be2e-97c0e0871bb1', 'SAV-1-26', '9556dc89-b751-48af-b929-1e3d62670d54', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('878892de-e061-4103-a997-3f41b0dca94e', 'SAV-2-26', '9556dc89-b751-48af-b929-1e3d62670d54', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cb89d257-26eb-45f1-aaa1-1d7871f6af7a', 'TRX-WAJIB-26', '878892de-e061-4103-a997-3f41b0dca94e', '9556dc89-b751-48af-b929-1e3d62670d54', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cb2c6089-2bb4-4113-838a-497df5911fb9', 'SAV-3-26', '9556dc89-b751-48af-b929-1e3d62670d54', 3, 0.0, true);
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('eef28eea-e341-4b3c-b9ca-c18566571ed5', 'ORD-26-0a1e5a02', '9556dc89-b751-48af-b929-1e3d62670d54', 45000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: NURSALIM
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7602f9f7-748e-4a53-9255-82ced617a017', 'member32@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURSALIM', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7f05f3d7-612f-474a-9a98-ba32e72a0471', '7602f9f7-748e-4a53-9255-82ced617a017', '27', '27', 'NURSALIM', 'NIK-27', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('105d9085-f6e1-4537-8b0e-b0e7600a2ec8', 'SAV-1-27', '7f05f3d7-612f-474a-9a98-ba32e72a0471', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('48b3cbb8-a831-4d25-a5b2-9c891a6b6ff6', 'SAV-2-27', '7f05f3d7-612f-474a-9a98-ba32e72a0471', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('066f85e0-2ff4-45ea-8986-ec1dfb20c34a', 'SAV-3-27', '7f05f3d7-612f-474a-9a98-ba32e72a0471', 3, 0.0, true);

-- Member: RACHIM AGUS SETIONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c9d1e65d-2cdc-4dae-a110-3f0999f2ae8d', 'member33@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RACHIM AGUS SETIONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 'c9d1e65d-2cdc-4dae-a110-3f0999f2ae8d', '28', '28', 'RACHIM AGUS SETIONO', 'NIK-28', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('54995908-fc8c-4c86-be04-b08767e4ac33', 'SAV-1-28', 'be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('deaa9c76-13bf-4b1f-831d-5521730e1580', 'SAV-2-28', 'be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dbc88bdd-2d8f-4bf8-a9e9-a5089ed10537', 'TRX-WAJIB-28', 'deaa9c76-13bf-4b1f-831d-5521730e1580', 'be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('de172c6b-bb86-4842-949c-dbb31f9688bd', 'SAV-3-28', 'be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 3, 1000000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ac76c765-7961-447c-85b7-1c82a6eb7b81', 'TRX-SUKARELA-28', 'de172c6b-bb86-4842-949c-dbb31f9688bd', 'be0c9f0c-2cf1-4444-a520-c809a4f07e2b', 'deposit', 1000000.0, 0, 1000000.0, 'Saldo Awal Migrasi');

-- Member: SUPRIANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f59db08d-c97a-4557-824a-14724c4275fe', 'member34@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUPRIANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('49dbf587-5a51-4268-a3d2-a74628b7287b', 'f59db08d-c97a-4557-824a-14724c4275fe', '29', '29', 'SUPRIANTO', 'NIK-29', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6bce5ee6-13a6-425f-9d76-0ac930b15f98', 'SAV-1-29', '49dbf587-5a51-4268-a3d2-a74628b7287b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5de51e52-674d-49e8-8acc-c5e822f2b9dc', 'SAV-2-29', '49dbf587-5a51-4268-a3d2-a74628b7287b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7ab3179d-35e2-4a65-8093-08113cee0918', 'TRX-WAJIB-29', '5de51e52-674d-49e8-8acc-c5e822f2b9dc', '49dbf587-5a51-4268-a3d2-a74628b7287b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7d156699-7142-460d-960f-6804c2980b54', 'SAV-3-29', '49dbf587-5a51-4268-a3d2-a74628b7287b', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('97deb090-2fc6-48fa-8bc0-f7ceaeec85a5', 'TRX-SUKARELA-29', '7d156699-7142-460d-960f-6804c2980b54', '49dbf587-5a51-4268-a3d2-a74628b7287b', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: YANA SURYANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('80ebdd76-5e6b-4b93-be42-8dfd62afa511', 'member35@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YANA SURYANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('680f213c-ad93-4a83-8527-6b68eebad159', '80ebdd76-5e6b-4b93-be42-8dfd62afa511', '30', '30', 'YANA SURYANA', 'NIK-30', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('731fdc0a-37bb-42c1-85db-c3992e83db9f', 'SAV-1-30', '680f213c-ad93-4a83-8527-6b68eebad159', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('84667eac-4dfb-47d9-b4a3-b99d847a2bc3', 'SAV-2-30', '680f213c-ad93-4a83-8527-6b68eebad159', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cb655a8b-0214-45dd-a40d-7db31f93b9db', 'TRX-WAJIB-30', '84667eac-4dfb-47d9-b4a3-b99d847a2bc3', '680f213c-ad93-4a83-8527-6b68eebad159', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9dd825f2-0f96-4fb7-a108-8de807ff6068', 'SAV-3-30', '680f213c-ad93-4a83-8527-6b68eebad159', 3, 0.0, true);

-- Member: AGUNG WIDODO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7c7c63a2-7a67-403b-87d8-11adbc9f74a4', 'member36@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUNG WIDODO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a71b5565-4e6e-4aa6-9725-d454aee8b42a', '7c7c63a2-7a67-403b-87d8-11adbc9f74a4', '31', '31', 'AGUNG WIDODO', 'NIK-31', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8ec2416-e119-4931-89eb-eb6841adae9b', 'SAV-1-31', 'a71b5565-4e6e-4aa6-9725-d454aee8b42a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9ee98d0c-979e-4a17-a249-ba9130070d18', 'SAV-2-31', 'a71b5565-4e6e-4aa6-9725-d454aee8b42a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fc4f557b-c805-4e3f-8add-b0bbd955cc9a', 'TRX-WAJIB-31', '9ee98d0c-979e-4a17-a249-ba9130070d18', 'a71b5565-4e6e-4aa6-9725-d454aee8b42a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b268d97b-6744-40a8-9936-4ebaf927f7c4', 'SAV-3-31', 'a71b5565-4e6e-4aa6-9725-d454aee8b42a', 3, 0.0, true);

-- Member: ERWIN KURNIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('96b97a77-d9bb-4772-be44-952ffd46053a', 'member37@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ERWIN KURNIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3797e7f1-44ca-4e15-840d-0ced46de1f22', '96b97a77-d9bb-4772-be44-952ffd46053a', '32', '32', 'ERWIN KURNIAWAN', 'NIK-32', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ec067944-715c-4227-b313-416e1bb2a870', 'SAV-1-32', '3797e7f1-44ca-4e15-840d-0ced46de1f22', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7b377989-c482-4ba4-b43b-52a5a843b6cc', 'SAV-2-32', '3797e7f1-44ca-4e15-840d-0ced46de1f22', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('13cba77f-cd1c-4db2-a8a6-fbf32c20478d', 'TRX-WAJIB-32', '7b377989-c482-4ba4-b43b-52a5a843b6cc', '3797e7f1-44ca-4e15-840d-0ced46de1f22', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ac0f331a-95d9-45f8-ab82-48b783556ecd', 'SAV-3-32', '3797e7f1-44ca-4e15-840d-0ced46de1f22', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e81f135d-8da6-451a-8e5a-ad3c1c5df14a', 'TRX-SUKARELA-32', 'ac0f331a-95d9-45f8-ab82-48b783556ecd', '3797e7f1-44ca-4e15-840d-0ced46de1f22', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: JUMAIDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8445811e-7243-4524-9bca-f46e4a6b9407', 'member38@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'JUMAIDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d239c679-26e2-4567-a8c7-11946407837f', '8445811e-7243-4524-9bca-f46e4a6b9407', '33', '33', 'JUMAIDI', 'NIK-33', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('383a018b-447e-48d0-b9cc-5d602669cbf0', 'SAV-1-33', 'd239c679-26e2-4567-a8c7-11946407837f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ba874aec-6d7e-4b30-8a79-09e8c0a5d816', 'SAV-2-33', 'd239c679-26e2-4567-a8c7-11946407837f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4512e016-7eab-4025-af79-82d3f5560b2b', 'TRX-WAJIB-33', 'ba874aec-6d7e-4b30-8a79-09e8c0a5d816', 'd239c679-26e2-4567-a8c7-11946407837f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('695bc95d-a42f-482d-9f04-d02cde1cf677', 'SAV-3-33', 'd239c679-26e2-4567-a8c7-11946407837f', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('1322535f-97ca-404c-bdd2-668aba7173e0', 'LOAN-33-d6386393', 'd239c679-26e2-4567-a8c7-11946407837f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 4200000.0, 10, 'Migrasi Data', 'disbursed', 4200000.0, 4200000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f32105a2-a663-4b75-82e0-a22b7a5cf930', '1322535f-97ca-404c-bdd2-668aba7173e0', 1, '2026-03-24', 420000.0, 63000.0, 483000.0, 420000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aad49854-77c9-496f-befd-897b78e38d03', '1322535f-97ca-404c-bdd2-668aba7173e0', 2, '2026-04-23', 420000.0, 63000.0, 483000.0, 420000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c421a9c-c212-4776-a3a5-6c752de969c9', '1322535f-97ca-404c-bdd2-668aba7173e0', 3, '2026-05-23', 420000.0, 63000.0, 483000.0, 420000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56a65dff-1577-4482-a089-d6bbf542093e', '1322535f-97ca-404c-bdd2-668aba7173e0', 4, '2026-06-22', 420000.0, 63000.0, 483000.0, 420000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d74af099-1e3f-481d-86ec-7c84b6b14a3e', '1322535f-97ca-404c-bdd2-668aba7173e0', 5, '2026-07-22', 420000.0, 63000.0, 483000.0, 420000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('668a3062-a1b9-4df9-9a0a-fdf3cd5bf2a7', '1322535f-97ca-404c-bdd2-668aba7173e0', 6, '2026-08-21', 420000.0, 63000.0, 483000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3bc420a6-1f17-481d-9c00-3adcb1ffb7d5', '1322535f-97ca-404c-bdd2-668aba7173e0', 7, '2026-09-20', 420000.0, 63000.0, 483000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b4e6c41-edd0-4d95-a49d-6845aa61a404', '1322535f-97ca-404c-bdd2-668aba7173e0', 8, '2026-10-20', 420000.0, 63000.0, 483000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2945fec6-9407-4ca3-bab3-f3a762ae3d20', '1322535f-97ca-404c-bdd2-668aba7173e0', 9, '2026-11-19', 420000.0, 63000.0, 483000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95d97be0-71d3-40a4-9bc6-0e34f1a11689', '1322535f-97ca-404c-bdd2-668aba7173e0', 10, '2026-12-19', 420000.0, 63000.0, 483000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('128e8a00-3eec-4e2b-b764-28fdd8fb4605', 'ORD-33-ecf19931', 'd239c679-26e2-4567-a8c7-11946407837f', 262000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: FIRDAUS ALAMSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('91afdc67-ee88-4276-b0fc-49a5f3364452', 'member39@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'FIRDAUS ALAMSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d1ef200d-6b70-4632-9cbd-764368c14431', '91afdc67-ee88-4276-b0fc-49a5f3364452', '34', '34', 'FIRDAUS ALAMSYAH', 'NIK-34', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('78dc8236-5150-44f2-8990-a8a619fa3299', 'SAV-1-34', 'd1ef200d-6b70-4632-9cbd-764368c14431', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a6bc3b15-c2cb-4e3a-a720-75b4f4280af2', 'SAV-2-34', 'd1ef200d-6b70-4632-9cbd-764368c14431', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2f44aa99-98cc-4417-82ec-d6d9086cf99d', 'TRX-WAJIB-34', 'a6bc3b15-c2cb-4e3a-a720-75b4f4280af2', 'd1ef200d-6b70-4632-9cbd-764368c14431', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bc02fe75-5214-41d6-b4c0-8a85f27d4f51', 'SAV-3-34', 'd1ef200d-6b70-4632-9cbd-764368c14431', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('df82760d-aff8-4408-b5b9-e573ad6060cd', 'TRX-SUKARELA-34', 'bc02fe75-5214-41d6-b4c0-8a85f27d4f51', 'd1ef200d-6b70-4632-9cbd-764368c14431', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 'LOAN-34-8a1d96fb', 'd1ef200d-6b70-4632-9cbd-764368c14431', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 12500000.0, 10, 'Migrasi Data', 'disbursed', 12500000.0, 12500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af529776-e1f9-4a76-9771-3dee7341c601', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 1, '2025-11-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6f03ebc-a4f4-4603-8ee0-9f456976cc36', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 2, '2025-12-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1d26b2f0-43e8-4de7-ab05-a30dc3a9d011', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 3, '2026-01-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('163b31a7-25b0-412f-a550-b8453faea203', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 4, '2026-02-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f47bc6b2-1b9a-48cc-8ae5-6dee07e836a1', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 5, '2026-03-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('50da02c9-f23b-4edd-995a-a2b99f903021', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 6, '2026-04-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38214fad-6a8d-4591-bc84-af3783bdc66d', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 7, '2026-05-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e06c938e-21d7-49d3-8a5c-35bca26866bc', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 8, '2026-06-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('548c61e8-65e0-44c8-8545-c23a3e4f46e2', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 9, '2026-07-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d5c0bfa-9021-4746-9c71-e3de2af1ffe5', '2e2b13a0-722d-4bd4-8a2d-4d4fc7210cdd', 10, '2026-08-21', 1250000.0, 375000.0, 1625000.0, 0, NULL, 'unpaid');

-- Member: DIDIN NURMAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4b5b0dc5-d990-4003-a9bd-b22466f29acf', 'member40@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DIDIN NURMAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('b4e1060d-3ce1-49fe-a93e-396df8f1f072', '4b5b0dc5-d990-4003-a9bd-b22466f29acf', '35', '35', 'DIDIN NURMAN', 'NIK-35', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('809193ac-27cc-45f3-a004-b1fd6d2524d4', 'SAV-1-35', 'b4e1060d-3ce1-49fe-a93e-396df8f1f072', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2a63c470-3030-44f9-b2cf-39951538e959', 'SAV-2-35', 'b4e1060d-3ce1-49fe-a93e-396df8f1f072', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62100d5d-ed9a-4085-8b36-8fda41d14be1', 'TRX-WAJIB-35', '2a63c470-3030-44f9-b2cf-39951538e959', 'b4e1060d-3ce1-49fe-a93e-396df8f1f072', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3b89ba09-a1b9-41d1-bbd2-9cb67fbe52ed', 'SAV-3-35', 'b4e1060d-3ce1-49fe-a93e-396df8f1f072', 3, 0.0, true);

-- Member: MUNADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('429067f2-df6f-4e1d-b10e-c766e23934ca', 'member41@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUNADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('28d9df5e-863a-489f-996a-c5e5e02df530', '429067f2-df6f-4e1d-b10e-c766e23934ca', '36', '36', 'MUNADI', 'NIK-36', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ddee5a1-7b1e-4db7-b368-2bbadc03a0fc', 'SAV-1-36', '28d9df5e-863a-489f-996a-c5e5e02df530', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7c4bb457-da53-4087-aee9-0672b61c074d', 'SAV-2-36', '28d9df5e-863a-489f-996a-c5e5e02df530', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('65594864-1583-4974-9ede-e883b5c86e82', 'TRX-WAJIB-36', '7c4bb457-da53-4087-aee9-0672b61c074d', '28d9df5e-863a-489f-996a-c5e5e02df530', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2db3dea5-7fe2-443b-81bc-f99b0f6ff79b', 'SAV-3-36', '28d9df5e-863a-489f-996a-c5e5e02df530', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2416dbcc-04bf-4593-b208-806f86e90358', 'TRX-SUKARELA-36', '2db3dea5-7fe2-443b-81bc-f99b0f6ff79b', '28d9df5e-863a-489f-996a-c5e5e02df530', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');

-- Member: IRPAN SYAHRONI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('60d28606-bf15-4e42-879f-df7705ee9f16', 'member42@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IRPAN SYAHRONI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('780dae06-09af-4ee8-b39e-5747dbbbb74f', '60d28606-bf15-4e42-879f-df7705ee9f16', '37', '37', 'IRPAN SYAHRONI', 'NIK-37', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('99ebca50-3bd5-4c25-a07f-d08ae7e4ebac', 'SAV-1-37', '780dae06-09af-4ee8-b39e-5747dbbbb74f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b51b6c2d-5fb6-4a29-af07-c090c2ab6149', 'SAV-2-37', '780dae06-09af-4ee8-b39e-5747dbbbb74f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('35ef5228-cf45-49b3-a030-19655f50cb48', 'TRX-WAJIB-37', 'b51b6c2d-5fb6-4a29-af07-c090c2ab6149', '780dae06-09af-4ee8-b39e-5747dbbbb74f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c3b7737e-c8f1-432f-adc8-f8c840df011a', 'SAV-3-37', '780dae06-09af-4ee8-b39e-5747dbbbb74f', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('70fd5560-8421-4d97-a49f-c867a922965c', 'LOAN-37-ef91b1db', '780dae06-09af-4ee8-b39e-5747dbbbb74f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10999992.0, 12, 'Migrasi Data', 'disbursed', 10999992.0, 10999992.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b10604d-0690-4afd-a437-510e74f4afb7', '70fd5560-8421-4d97-a49f-c867a922965c', 1, '2025-09-25', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85df1445-45a6-4132-b60e-fd95aaf6bbe0', '70fd5560-8421-4d97-a49f-c867a922965c', 2, '2025-10-25', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('437c9dfa-2e27-40df-bafb-38d2603ccf1b', '70fd5560-8421-4d97-a49f-c867a922965c', 3, '2025-11-24', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6263186a-b893-45e2-bce3-500ae8eabea9', '70fd5560-8421-4d97-a49f-c867a922965c', 4, '2025-12-24', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('343de040-c685-4251-9450-ad03271ff6de', '70fd5560-8421-4d97-a49f-c867a922965c', 5, '2026-01-23', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5fd76f6-6004-4758-b207-85c325ae237e', '70fd5560-8421-4d97-a49f-c867a922965c', 6, '2026-02-22', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8022c91b-0d10-4b0d-a7da-e19c4be750b5', '70fd5560-8421-4d97-a49f-c867a922965c', 7, '2026-03-24', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('865c3db6-66bf-4b92-8a11-21bf395268f5', '70fd5560-8421-4d97-a49f-c867a922965c', 8, '2026-04-23', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('70a2c39c-7508-4ab0-b7a5-052f379c5a20', '70fd5560-8421-4d97-a49f-c867a922965c', 9, '2026-05-23', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08cbb05e-5b40-4f1b-8dee-fbe8ed3f40f7', '70fd5560-8421-4d97-a49f-c867a922965c', 10, '2026-06-22', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ed9adc0-c811-43a3-a410-d391d1388cc6', '70fd5560-8421-4d97-a49f-c867a922965c', 11, '2026-07-22', 916666.0, 165000.0, 1081666.0, 916666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('94c9c36b-d69a-4312-bc14-36dc07386aab', '70fd5560-8421-4d97-a49f-c867a922965c', 12, '2026-08-21', 916666.0, 165000.0, 1081666.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('cf03802c-7a08-4762-ac7c-f860832be415', 'LOAN-37-ae88dfc5', '780dae06-09af-4ee8-b39e-5747dbbbb74f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 2000000.0, 10, 'Migrasi Data', 'disbursed', 2000000.0, 2000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6f9bf0a-578e-4a91-bff0-dab665449d11', 'cf03802c-7a08-4762-ac7c-f860832be415', 1, '2026-03-24', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('931d547b-b9b9-42e3-8ac8-847eacee0c64', 'cf03802c-7a08-4762-ac7c-f860832be415', 2, '2026-04-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('999cf84d-56ed-4445-a566-8dd919a2e312', 'cf03802c-7a08-4762-ac7c-f860832be415', 3, '2026-05-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ce9c81c-f09b-432e-b8ad-c34b32c0265b', 'cf03802c-7a08-4762-ac7c-f860832be415', 4, '2026-06-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('744bea7d-be5f-472b-8b4e-a4fff88e63dd', 'cf03802c-7a08-4762-ac7c-f860832be415', 5, '2026-07-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd9f6a83-d459-4e5f-80a7-3016a7a9c2b9', 'cf03802c-7a08-4762-ac7c-f860832be415', 6, '2026-08-21', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('05d8c644-f628-4ef6-ac6f-845f9248b940', 'cf03802c-7a08-4762-ac7c-f860832be415', 7, '2026-09-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e9d41202-71eb-49f5-ad39-7a05a28b9378', 'cf03802c-7a08-4762-ac7c-f860832be415', 8, '2026-10-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4df1399a-0f53-4629-b922-1d08004af224', 'cf03802c-7a08-4762-ac7c-f860832be415', 9, '2026-11-19', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99ad22fd-2a55-4786-adf8-cc0e3b7c31ad', 'cf03802c-7a08-4762-ac7c-f860832be415', 10, '2026-12-19', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');

-- Member: HARI SANTOSO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('715328d3-f3ce-4539-8210-860b407172b5', 'member43@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HARI SANTOSO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2ec66fae-883e-44f0-88af-c7cb3d720d63', '715328d3-f3ce-4539-8210-860b407172b5', '38', '38', 'HARI SANTOSO', 'NIK-38', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cb100885-6dd9-4cd8-ae56-729b19f5d624', 'SAV-1-38', '2ec66fae-883e-44f0-88af-c7cb3d720d63', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4f82c291-c791-41f6-b2e9-ae94d887903c', 'SAV-2-38', '2ec66fae-883e-44f0-88af-c7cb3d720d63', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f9d3ad04-9379-4eb0-a268-918d328b0077', 'TRX-WAJIB-38', '4f82c291-c791-41f6-b2e9-ae94d887903c', '2ec66fae-883e-44f0-88af-c7cb3d720d63', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b5f0cfe1-03f6-4a91-abfa-be2cff276a6e', 'SAV-3-38', '2ec66fae-883e-44f0-88af-c7cb3d720d63', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 'LOAN-38-f67aa27f', '2ec66fae-883e-44f0-88af-c7cb3d720d63', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 50000000.0, 40, 'Migrasi Data', 'disbursed', 50000000.0, 50000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d8827be-ee19-436d-b62d-996c5f4bd7a5', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 1, '2025-03-29', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d29deea8-70fa-451f-be34-11ea7d4827f3', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 2, '2025-04-28', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('233151dc-d0c4-4b9b-a543-cd2b2852d586', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 3, '2025-05-28', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a6a0db0-5366-4b43-8a50-c31074b9aee1', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 4, '2025-06-27', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c4085405-f8a3-42dd-a2a3-553e0454dc00', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 5, '2025-07-27', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e0a1c1c-7a0b-4b9d-ac48-75c833801e27', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 6, '2025-08-26', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83976684-0135-4737-93aa-3338c643b792', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 7, '2025-09-25', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37565e83-8f25-4363-ac3b-1537a7f8893d', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 8, '2025-10-25', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f78722a-9e0d-4627-b610-176ef93fdf11', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 9, '2025-11-24', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d65a393-1dc2-40c6-801f-67535e95a02b', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 10, '2025-12-24', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('114dc14d-17dd-45ae-904d-caed85150120', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 11, '2026-01-23', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('027849de-29ad-4b6f-b347-6ba499547900', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 12, '2026-02-22', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5468a16a-08d0-47bc-8eae-649d96637a62', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 13, '2026-03-24', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e82a695-5f60-42b7-9bbb-6fbdbbc6e5cb', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 14, '2026-04-23', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a48711b9-1f93-4d4c-8d58-d28c3a92eaa9', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 15, '2026-05-23', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b87b8a20-295a-4379-8bb5-817d4e96ea82', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 16, '2026-06-22', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1055108a-3f6f-417e-b2b7-4c2326b7a06d', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 17, '2026-07-22', 1250000.0, 700000.0, 1950000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc75fdf7-9370-46d3-bd83-2ab2d531cfd1', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 18, '2026-08-21', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6df3f3d5-825e-4556-8af3-5e93d266b2fb', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 19, '2026-09-20', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09b4c8ff-b589-4d2b-a2f0-a84b738a9c7c', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 20, '2026-10-20', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae86bd21-e35c-432f-bc1b-7de553d357fc', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 21, '2026-11-19', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b801c05-bad3-4764-a3fe-4794b42574ad', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 22, '2026-12-19', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53e534eb-75be-4832-aab7-795e4ba5bb99', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 23, '2027-01-18', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53f7f6b7-d3aa-4297-a64a-03c49595bc80', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 24, '2027-02-17', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9aee682-31bb-4a98-8c44-2c8067d067b7', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 25, '2027-03-19', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63b2dcfa-c7f3-41ab-86a6-07945897e5ed', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 26, '2027-04-18', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ecd8d05-4bb8-4847-b48d-cb4836f8af6c', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 27, '2027-05-18', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('733672b8-2c18-4f54-99d7-3df4e4fcfd36', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 28, '2027-06-17', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c709c07-301b-415c-82cc-06043bd60156', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 29, '2027-07-17', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b8c5152-74f9-4d7b-9efd-28dcd7e1683f', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 30, '2027-08-16', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a95af9cf-490e-4a56-83b6-b258cd405ea8', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 31, '2027-09-15', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02ba863a-6101-439d-aef4-71fec5e5b1f4', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 32, '2027-10-15', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('52766fe6-c136-4524-aefd-562143d21032', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 33, '2027-11-14', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8e6f0ef-e452-4e62-81e8-ceec600963f1', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 34, '2027-12-14', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b9bffff4-79d2-4e90-8342-ee8a50e5d638', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 35, '2028-01-13', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66be8b50-03dd-40b8-8dd1-a7d5855dc03a', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 36, '2028-02-12', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('957f6c5e-a000-4bc4-af48-6f8c17b08747', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 37, '2028-03-13', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d4db1d54-a583-47cb-af79-69e09df5b50d', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 38, '2028-04-12', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6fe42427-5c5a-48c0-ad4e-4654ba93e051', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 39, '2028-05-12', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21beb7b0-5b97-4af8-b4b1-6a859be868e5', '05fb2e27-2abd-48b4-9a53-18aa8e6624d0', 40, '2028-06-11', 1250000.0, 700000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ace8632a-e95e-4346-9293-7d391cdae230', 'LOAN-38-a1739f2c', '2ec66fae-883e-44f0-88af-c7cb3d720d63', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 20, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d86bb396-3735-412c-8f52-50ce401b8db8', 'ace8632a-e95e-4346-9293-7d391cdae230', 1, '2025-10-25', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8ea774e-81b8-4b68-b536-0017d2f82d33', 'ace8632a-e95e-4346-9293-7d391cdae230', 2, '2025-11-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5756f8dc-5f6b-4618-89a9-585886faff13', 'ace8632a-e95e-4346-9293-7d391cdae230', 3, '2025-12-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73c89ff3-9dc5-453d-8666-7ea09c8836c6', 'ace8632a-e95e-4346-9293-7d391cdae230', 4, '2026-01-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('383c5bb3-2975-4884-9c19-353230ec64bc', 'ace8632a-e95e-4346-9293-7d391cdae230', 5, '2026-02-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1d3c3814-3c41-4796-b2ee-a2b36f3e8555', 'ace8632a-e95e-4346-9293-7d391cdae230', 6, '2026-03-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('768f75b2-7cd3-4fdc-80b9-bfce288eef11', 'ace8632a-e95e-4346-9293-7d391cdae230', 7, '2026-04-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2edc72c9-179b-47d5-a589-bee5694eb211', 'ace8632a-e95e-4346-9293-7d391cdae230', 8, '2026-05-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('11501479-6cd3-4b86-9676-3e6a12bda1e8', 'ace8632a-e95e-4346-9293-7d391cdae230', 9, '2026-06-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8a4349f-b813-414d-aa22-e23975873096', 'ace8632a-e95e-4346-9293-7d391cdae230', 10, '2026-07-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5f1258de-25a0-4418-b13a-2cfa30843719', 'ace8632a-e95e-4346-9293-7d391cdae230', 11, '2026-08-21', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1527ab59-1edd-4956-b16a-d4bc0ed86cbc', 'ace8632a-e95e-4346-9293-7d391cdae230', 12, '2026-09-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe86b5dc-061d-4aee-bbf9-ec79d2f75383', 'ace8632a-e95e-4346-9293-7d391cdae230', 13, '2026-10-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6510d6cc-42d7-40a7-bed9-8e8f8bb4b627', 'ace8632a-e95e-4346-9293-7d391cdae230', 14, '2026-11-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dbecda41-3b73-4ab5-a034-ffc1a19e31bb', 'ace8632a-e95e-4346-9293-7d391cdae230', 15, '2026-12-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b746bc6e-0866-46ee-864e-3348882d4417', 'ace8632a-e95e-4346-9293-7d391cdae230', 16, '2027-01-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d3732c9-ad82-4ac7-8297-d8adccf5d551', 'ace8632a-e95e-4346-9293-7d391cdae230', 17, '2027-02-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5e0dd48c-22a7-4eed-a8d2-b1fa452f9be0', 'ace8632a-e95e-4346-9293-7d391cdae230', 18, '2027-03-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d12f99ad-476b-4f3a-9e6c-4769df93f7b2', 'ace8632a-e95e-4346-9293-7d391cdae230', 19, '2027-04-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('599eefcb-4daa-4c62-9578-fc3dfa781391', 'ace8632a-e95e-4346-9293-7d391cdae230', 20, '2027-05-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('772a556d-2909-4271-af20-467a4c7e6e8e', 'ORD-38-5abd39f0', '2ec66fae-883e-44f0-88af-c7cb3d720d63', 1288500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: DADAN NURHIDAYATULLOH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3d1f2815-b7df-40a7-a241-7fac4134b9e1', 'member44@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DADAN NURHIDAYATULLOH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('77d382e6-eb53-4d63-975c-c334ca6557ad', '3d1f2815-b7df-40a7-a241-7fac4134b9e1', '39', '39', 'DADAN NURHIDAYATULLOH', 'NIK-39', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b34567b3-7457-4fef-9cdd-40af0488dda6', 'SAV-1-39', '77d382e6-eb53-4d63-975c-c334ca6557ad', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('607bd3ce-4f57-4dec-b4ed-d115ae3bb627', 'SAV-2-39', '77d382e6-eb53-4d63-975c-c334ca6557ad', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c78a994c-bc49-43d8-867e-1e99f42dbc63', 'TRX-WAJIB-39', '607bd3ce-4f57-4dec-b4ed-d115ae3bb627', '77d382e6-eb53-4d63-975c-c334ca6557ad', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('912b8a99-059f-4fde-8d0b-3ae375ea6a8b', 'SAV-3-39', '77d382e6-eb53-4d63-975c-c334ca6557ad', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ec5726a0-b4e0-4577-8f11-30a487bb56f5', 'TRX-SUKARELA-39', '912b8a99-059f-4fde-8d0b-3ae375ea6a8b', '77d382e6-eb53-4d63-975c-c334ca6557ad', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: HADY WIJAYA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('120bded3-61cd-4122-b94b-1b99633b6c5b', 'member45@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HADY WIJAYA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d1b6089c-8b3c-420e-9940-ceaea36c8026', '120bded3-61cd-4122-b94b-1b99633b6c5b', '40', '40', 'HADY WIJAYA', 'NIK-40', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fbcb0a8a-0acf-4a4e-b6f9-7974084083b1', 'SAV-1-40', 'd1b6089c-8b3c-420e-9940-ceaea36c8026', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c6e49014-a00b-44ef-9034-e5f30d800ebd', 'SAV-2-40', 'd1b6089c-8b3c-420e-9940-ceaea36c8026', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f6db6ac4-0d7e-4b1c-bfa8-1539a0c0d410', 'TRX-WAJIB-40', 'c6e49014-a00b-44ef-9034-e5f30d800ebd', 'd1b6089c-8b3c-420e-9940-ceaea36c8026', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a3c4fbe1-4e1e-4add-96d6-b251a61610df', 'SAV-3-40', 'd1b6089c-8b3c-420e-9940-ceaea36c8026', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6e9510a9-cc3c-45e5-8dd1-883ba4ff205e', 'TRX-SUKARELA-40', 'a3c4fbe1-4e1e-4add-96d6-b251a61610df', 'd1b6089c-8b3c-420e-9940-ceaea36c8026', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');

-- Member: FARAYS MASLOMAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('76b4bb1e-4703-4287-a492-5b56f72b3165', 'member46@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'FARAYS MASLOMAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('63b494ad-129f-454e-a7ef-77d4935562b1', '76b4bb1e-4703-4287-a492-5b56f72b3165', '41', '41', 'FARAYS MASLOMAN', 'NIK-41', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('892d057c-166e-45d3-8564-d64c548a906c', 'SAV-1-41', '63b494ad-129f-454e-a7ef-77d4935562b1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91a24d2c-8f13-44bf-97f1-3f3222eaeddf', 'SAV-2-41', '63b494ad-129f-454e-a7ef-77d4935562b1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f443618b-67f8-4631-84e2-3be6e47d42fc', 'TRX-WAJIB-41', '91a24d2c-8f13-44bf-97f1-3f3222eaeddf', '63b494ad-129f-454e-a7ef-77d4935562b1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f5c364f5-1929-4c0c-acdd-8ac667d2eec4', 'SAV-3-41', '63b494ad-129f-454e-a7ef-77d4935562b1', 3, 0.0, true);
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('b6cee925-85b0-4787-8799-26403440cdd6', 'ORD-41-920ef44d', '63b494ad-129f-454e-a7ef-77d4935562b1', 45000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: WANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a2d2483e-0f44-48c2-8296-d24dbf0f1c72', 'member47@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 'a2d2483e-0f44-48c2-8296-d24dbf0f1c72', '42', '42', 'WANTO', 'NIK-42', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f556fbe0-1c4c-4385-abfd-943f1d5a9ac9', 'SAV-1-42', 'f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6aa44c13-94d7-43d4-90e7-1f7922cdeeaa', 'SAV-2-42', 'f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('86eaa385-4589-498d-8500-fabd7e2fa3db', 'TRX-WAJIB-42', '6aa44c13-94d7-43d4-90e7-1f7922cdeeaa', 'f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4b2b5cad-2fba-4a1b-b324-06515d11b517', 'SAV-3-42', 'f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('060729f9-e137-44a6-8650-ca6f6020376f', 'TRX-SUKARELA-42', '4b2b5cad-2fba-4a1b-b324-06515d11b517', 'f3b061a6-9b72-4457-bb10-d2f2ace03e3a', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');

-- Member: AGUS SUPRIYONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7a5e8f86-08b3-435f-b60b-f24976c13f3e', 'member48@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SUPRIYONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('35ac298d-6bad-42eb-a834-89d6490b7259', '7a5e8f86-08b3-435f-b60b-f24976c13f3e', '43', '43', 'AGUS SUPRIYONO', 'NIK-43', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7ff99fd3-f6f7-489d-96e8-47d305adf43a', 'SAV-1-43', '35ac298d-6bad-42eb-a834-89d6490b7259', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('03d7da17-e1b1-4535-b318-8fb68d8b5954', 'SAV-2-43', '35ac298d-6bad-42eb-a834-89d6490b7259', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('59e9c172-ddd1-4885-a3ee-8583506d879a', 'TRX-WAJIB-43', '03d7da17-e1b1-4535-b318-8fb68d8b5954', '35ac298d-6bad-42eb-a834-89d6490b7259', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dadc07d5-e7f1-4c48-8108-ce3456f4ebe6', 'SAV-3-43', '35ac298d-6bad-42eb-a834-89d6490b7259', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b5677704-51a9-4454-907a-45c216cd0ce4', 'TRX-SUKARELA-43', 'dadc07d5-e7f1-4c48-8108-ce3456f4ebe6', '35ac298d-6bad-42eb-a834-89d6490b7259', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('caa46474-0f7d-4b78-938a-76b823ea2a0e', 'LOAN-43-0f638a5a', '35ac298d-6bad-42eb-a834-89d6490b7259', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3200000.0, 10, 'Migrasi Data', 'disbursed', 3200000.0, 3200000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('92bae520-4294-4b97-af6e-41b154cc1d45', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 1, '2026-01-23', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec40b1ad-ae21-4e95-a8ea-034633abd722', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 2, '2026-02-22', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96a8a7f4-f8af-4fbb-8143-3f5669e45c92', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 3, '2026-03-24', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('027c5f35-e6e2-4c86-ab6c-1e3c2fd0b7e2', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 4, '2026-04-23', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7fe98e1e-6401-43dc-aae6-07e17793120d', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 5, '2026-05-23', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96b13e91-7b83-4a8a-b7b5-8725490ae0a7', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 6, '2026-06-22', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89212b12-5e97-43f2-83b0-ec735ecead43', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 7, '2026-07-22', 320000.0, 68000.0, 388000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3a56b42c-3418-4461-a81f-9d6b02bfdf93', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 8, '2026-08-21', 320000.0, 68000.0, 388000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1abaea87-4f9f-463e-b6f4-f5223e0cad39', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 9, '2026-09-20', 320000.0, 68000.0, 388000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10d441a0-7e6b-4b49-87d4-276ea593c52a', 'caa46474-0f7d-4b78-938a-76b823ea2a0e', 10, '2026-10-20', 320000.0, 68000.0, 388000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f1b48832-0ff0-4320-9620-6507fd59d33d', 'LOAN-43-18d06faf', '35ac298d-6bad-42eb-a834-89d6490b7259', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 20, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e3ce5f4-1ba7-4481-b1a8-3078f1c39bff', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 1, '2026-06-22', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f810e41e-e3d7-48aa-ab0b-445efe16be2b', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 2, '2026-07-22', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7c26822-6eb2-45b1-95d4-71cb84fb59f1', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 3, '2026-08-21', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('326e40a5-5930-48e1-94c2-f4979ae829a9', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 4, '2026-09-20', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9621048b-3a2e-4bba-9567-7aef79a1f702', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 5, '2026-10-20', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7f44694-84d5-49d8-b978-51115f6876b8', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 6, '2026-11-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a06ec74d-239a-41d5-98a3-ecadcadbf73a', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 7, '2026-12-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0eabce33-ca1d-4533-ac40-f6725cf6976b', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 8, '2027-01-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae0dd48f-0092-4260-80fc-5547f01904dd', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 9, '2027-02-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d64dba7-b900-446f-92cb-aaad4edc6fa2', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 10, '2027-03-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('93e1425b-b34a-4417-8796-7b3c664280f3', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 11, '2027-04-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b6f171c-a4f5-4eac-bf7e-00feaf6a9649', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 12, '2027-05-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8989e79-a8d1-4bf4-8410-2ff29a39d5fb', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 13, '2027-06-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7488b21-8963-444f-9668-a2023d110cf7', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 14, '2027-07-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1f0852e-2594-430e-9663-e3cec69312f3', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 15, '2027-08-16', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4e93cb8-b40e-412e-95d0-eb5e3c9f645d', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 16, '2027-09-15', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3642e08c-78ad-4d05-a5bd-dc855f304810', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 17, '2027-10-15', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('913eab83-acd9-492b-ab68-bfe7b7b0d7f4', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 18, '2027-11-14', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dea2a495-65d8-416b-bcae-29c30dbdb713', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 19, '2027-12-14', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf070de9-444f-4cdd-82a1-3553341d3688', 'f1b48832-0ff0-4320-9620-6507fd59d33d', 20, '2028-01-13', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('ca693e6a-b025-41d3-ac31-8240187fe7a0', 'ORD-43-7a37cf1e', '35ac298d-6bad-42eb-a834-89d6490b7259', 508000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ILHAM PARDIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0fd03405-1cd9-47a3-bb95-b20255cf82ad', 'member49@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ILHAM PARDIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('69709308-4283-47b0-9c90-bf2609527535', '0fd03405-1cd9-47a3-bb95-b20255cf82ad', '44', '44', 'ILHAM PARDIANSYAH', 'NIK-44', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('86a954ed-f46d-454d-8127-fcd1b3568499', 'SAV-1-44', '69709308-4283-47b0-9c90-bf2609527535', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('219d4428-09c8-4798-a70f-8b84fc5d125b', 'SAV-2-44', '69709308-4283-47b0-9c90-bf2609527535', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('93f1ded3-acb7-41c2-9b36-a69eb1c615b2', 'TRX-WAJIB-44', '219d4428-09c8-4798-a70f-8b84fc5d125b', '69709308-4283-47b0-9c90-bf2609527535', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bf8c7302-c737-4c41-8c2c-d3a395b9f995', 'SAV-3-44', '69709308-4283-47b0-9c90-bf2609527535', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ab5c3fc3-2b41-4094-825d-b46e9f511397', 'TRX-SUKARELA-44', 'bf8c7302-c737-4c41-8c2c-d3a395b9f995', '69709308-4283-47b0-9c90-bf2609527535', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('8812f56c-cd38-4947-b580-7f9f10a3a321', 'ORD-44-a27d37c7', '69709308-4283-47b0-9c90-bf2609527535', 497500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: AGUS
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('249935aa-219a-498a-a441-eef6aa269e7b', 'member50@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d5564416-ca98-4109-a914-e7b4a0492e0c', '249935aa-219a-498a-a441-eef6aa269e7b', '45', '45', 'AGUS', 'NIK-45', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('84ca8203-dfa4-42ee-8d98-792abc58974d', 'SAV-1-45', 'd5564416-ca98-4109-a914-e7b4a0492e0c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a2b0120f-1c25-4cf1-b8f4-222c8cf9e0ac', 'SAV-2-45', 'd5564416-ca98-4109-a914-e7b4a0492e0c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f7a5dcc7-0c35-4959-b241-9144bee12364', 'TRX-WAJIB-45', 'a2b0120f-1c25-4cf1-b8f4-222c8cf9e0ac', 'd5564416-ca98-4109-a914-e7b4a0492e0c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('551fb205-8d83-45bd-94cb-40ef624f702d', 'SAV-3-45', 'd5564416-ca98-4109-a914-e7b4a0492e0c', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('926e05a6-8535-4be2-93b9-515838a59b06', 'LOAN-45-aff4df34', 'd5564416-ca98-4109-a914-e7b4a0492e0c', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 104493760.0, 40, 'Migrasi Data', 'disbursed', 104493760.0, 104493760.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('173f873f-72f8-4e49-a35d-4ae601a0ce62', '926e05a6-8535-4be2-93b9-515838a59b06', 1, '2026-08-21', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d9dd265c-7b56-40b5-9d43-7352d19f53f0', '926e05a6-8535-4be2-93b9-515838a59b06', 2, '2026-09-20', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be5b9b3a-c3e0-4013-ba1e-6951aa436a68', '926e05a6-8535-4be2-93b9-515838a59b06', 3, '2026-10-20', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba6575a7-dd3a-46bc-91a4-298004d0b614', '926e05a6-8535-4be2-93b9-515838a59b06', 4, '2026-11-19', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89efd32d-efaf-4a77-9c5e-4062313ccc88', '926e05a6-8535-4be2-93b9-515838a59b06', 5, '2026-12-19', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0885e87c-3549-4de7-9710-400e5b07af30', '926e05a6-8535-4be2-93b9-515838a59b06', 6, '2027-01-18', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e406f454-4fdb-4146-b209-02967f9b21f5', '926e05a6-8535-4be2-93b9-515838a59b06', 7, '2027-02-17', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5773eac-8c5c-483c-a58f-88dbd762d65a', '926e05a6-8535-4be2-93b9-515838a59b06', 8, '2027-03-19', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('299f6a13-72ff-4d87-b4e8-c5c6cee32609', '926e05a6-8535-4be2-93b9-515838a59b06', 9, '2027-04-18', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f1ee1f48-5f08-414a-b5e9-f27af1df6fc2', '926e05a6-8535-4be2-93b9-515838a59b06', 10, '2027-05-18', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2062f231-3c16-4658-bdac-081ae72ff38b', '926e05a6-8535-4be2-93b9-515838a59b06', 11, '2027-06-17', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('439aa238-c9fa-4300-81af-c465a4fffc1a', '926e05a6-8535-4be2-93b9-515838a59b06', 12, '2027-07-17', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('374cf1de-6fd8-4f75-848d-71355ccd5a18', '926e05a6-8535-4be2-93b9-515838a59b06', 13, '2027-08-16', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6df63e2-8c5a-45ec-8643-a0f2dfc18b34', '926e05a6-8535-4be2-93b9-515838a59b06', 14, '2027-09-15', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('42c2baf7-d529-4aeb-a463-3881d40c0e97', '926e05a6-8535-4be2-93b9-515838a59b06', 15, '2027-10-15', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('98df6795-e4e4-49fd-9315-4bd4c2c73565', '926e05a6-8535-4be2-93b9-515838a59b06', 16, '2027-11-14', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10360e6a-0fad-436f-9ffc-e553fd320592', '926e05a6-8535-4be2-93b9-515838a59b06', 17, '2027-12-14', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1243ae88-bb96-4a7d-84b3-d5f88a8aa55f', '926e05a6-8535-4be2-93b9-515838a59b06', 18, '2028-01-13', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33f06446-4646-42ea-b320-d41c65ff9ff2', '926e05a6-8535-4be2-93b9-515838a59b06', 19, '2028-02-12', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63f13ef6-828e-4016-916c-55ce80266084', '926e05a6-8535-4be2-93b9-515838a59b06', 20, '2028-03-13', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09f55075-654f-4024-b295-bb2043d68977', '926e05a6-8535-4be2-93b9-515838a59b06', 21, '2028-04-12', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('03de224e-2d2e-474d-9beb-3ed0b729a461', '926e05a6-8535-4be2-93b9-515838a59b06', 22, '2028-05-12', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac657f12-2395-4f71-8c96-23b4a2b0c7f1', '926e05a6-8535-4be2-93b9-515838a59b06', 23, '2028-06-11', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6be75789-0ffa-4406-af10-835be90ea8e5', '926e05a6-8535-4be2-93b9-515838a59b06', 24, '2028-07-11', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('00ef138c-6acd-4d10-a15a-61c82dfee25b', '926e05a6-8535-4be2-93b9-515838a59b06', 25, '2028-08-10', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('93c2badb-1a9f-4649-9c53-dc505c2ea967', '926e05a6-8535-4be2-93b9-515838a59b06', 26, '2028-09-09', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('151d8878-59f9-4621-9853-7336224d020d', '926e05a6-8535-4be2-93b9-515838a59b06', 27, '2028-10-09', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f2ae71c-430b-4a28-9cdb-d4b240389634', '926e05a6-8535-4be2-93b9-515838a59b06', 28, '2028-11-08', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e07d7f0-6ac8-48e4-b4b5-434fe259c89a', '926e05a6-8535-4be2-93b9-515838a59b06', 29, '2028-12-08', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3a32ff6-9d84-41a7-af4f-73efff46f92c', '926e05a6-8535-4be2-93b9-515838a59b06', 30, '2029-01-07', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6f171ca-95db-43d4-a404-e89bb18bd090', '926e05a6-8535-4be2-93b9-515838a59b06', 31, '2029-02-06', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99184426-6763-4d3e-bf76-61a353e2a102', '926e05a6-8535-4be2-93b9-515838a59b06', 32, '2029-03-08', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('249065e5-2e20-4f1c-983c-defe6906fb3f', '926e05a6-8535-4be2-93b9-515838a59b06', 33, '2029-04-07', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7ea5074-fadd-47f9-a45a-dc0941f7acdc', '926e05a6-8535-4be2-93b9-515838a59b06', 34, '2029-05-07', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75770de5-fde2-4368-bbde-a097f9bf6891', '926e05a6-8535-4be2-93b9-515838a59b06', 35, '2029-06-06', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3fd06f03-cb40-41f6-8899-2cb64f999dcc', '926e05a6-8535-4be2-93b9-515838a59b06', 36, '2029-07-06', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9af2d3d6-84c5-4101-8e59-02007cfb4bc5', '926e05a6-8535-4be2-93b9-515838a59b06', 37, '2029-08-05', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5153b039-18f3-42f3-8901-cca68334c869', '926e05a6-8535-4be2-93b9-515838a59b06', 38, '2029-09-04', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59ee30f3-b0de-4fc7-8b73-ef2393beb5af', '926e05a6-8535-4be2-93b9-515838a59b06', 39, '2029-10-04', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('887f1924-9299-4cd9-b835-7baecf6dcdee', '926e05a6-8535-4be2-93b9-515838a59b06', 40, '2029-11-03', 2612344.0, 1462911.0, 4075255.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('bedc6f83-17ba-4481-a9be-9d714161874f', 'LOAN-45-4175dd7d', 'd5564416-ca98-4109-a914-e7b4a0492e0c', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 6900000.0, 20, 'Migrasi Data', 'disbursed', 6900000.0, 6900000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35bc3af1-fce2-49df-9acf-f02a7544175a', 'bedc6f83-17ba-4481-a9be-9d714161874f', 1, '2026-08-21', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76a89ee4-42fd-46a1-bb44-02051c04ae3b', 'bedc6f83-17ba-4481-a9be-9d714161874f', 2, '2026-09-20', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac3633c0-d8ca-4bbc-894f-9014e94d3dfc', 'bedc6f83-17ba-4481-a9be-9d714161874f', 3, '2026-10-20', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cf2fc91-cc81-4441-8d0d-98f56e55131f', 'bedc6f83-17ba-4481-a9be-9d714161874f', 4, '2026-11-19', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48bce157-3646-44ee-a9b3-09e3fc826d39', 'bedc6f83-17ba-4481-a9be-9d714161874f', 5, '2026-12-19', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('61718b04-c19f-4323-aaf2-dc3e9b654427', 'bedc6f83-17ba-4481-a9be-9d714161874f', 6, '2027-01-18', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45655b26-ee38-4089-9e9b-4c14ed386d8b', 'bedc6f83-17ba-4481-a9be-9d714161874f', 7, '2027-02-17', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6ad7d29-c541-4dc7-9221-b345cf1b5359', 'bedc6f83-17ba-4481-a9be-9d714161874f', 8, '2027-03-19', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1793226-a8a2-4bf7-a5af-c9d573746fde', 'bedc6f83-17ba-4481-a9be-9d714161874f', 9, '2027-04-18', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3cac1216-7833-45ac-9c1d-127db0330f06', 'bedc6f83-17ba-4481-a9be-9d714161874f', 10, '2027-05-18', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd7fe310-c51c-435d-b04e-87ac44198964', 'bedc6f83-17ba-4481-a9be-9d714161874f', 11, '2027-06-17', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f2cc657-f02e-45a4-bb68-30360c6c3aa7', 'bedc6f83-17ba-4481-a9be-9d714161874f', 12, '2027-07-17', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8079bd03-7660-4a7c-a012-511d8631d5e5', 'bedc6f83-17ba-4481-a9be-9d714161874f', 13, '2027-08-16', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49d867b7-0ed6-4a24-a5fb-59f15a1f8311', 'bedc6f83-17ba-4481-a9be-9d714161874f', 14, '2027-09-15', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7f30b7c-6bed-4d82-8629-8411e136ca15', 'bedc6f83-17ba-4481-a9be-9d714161874f', 15, '2027-10-15', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a307405-fde1-4bc2-b1e8-583c3c5bb3a9', 'bedc6f83-17ba-4481-a9be-9d714161874f', 16, '2027-11-14', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4ebb69a-3617-4e68-be81-349e9b85af96', 'bedc6f83-17ba-4481-a9be-9d714161874f', 17, '2027-12-14', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('120c9321-41d4-432c-bca9-0b93404caa98', 'bedc6f83-17ba-4481-a9be-9d714161874f', 18, '2028-01-13', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('94eabcff-548f-457f-a7d1-b1dc4e340c47', 'bedc6f83-17ba-4481-a9be-9d714161874f', 19, '2028-02-12', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d618fb7e-58db-49af-9acd-d934e8892a3b', 'bedc6f83-17ba-4481-a9be-9d714161874f', 20, '2028-03-13', 345000.0, 103500.0, 448500.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('0a7e7fa1-b6a6-44f4-9ff0-ab909f27361f', 'ORD-45-204ba512', 'd5564416-ca98-4109-a914-e7b4a0492e0c', 112500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ILHAM FIKRI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('e638ec24-35b9-4d4b-ac80-2b1f44bb5a7b', 'member51@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ILHAM FIKRI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5f85d0df-92eb-4863-8210-4d8591430141', 'e638ec24-35b9-4d4b-ac80-2b1f44bb5a7b', '46', '46', 'ILHAM FIKRI', 'NIK-46', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dba9e1ed-7884-4faa-a5fa-d5a6db79e8d1', 'SAV-1-46', '5f85d0df-92eb-4863-8210-4d8591430141', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4031941a-774b-4db9-8832-44dfc58fdcd8', 'SAV-2-46', '5f85d0df-92eb-4863-8210-4d8591430141', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e363e583-7eb3-41b6-8b9a-08383c3e1dd7', 'TRX-WAJIB-46', '4031941a-774b-4db9-8832-44dfc58fdcd8', '5f85d0df-92eb-4863-8210-4d8591430141', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('78cf1f88-ea1d-4c0a-817e-ed7832ebef57', 'SAV-3-46', '5f85d0df-92eb-4863-8210-4d8591430141', 3, 5000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0f92136a-4795-41b9-bef6-db2b56a84b4c', 'TRX-SUKARELA-46', '78cf1f88-ea1d-4c0a-817e-ed7832ebef57', '5f85d0df-92eb-4863-8210-4d8591430141', 'deposit', 5000.0, 0, 5000.0, 'Saldo Awal Migrasi');

-- Member: ADE MARSUDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('11932d5b-6506-43c0-acfc-a3aa18a776f7', 'member52@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ADE MARSUDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9bf60be3-5de2-4f52-8006-2bbe1d352b7e', '11932d5b-6506-43c0-acfc-a3aa18a776f7', '47', '47', 'ADE MARSUDI', 'NIK-47', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('32ea7fbc-e2f1-44de-95f1-d548e732cbe8', 'SAV-1-47', '9bf60be3-5de2-4f52-8006-2bbe1d352b7e', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('df734d90-0e71-4457-8450-763c104c4731', 'SAV-2-47', '9bf60be3-5de2-4f52-8006-2bbe1d352b7e', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ef1ce2ce-7577-414d-85be-7447764fb200', 'TRX-WAJIB-47', 'df734d90-0e71-4457-8450-763c104c4731', '9bf60be3-5de2-4f52-8006-2bbe1d352b7e', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8c7725bc-e944-4559-8a0f-d95afc36d90f', 'SAV-3-47', '9bf60be3-5de2-4f52-8006-2bbe1d352b7e', 3, 0.0, true);

-- Member: ENDIN SYARIFUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('75e9508f-2d34-4431-9162-31ed158cdfc4', 'member53@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ENDIN SYARIFUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('0e75d1ed-2281-4bed-bcf6-85df8161236b', '75e9508f-2d34-4431-9162-31ed158cdfc4', '48', '48', 'ENDIN SYARIFUDIN', 'NIK-48', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('68eb0f53-c9fd-4b76-abc6-2f01fbd731c6', 'SAV-1-48', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1ea27b74-c7fc-4469-ab26-ba8e4a33ca65', 'SAV-2-48', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('db04d91b-5fb2-4f32-ad15-ded1c2c38bf3', 'TRX-WAJIB-48', '1ea27b74-c7fc-4469-ab26-ba8e4a33ca65', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('13d9a09e-eac8-4788-b3eb-cdeb65e44a0f', 'SAV-3-48', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7b5499b7-eb67-4437-a4eb-935db7ce9247', 'TRX-SUKARELA-48', '13d9a09e-eac8-4788-b3eb-cdeb65e44a0f', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('12fdc70e-5654-492a-b1ba-992c832c4675', 'LOAN-48-f2c3cdd9', '0e75d1ed-2281-4bed-bcf6-85df8161236b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 4950000.0, 10, 'Migrasi Data', 'disbursed', 4950000.0, 4950000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd175bdc-1eca-41e3-9741-c80ac91d7b13', '12fdc70e-5654-492a-b1ba-992c832c4675', 1, '2026-02-22', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bedbddcb-4bc7-4002-9545-e4d106e1a665', '12fdc70e-5654-492a-b1ba-992c832c4675', 2, '2026-03-24', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('589df74b-ec7d-4200-aa6b-cde93c1f23e2', '12fdc70e-5654-492a-b1ba-992c832c4675', 3, '2026-04-23', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b414d013-7ea7-48e3-a77d-f06f886f58c4', '12fdc70e-5654-492a-b1ba-992c832c4675', 4, '2026-05-23', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f82ff67-933a-4006-aff6-9b590e3dfedc', '12fdc70e-5654-492a-b1ba-992c832c4675', 5, '2026-06-22', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4fa5fe83-bf8c-4349-bfdc-9f6165756fe5', '12fdc70e-5654-492a-b1ba-992c832c4675', 6, '2026-07-22', 495000.0, 74250.0, 569250.0, 495000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea0a81a7-9f73-4e98-905d-837f6ace9ede', '12fdc70e-5654-492a-b1ba-992c832c4675', 7, '2026-08-21', 495000.0, 74250.0, 569250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5bfb8d4e-8b7d-4a62-a6bd-ddb4c21f8b5c', '12fdc70e-5654-492a-b1ba-992c832c4675', 8, '2026-09-20', 495000.0, 74250.0, 569250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9861c6b0-28fd-4a17-aa82-3bdd0fc5ddad', '12fdc70e-5654-492a-b1ba-992c832c4675', 9, '2026-10-20', 495000.0, 74250.0, 569250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38b44f2e-79cd-4b43-83d4-426de5580db4', '12fdc70e-5654-492a-b1ba-992c832c4675', 10, '2026-11-19', 495000.0, 74250.0, 569250.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('de1c2c39-c606-49be-b4f2-930bb5335868', 'ORD-48-3e8e65d9', '0e75d1ed-2281-4bed-bcf6-85df8161236b', 88000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: RACHMAN ARIEF
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f78e00bf-a8dc-4b10-99b7-1f0cae6b71a3', 'member54@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RACHMAN ARIEF', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7ca60a49-3902-4eaf-8cac-9beaaa2f5935', 'f78e00bf-a8dc-4b10-99b7-1f0cae6b71a3', '49', '49', 'RACHMAN ARIEF', 'NIK-49', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d4eb8c2a-6f0d-48de-b5ba-dec0aae81524', 'SAV-1-49', '7ca60a49-3902-4eaf-8cac-9beaaa2f5935', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6b5b65e0-f29a-4006-8106-df6e9b0b8d7c', 'SAV-2-49', '7ca60a49-3902-4eaf-8cac-9beaaa2f5935', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('99033b11-26a9-421b-829c-94351f9c957a', 'TRX-WAJIB-49', '6b5b65e0-f29a-4006-8106-df6e9b0b8d7c', '7ca60a49-3902-4eaf-8cac-9beaaa2f5935', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('57252a95-7969-4b63-9f6f-53d716899a37', 'SAV-3-49', '7ca60a49-3902-4eaf-8cac-9beaaa2f5935', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('5d922939-7e6b-46a8-a999-32b17402ec34', 'LOAN-49-528cdcc4', '7ca60a49-3902-4eaf-8cac-9beaaa2f5935', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 40, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('505190d4-5208-4e3b-b7ea-24a98769e610', '5d922939-7e6b-46a8-a999-32b17402ec34', 1, '2025-11-24', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('846bb9d2-3c66-499a-bc98-022d191729ea', '5d922939-7e6b-46a8-a999-32b17402ec34', 2, '2025-12-24', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe7ee370-0a43-4791-9492-32539bff51bc', '5d922939-7e6b-46a8-a999-32b17402ec34', 3, '2026-01-23', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d23a6ddd-072e-4735-a668-44fd14ee7014', '5d922939-7e6b-46a8-a999-32b17402ec34', 4, '2026-02-22', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('07de8535-e2c9-4c53-8dad-3cff8a782e0e', '5d922939-7e6b-46a8-a999-32b17402ec34', 5, '2026-03-24', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af10f4a6-3af0-4d54-95a9-1e168a7e4346', '5d922939-7e6b-46a8-a999-32b17402ec34', 6, '2026-04-23', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80d739cc-7ad0-4897-ba43-97bb474b9fdc', '5d922939-7e6b-46a8-a999-32b17402ec34', 7, '2026-05-23', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc3ff2d9-65eb-4e66-8ae4-5283bb8ed87f', '5d922939-7e6b-46a8-a999-32b17402ec34', 8, '2026-06-22', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c4f1df23-8510-4a64-9661-1ede7b8c2053', '5d922939-7e6b-46a8-a999-32b17402ec34', 9, '2026-07-22', 750000.0, 420000.0, 1170000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a68a3ed-01f8-4a58-90d8-02459337ef4e', '5d922939-7e6b-46a8-a999-32b17402ec34', 10, '2026-08-21', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b20ecc2-a51b-4a8a-b192-2da645797e7d', '5d922939-7e6b-46a8-a999-32b17402ec34', 11, '2026-09-20', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('672516e3-e2b4-4835-837c-95e449ba895e', '5d922939-7e6b-46a8-a999-32b17402ec34', 12, '2026-10-20', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66704bf1-33f5-4269-af84-19c2877155a8', '5d922939-7e6b-46a8-a999-32b17402ec34', 13, '2026-11-19', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('970f2f2b-61a5-4ff3-b0c5-82ae0d6a8ba4', '5d922939-7e6b-46a8-a999-32b17402ec34', 14, '2026-12-19', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e46dcbd2-f770-4796-a8c6-9e3f0c4b61e0', '5d922939-7e6b-46a8-a999-32b17402ec34', 15, '2027-01-18', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('482b1cf3-d283-4984-bcfd-4b4f64b59b9d', '5d922939-7e6b-46a8-a999-32b17402ec34', 16, '2027-02-17', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f23ed8b0-44bc-428a-b58f-96fb57f96416', '5d922939-7e6b-46a8-a999-32b17402ec34', 17, '2027-03-19', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('888c00d3-d490-43ef-804c-a266abe27078', '5d922939-7e6b-46a8-a999-32b17402ec34', 18, '2027-04-18', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('198b4485-3b0a-4aca-9880-52edae401394', '5d922939-7e6b-46a8-a999-32b17402ec34', 19, '2027-05-18', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('612db693-4caa-43c6-a2a4-ed927aef06b5', '5d922939-7e6b-46a8-a999-32b17402ec34', 20, '2027-06-17', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a1b2da4d-b187-4e64-88a4-fc405c99ac97', '5d922939-7e6b-46a8-a999-32b17402ec34', 21, '2027-07-17', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('416fa67b-34aa-495d-a2b1-7e72f6915bf4', '5d922939-7e6b-46a8-a999-32b17402ec34', 22, '2027-08-16', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('accf6b68-5038-4cbd-a6ec-36a6bd46f573', '5d922939-7e6b-46a8-a999-32b17402ec34', 23, '2027-09-15', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37ccac7b-1fde-4958-82b2-6de6b121ac07', '5d922939-7e6b-46a8-a999-32b17402ec34', 24, '2027-10-15', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b10ef3fb-c95b-461f-80a3-c71652e6d63a', '5d922939-7e6b-46a8-a999-32b17402ec34', 25, '2027-11-14', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb25e2c1-c602-44b1-8a05-540c47df0592', '5d922939-7e6b-46a8-a999-32b17402ec34', 26, '2027-12-14', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3dac4165-dbf2-4564-a982-4de029d6454f', '5d922939-7e6b-46a8-a999-32b17402ec34', 27, '2028-01-13', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b47e2dec-80b7-49c1-bf91-b9b912f9992b', '5d922939-7e6b-46a8-a999-32b17402ec34', 28, '2028-02-12', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f95e162d-1e76-4ee9-a67a-5e4058088765', '5d922939-7e6b-46a8-a999-32b17402ec34', 29, '2028-03-13', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab6730b9-05f7-4603-8475-7220a198ac30', '5d922939-7e6b-46a8-a999-32b17402ec34', 30, '2028-04-12', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1dd6f1f-3cce-4266-a993-a6b78f559325', '5d922939-7e6b-46a8-a999-32b17402ec34', 31, '2028-05-12', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f95c17e-5364-4f10-949c-97ccad31c4f7', '5d922939-7e6b-46a8-a999-32b17402ec34', 32, '2028-06-11', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('559f74c2-ed60-4858-bab5-d01386da990e', '5d922939-7e6b-46a8-a999-32b17402ec34', 33, '2028-07-11', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b5ebd6f-61f3-4792-99bb-252bd0f04c83', '5d922939-7e6b-46a8-a999-32b17402ec34', 34, '2028-08-10', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4643dbc1-b5a5-487c-9200-3202a4bad6c8', '5d922939-7e6b-46a8-a999-32b17402ec34', 35, '2028-09-09', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('deef960c-34c5-445c-bc8e-9c3aafd732e5', '5d922939-7e6b-46a8-a999-32b17402ec34', 36, '2028-10-09', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8ce06ff-e14a-4105-a0b8-822f2be2f7f7', '5d922939-7e6b-46a8-a999-32b17402ec34', 37, '2028-11-08', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d9a8b653-cf44-424f-91f2-9fb4f3e03dbb', '5d922939-7e6b-46a8-a999-32b17402ec34', 38, '2028-12-08', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8751ef10-fae4-4a24-a979-29cf77c3b77d', '5d922939-7e6b-46a8-a999-32b17402ec34', 39, '2029-01-07', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('64301f1c-8176-4b6d-8983-2261ed4cf38d', '5d922939-7e6b-46a8-a999-32b17402ec34', 40, '2029-02-06', 750000.0, 420000.0, 1170000.0, 0, NULL, 'unpaid');

-- Member: LULUS AJI KURNIAWANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7ec34b11-e6fb-4845-aa1b-d3bad11ec67c', 'member55@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'LULUS AJI KURNIAWANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('16bb8580-d067-4166-aaea-493d4bd1c223', '7ec34b11-e6fb-4845-aa1b-d3bad11ec67c', '50', '50', 'LULUS AJI KURNIAWANSYAH', 'NIK-50', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7a9e12ea-2f0f-49a6-a7ef-51b6e340aed4', 'SAV-1-50', '16bb8580-d067-4166-aaea-493d4bd1c223', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5978585e-c37c-4f2c-b746-0c15910616ae', 'SAV-2-50', '16bb8580-d067-4166-aaea-493d4bd1c223', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0a5d7a4a-07c7-4f96-84c9-1e852b006894', 'TRX-WAJIB-50', '5978585e-c37c-4f2c-b746-0c15910616ae', '16bb8580-d067-4166-aaea-493d4bd1c223', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5a0634eb-3a23-489c-b2d5-7c299312f1b6', 'SAV-3-50', '16bb8580-d067-4166-aaea-493d4bd1c223', 3, 5000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d85a05cd-32ea-416e-beac-bbbd91646051', 'TRX-SUKARELA-50', '5a0634eb-3a23-489c-b2d5-7c299312f1b6', '16bb8580-d067-4166-aaea-493d4bd1c223', 'deposit', 5000.0, 0, 5000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('6a3c3f52-f29c-4710-8d30-3a77478152db', 'LOAN-50-209330fb', '16bb8580-d067-4166-aaea-493d4bd1c223', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 40000000.0, 40, 'Migrasi Data', 'disbursed', 40000000.0, 40000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('78c1acfe-f791-4035-ae6c-e6ce6694941a', '6a3c3f52-f29c-4710-8d30-3a77478152db', 1, '2026-06-22', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f2d98eb-2ee9-4050-9631-90998d9a1a7b', '6a3c3f52-f29c-4710-8d30-3a77478152db', 2, '2026-07-22', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6c6d7f06-55e7-4347-8dda-453df1eccaf9', '6a3c3f52-f29c-4710-8d30-3a77478152db', 3, '2026-08-21', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('788e6c4b-28a0-4e03-9068-741f61caf726', '6a3c3f52-f29c-4710-8d30-3a77478152db', 4, '2026-09-20', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9932c069-a939-47fc-972d-6be44166f97b', '6a3c3f52-f29c-4710-8d30-3a77478152db', 5, '2026-10-20', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5667e85b-0fb9-4a9e-9478-c413db5aa8dd', '6a3c3f52-f29c-4710-8d30-3a77478152db', 6, '2026-11-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6cd41e45-b849-4ce1-968d-297a424b4c51', '6a3c3f52-f29c-4710-8d30-3a77478152db', 7, '2026-12-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c8044e1-013e-46b7-8ea0-78d82a41b8d7', '6a3c3f52-f29c-4710-8d30-3a77478152db', 8, '2027-01-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5968c26-cdf9-4507-a1bd-7b17ed578efe', '6a3c3f52-f29c-4710-8d30-3a77478152db', 9, '2027-02-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('11de2734-a795-4b2d-84df-d2e9a1f68c4c', '6a3c3f52-f29c-4710-8d30-3a77478152db', 10, '2027-03-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49ee3549-6653-4fee-a63e-37d8352eee98', '6a3c3f52-f29c-4710-8d30-3a77478152db', 11, '2027-04-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('249ca49f-bdfd-4311-98e8-b7e8d3ea69e0', '6a3c3f52-f29c-4710-8d30-3a77478152db', 12, '2027-05-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d314b67-892d-467b-8d24-e0403497de4c', '6a3c3f52-f29c-4710-8d30-3a77478152db', 13, '2027-06-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('01f0ba95-bc02-4f21-8203-df9b9ed18f51', '6a3c3f52-f29c-4710-8d30-3a77478152db', 14, '2027-07-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1f8adda5-3938-4f0a-9411-bd93ac06f9fb', '6a3c3f52-f29c-4710-8d30-3a77478152db', 15, '2027-08-16', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('480b5e73-1dea-44c0-9008-e9fb64b8dc1d', '6a3c3f52-f29c-4710-8d30-3a77478152db', 16, '2027-09-15', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6291656a-b84a-4470-b9aa-15ce200db83a', '6a3c3f52-f29c-4710-8d30-3a77478152db', 17, '2027-10-15', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5426903-bc1c-4184-9d5a-a61d458c35f0', '6a3c3f52-f29c-4710-8d30-3a77478152db', 18, '2027-11-14', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e3b0f31-e89b-4674-922b-bd821dc837fa', '6a3c3f52-f29c-4710-8d30-3a77478152db', 19, '2027-12-14', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53c6478d-5fc4-4dc7-8e61-e096ef0c5245', '6a3c3f52-f29c-4710-8d30-3a77478152db', 20, '2028-01-13', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2ecb50eb-30e7-4183-a371-e9a329812baf', '6a3c3f52-f29c-4710-8d30-3a77478152db', 21, '2028-02-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b83416d5-8768-462c-a2cf-150210ec4432', '6a3c3f52-f29c-4710-8d30-3a77478152db', 22, '2028-03-13', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b01185e-441f-47ae-9a1d-c15fcfd2f709', '6a3c3f52-f29c-4710-8d30-3a77478152db', 23, '2028-04-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f024541-755d-43be-9042-50b49176fadf', '6a3c3f52-f29c-4710-8d30-3a77478152db', 24, '2028-05-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73b73729-20cc-4078-9ed1-7313a66dec19', '6a3c3f52-f29c-4710-8d30-3a77478152db', 25, '2028-06-11', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99dd6f66-1a5d-48ec-a81d-b792d31ffe07', '6a3c3f52-f29c-4710-8d30-3a77478152db', 26, '2028-07-11', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('91004e40-ff77-4d61-b6f3-a41164d9811a', '6a3c3f52-f29c-4710-8d30-3a77478152db', 27, '2028-08-10', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0cf9564-0247-4d95-87ae-b981f1e6508c', '6a3c3f52-f29c-4710-8d30-3a77478152db', 28, '2028-09-09', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('619b2e9b-0f20-4de9-82cd-e822ca437e50', '6a3c3f52-f29c-4710-8d30-3a77478152db', 29, '2028-10-09', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2422dea6-a917-4597-8b3b-b1f5ed29b205', '6a3c3f52-f29c-4710-8d30-3a77478152db', 30, '2028-11-08', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('88997da0-717c-4fc9-a920-92f958007ea0', '6a3c3f52-f29c-4710-8d30-3a77478152db', 31, '2028-12-08', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d90c8b46-38ae-4935-91d2-c75fda4c1b3f', '6a3c3f52-f29c-4710-8d30-3a77478152db', 32, '2029-01-07', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99b201ad-c1ee-4dd2-9135-9044503c940d', '6a3c3f52-f29c-4710-8d30-3a77478152db', 33, '2029-02-06', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66a55e7c-f420-46e7-b97d-fde751908df5', '6a3c3f52-f29c-4710-8d30-3a77478152db', 34, '2029-03-08', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('191da70c-2350-41dd-b80a-b83bf943d1ca', '6a3c3f52-f29c-4710-8d30-3a77478152db', 35, '2029-04-07', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c0aef2a-12a7-4533-8e9c-49e64b7cd6b4', '6a3c3f52-f29c-4710-8d30-3a77478152db', 36, '2029-05-07', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('64c1c921-c36a-4e8a-80bc-decebd16964e', '6a3c3f52-f29c-4710-8d30-3a77478152db', 37, '2029-06-06', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a07ecb4d-898c-4168-9a45-852232313ae9', '6a3c3f52-f29c-4710-8d30-3a77478152db', 38, '2029-07-06', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('508763f9-a3f1-44fc-a7b5-1f2d0d463d9f', '6a3c3f52-f29c-4710-8d30-3a77478152db', 39, '2029-08-05', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ada4851-86c9-4e26-a37a-6cf29a3e9298', '6a3c3f52-f29c-4710-8d30-3a77478152db', 40, '2029-09-04', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');

-- Member: SUEB
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('038ae1d6-5885-460e-8575-978cc88ffdfc', 'member56@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUEB', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a1f1ed73-0522-4ae7-a510-98288f6c8994', '038ae1d6-5885-460e-8575-978cc88ffdfc', '51', '51', 'SUEB', 'NIK-51', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('09be5a2e-b14f-43fb-b5ed-c5601e37f8a5', 'SAV-1-51', 'a1f1ed73-0522-4ae7-a510-98288f6c8994', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0e11bdfe-0fda-4ed8-a0b1-9e08dfeb759f', 'SAV-2-51', 'a1f1ed73-0522-4ae7-a510-98288f6c8994', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('348e0dc5-a2a1-4a81-9e05-4f2fe7a856ec', 'TRX-WAJIB-51', '0e11bdfe-0fda-4ed8-a0b1-9e08dfeb759f', 'a1f1ed73-0522-4ae7-a510-98288f6c8994', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c7113250-78d2-460d-ac08-4f15544e43e1', 'SAV-3-51', 'a1f1ed73-0522-4ae7-a510-98288f6c8994', 3, 0.0, true);

-- Member: MANAF SUPONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4af76ed0-e54c-430a-bddb-6e8c5756cc78', 'member57@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MANAF SUPONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a6a77225-6c7c-4627-bc8b-fd4475dc1327', '4af76ed0-e54c-430a-bddb-6e8c5756cc78', '52', '52', 'MANAF SUPONO', 'NIK-52', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8bd3788d-c2b4-414b-a0ff-cc69da5a7a7d', 'SAV-1-52', 'a6a77225-6c7c-4627-bc8b-fd4475dc1327', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('66ade696-eba6-4f6b-bced-f1c41ff33de8', 'SAV-2-52', 'a6a77225-6c7c-4627-bc8b-fd4475dc1327', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3de60c9e-d90f-47cd-951e-f0b68daea2ea', 'TRX-WAJIB-52', '66ade696-eba6-4f6b-bced-f1c41ff33de8', 'a6a77225-6c7c-4627-bc8b-fd4475dc1327', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('67cfa766-02f6-4570-b292-a594c82f0455', 'SAV-3-52', 'a6a77225-6c7c-4627-bc8b-fd4475dc1327', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ed20af74-ed46-4b47-bea7-7c179f6d8454', 'TRX-SUKARELA-52', '67cfa766-02f6-4570-b292-a594c82f0455', 'a6a77225-6c7c-4627-bc8b-fd4475dc1327', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: HERIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8f193773-718a-46a6-b04b-9cc8051c496a', 'member58@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fc4d044b-f4d8-40a6-9d3d-3ee0dac5d6d4', '8f193773-718a-46a6-b04b-9cc8051c496a', '53', '53', 'HERIAWAN', 'NIK-53', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('22e2b462-6efa-418f-816a-0a9f44aeca4f', 'SAV-1-53', 'fc4d044b-f4d8-40a6-9d3d-3ee0dac5d6d4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('609876cc-70c4-441a-b2ad-0964d87e3999', 'SAV-2-53', 'fc4d044b-f4d8-40a6-9d3d-3ee0dac5d6d4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('51bf8221-4874-48d5-bf25-76149312fc34', 'TRX-WAJIB-53', '609876cc-70c4-441a-b2ad-0964d87e3999', 'fc4d044b-f4d8-40a6-9d3d-3ee0dac5d6d4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8fa05ebe-cb5a-4202-bd5a-240efc0b107b', 'SAV-3-53', 'fc4d044b-f4d8-40a6-9d3d-3ee0dac5d6d4', 3, 0.0, true);

-- Member: AHMAD SUBAKTI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2c919b7c-3b55-4708-aeb3-98edc216a13d', 'member59@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AHMAD SUBAKTI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e850a216-a523-4e29-bd58-53c7433a6bde', '2c919b7c-3b55-4708-aeb3-98edc216a13d', '54', '54', 'AHMAD SUBAKTI', 'NIK-54', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d0ad14a2-883f-4820-ab75-a7ceb33e1c1c', 'SAV-1-54', 'e850a216-a523-4e29-bd58-53c7433a6bde', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('86a955d1-778b-473c-ae8d-4dca294d13a1', 'SAV-2-54', 'e850a216-a523-4e29-bd58-53c7433a6bde', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('526c673e-7ff2-404d-b7db-aac3fb5ec92c', 'TRX-WAJIB-54', '86a955d1-778b-473c-ae8d-4dca294d13a1', 'e850a216-a523-4e29-bd58-53c7433a6bde', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('45691690-ef0e-48ef-8c5c-bdc9d84ad3aa', 'SAV-3-54', 'e850a216-a523-4e29-bd58-53c7433a6bde', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('35519443-b8e3-41aa-84ac-3f6fabdb9b95', 'TRX-SUKARELA-54', '45691690-ef0e-48ef-8c5c-bdc9d84ad3aa', 'e850a216-a523-4e29-bd58-53c7433a6bde', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: AHMAD FAUZAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b655f509-a023-46fb-975c-6b295b26c125', 'member60@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AHMAD FAUZAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('97c47bd3-4b5f-4591-a57e-7ac6af68083f', 'b655f509-a023-46fb-975c-6b295b26c125', '55', '55', 'AHMAD FAUZAN', 'NIK-55', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d79317e7-f53b-456d-b45b-7f386a1cdf7f', 'SAV-1-55', '97c47bd3-4b5f-4591-a57e-7ac6af68083f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dd834b55-037e-4bbd-b909-324285754d83', 'SAV-2-55', '97c47bd3-4b5f-4591-a57e-7ac6af68083f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3739a995-d4e2-4775-b279-35f5e40f3fea', 'TRX-WAJIB-55', 'dd834b55-037e-4bbd-b909-324285754d83', '97c47bd3-4b5f-4591-a57e-7ac6af68083f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('787d06ba-b700-4ef7-a485-2016db54d070', 'SAV-3-55', '97c47bd3-4b5f-4591-a57e-7ac6af68083f', 3, 0.0, true);

-- Member: IRFAN DODY
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('fc10a412-cae2-4a12-bfff-b419eeb8d656', 'member61@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IRFAN DODY', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('02bf904f-5acb-4925-9d58-0b582ffac5c7', 'fc10a412-cae2-4a12-bfff-b419eeb8d656', '56', '56', 'IRFAN DODY', 'NIK-56', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e817f03e-274a-42df-a716-c20245bed701', 'SAV-1-56', '02bf904f-5acb-4925-9d58-0b582ffac5c7', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5306256d-4bfe-439c-9b1c-dadc2e971221', 'SAV-2-56', '02bf904f-5acb-4925-9d58-0b582ffac5c7', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('582fe399-cbd3-42bf-836d-138c85e5a84e', 'TRX-WAJIB-56', '5306256d-4bfe-439c-9b1c-dadc2e971221', '02bf904f-5acb-4925-9d58-0b582ffac5c7', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dcdbdd21-dae6-45d0-8814-fd71c5f0a1f2', 'SAV-3-56', '02bf904f-5acb-4925-9d58-0b582ffac5c7', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9fd94160-f782-43d6-b0fb-5616b9f71cdf', 'LOAN-56-bed1626b', '02bf904f-5acb-4925-9d58-0b582ffac5c7', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15000000.0, 30, 'Migrasi Data', 'disbursed', 15000000.0, 15000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('410d161a-6493-4213-af9e-8f3304913f38', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 1, '2025-01-28', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77c90f81-802a-464d-8137-8561bf998f0d', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 2, '2025-02-27', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea95fbbc-4701-4154-b660-93f9a43e9cdb', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 3, '2025-03-29', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51cbe03d-a7c6-47c7-b709-c50117dc1eb6', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 4, '2025-04-28', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab505eee-7c85-4f45-8380-69e88917f5f1', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 5, '2025-05-28', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6d94ad2-ee32-4600-9fee-99367a2a3f52', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 6, '2025-06-27', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b4c13e0-e76d-49ed-9973-1d4f51f31313', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 7, '2025-07-27', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31d640e0-3989-4de9-8eaa-9898e8e3054f', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 8, '2025-08-26', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b01f665c-3bf9-4d61-afba-7ec97b64a714', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 9, '2025-09-25', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85eb1855-3832-4f26-b42f-49808f593044', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 10, '2025-10-25', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('04161bcf-8369-4886-af23-eaca4d7849f8', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 11, '2025-11-24', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efd1b696-6596-4ddf-9fdf-d4cebc11b78c', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 12, '2025-12-24', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('27ab3011-243a-4a23-928b-b6ab94a9b4ae', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 13, '2026-01-23', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3ad974c-4c08-4b73-bbab-9ea05626116d', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 14, '2026-02-22', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e53c4157-88aa-49e5-ba1f-7b5c29ebcb5b', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 15, '2026-03-24', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bd418737-d23b-4613-ae07-d301ed3a0254', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 16, '2026-04-23', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e567880c-b9dd-4b57-9dab-bff8f33bfd73', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 17, '2026-05-23', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a719b69d-df06-48d8-a6b4-cce8c2fc544f', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 18, '2026-06-22', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c5aae06-07a9-4a17-b8ee-7a3cb720822d', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 19, '2026-07-22', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('decea1f4-95e3-4dcc-ba5d-482cdf2cb916', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 20, '2026-08-21', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b5cdad3-8201-4ad5-a1a1-35934d0a1f75', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 21, '2026-09-20', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a2d0a97e-8eb7-4746-8c7e-b1321993fa03', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 22, '2026-10-20', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a41dee4e-0c96-494e-8883-070bb4caf7e6', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 23, '2026-11-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d41d6f30-a9b1-4611-9aab-434f691712eb', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 24, '2026-12-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b1271c0-e93b-47de-9a40-6f804da52eec', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 25, '2027-01-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7feee9d1-eec0-4e97-af5b-d6a1fdb100e1', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 26, '2027-02-17', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2aaf98b6-0cb2-4eed-a3f2-6cbccaf6d0e4', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 27, '2027-03-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e5edc5a-c945-4432-bdba-638e9669a6cc', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 28, '2027-04-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('363b7422-dc72-4bf4-aae5-e61657651bce', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 29, '2027-05-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22badbd1-51a5-4579-a9a5-ad078fb9a1b3', '9fd94160-f782-43d6-b0fb-5616b9f71cdf', 30, '2027-06-17', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');

-- Member: SODIKIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('133a9fd1-467d-43df-89c7-06355eaad574', 'member62@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SODIKIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', '133a9fd1-467d-43df-89c7-06355eaad574', '57', '57', 'SODIKIN', 'NIK-57', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ff11ea32-9b36-4914-89ef-10352f03a383', 'SAV-1-57', '8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('be556cbd-0f42-427b-a7fe-cfec9d3ad11f', 'SAV-2-57', '8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('19e67f5e-ffb1-44f4-9e6d-ae35597c1fb0', 'TRX-WAJIB-57', 'be556cbd-0f42-427b-a7fe-cfec9d3ad11f', '8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7f8e8bd1-99d6-4156-9b4d-b644169b2b1d', 'SAV-3-57', '8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a6dc105e-219e-4590-8a96-61fa43b9a189', 'TRX-SUKARELA-57', '7f8e8bd1-99d6-4156-9b4d-b644169b2b1d', '8eb2bc89-61c0-4307-bd5e-80b89f5cf90b', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: DEDE SULAEMAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a5e03036-2c63-4730-a129-9286b52d31df', 'member63@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DEDE SULAEMAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('1ee10e56-4d24-4e60-abfa-a325e24851dc', 'a5e03036-2c63-4730-a129-9286b52d31df', '58', '58', 'DEDE SULAEMAN', 'NIK-58', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1f52b794-23a7-4e01-9430-368b41518793', 'SAV-1-58', '1ee10e56-4d24-4e60-abfa-a325e24851dc', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f013ba78-affa-473a-b035-f7196e74e29d', 'SAV-2-58', '1ee10e56-4d24-4e60-abfa-a325e24851dc', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('14f64e0e-17eb-4164-b788-be23865dbe0b', 'TRX-WAJIB-58', 'f013ba78-affa-473a-b035-f7196e74e29d', '1ee10e56-4d24-4e60-abfa-a325e24851dc', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('831e21e8-7070-46e4-b031-9b6a65b69583', 'SAV-3-58', '1ee10e56-4d24-4e60-abfa-a325e24851dc', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('df442016-f62b-4dcb-9d92-8f0899195f7b', 'TRX-SUKARELA-58', '831e21e8-7070-46e4-b031-9b6a65b69583', '1ee10e56-4d24-4e60-abfa-a325e24851dc', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: LEGA MACHDITIAR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('df551b82-4c09-48bf-808d-9966f4c458cd', 'member64@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'LEGA MACHDITIAR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d611a4d3-7498-4064-8277-826c151b29eb', 'df551b82-4c09-48bf-808d-9966f4c458cd', '59', '59', 'LEGA MACHDITIAR', 'NIK-59', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7c77e4f3-734c-4862-8f31-260cfdba3284', 'SAV-1-59', 'd611a4d3-7498-4064-8277-826c151b29eb', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('80f00213-9452-4f8a-a05b-4ccb0e3e76ea', 'SAV-2-59', 'd611a4d3-7498-4064-8277-826c151b29eb', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('66893ac2-910e-4c69-a954-a875490d3a32', 'TRX-WAJIB-59', '80f00213-9452-4f8a-a05b-4ccb0e3e76ea', 'd611a4d3-7498-4064-8277-826c151b29eb', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ce5cf7ea-bb4d-4111-a5ca-68d84d2f37d2', 'SAV-3-59', 'd611a4d3-7498-4064-8277-826c151b29eb', 3, 0.0, true);

-- Member: HASANUDIN.
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('143c10bc-476e-45e2-bb08-3a54f749c680', 'member65@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HASANUDIN.', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e3015190-31f7-4759-8cc3-1b5280f9796b', '143c10bc-476e-45e2-bb08-3a54f749c680', '60', '60', 'HASANUDIN.', 'NIK-60', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('53ea651e-edab-4c01-8c90-5efa5ee7ff6e', 'SAV-1-60', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('14d4271e-bf63-404a-a587-1e29d0a6e613', 'TRX-POKOK-60', '53ea651e-edab-4c01-8c90-5efa5ee7ff6e', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c790cad3-a789-4117-b03a-7fa40f3e25a7', 'SAV-2-60', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('504d4c75-4f27-4312-b4d4-8017a1095874', 'TRX-WAJIB-60', 'c790cad3-a789-4117-b03a-7fa40f3e25a7', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c4c0029b-c5f8-4b0a-b7b2-f94a6f0fec3e', 'SAV-3-60', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d24e35e4-f8d3-4c6b-ae70-bfdb3c326497', 'TRX-SUKARELA-60', 'c4c0029b-c5f8-4b0a-b7b2-f94a6f0fec3e', 'e3015190-31f7-4759-8cc3-1b5280f9796b', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('d83411d8-d5dd-4c2d-8612-f4151a0824ea', 'LOAN-60-5b455cf7', 'e3015190-31f7-4759-8cc3-1b5280f9796b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 32000000.0, 20, 'Migrasi Data', 'disbursed', 32000000.0, 32000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5ffcbb0-6ab6-4e81-bccd-b306ee802931', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 1, '2025-10-25', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff655fd7-e73c-43a9-8790-9bab404395c6', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 2, '2025-11-24', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9edbc41c-b489-4b17-8289-04c3120e048e', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 3, '2025-12-24', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4bd6aed1-b209-45e1-8ec6-656e3a0180ff', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 4, '2026-01-23', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('34dd2c97-5cdb-45b5-9e77-7f2899fc65c1', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 5, '2026-02-22', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efe5ea8f-4911-4acd-a938-21d1d24f3efd', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 6, '2026-03-24', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('318d2ae9-7009-4798-b002-90a70aa466b1', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 7, '2026-04-23', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('91a38d5c-69a1-4943-a99d-90c4520d70aa', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 8, '2026-05-23', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc9c2fb7-cbc5-4c59-92dd-810af1d7421e', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 9, '2026-06-22', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1445dee0-b864-496c-9b2b-4786cb260421', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 10, '2026-07-22', 1600000.0, 480000.0, 2080000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff82518c-4da1-43b9-8791-99a9b5b7f6c9', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 11, '2026-08-21', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('537cd708-cf4f-4c36-a466-bd51a07e50ea', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 12, '2026-09-20', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9010464-f93b-49ea-abdb-fbf7bd2f4c78', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 13, '2026-10-20', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ed6df88-99df-4c9d-82d1-9b0429b7b7c0', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 14, '2026-11-19', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7b683fe-9ebf-41db-b007-e28e4e5d9443', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 15, '2026-12-19', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3e152e4-f210-4004-8e03-81a99e837abf', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 16, '2027-01-18', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28ce7aed-1eba-4d5f-913b-9fdbbd64bacc', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 17, '2027-02-17', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d526ec6e-1a81-4131-b14c-eef7bc55bc5f', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 18, '2027-03-19', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51bb2e27-c865-49b3-96b1-0abe0f7d45d4', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 19, '2027-04-18', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3352fa3b-72ce-4fe1-bf86-2b541e2dce86', 'd83411d8-d5dd-4c2d-8612-f4151a0824ea', 20, '2027-05-18', 1600000.0, 480000.0, 2080000.0, 0, NULL, 'unpaid');

-- Member: DANIEL GINTING SUKA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8d7ee95f-32c6-452c-95d4-55d1a5cbd252', 'member66@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DANIEL GINTING SUKA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f516e0e6-5b29-4510-b210-87983f9af891', '8d7ee95f-32c6-452c-95d4-55d1a5cbd252', '61', '61', 'DANIEL GINTING SUKA', 'NIK-61', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('77f31d28-f336-4ef2-aac5-b6010b07b576', 'SAV-1-61', 'f516e0e6-5b29-4510-b210-87983f9af891', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fd4cc055-9f08-4f95-927a-07f9cd7c8e8e', 'SAV-2-61', 'f516e0e6-5b29-4510-b210-87983f9af891', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6bcda105-c83d-4ffc-af54-b25acf484948', 'TRX-WAJIB-61', 'fd4cc055-9f08-4f95-927a-07f9cd7c8e8e', 'f516e0e6-5b29-4510-b210-87983f9af891', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1d5b1da1-1e5b-4d03-8056-dd67d0f8d00f', 'SAV-3-61', 'f516e0e6-5b29-4510-b210-87983f9af891', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a6ba40e6-2b0b-46fb-adca-560a545849d5', 'TRX-SUKARELA-61', '1d5b1da1-1e5b-4d03-8056-dd67d0f8d00f', 'f516e0e6-5b29-4510-b210-87983f9af891', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');

-- Member: DENDI YUDITHIA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('de6e0833-b4d4-41a5-b010-8b14bc5daf5a', 'member67@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DENDI YUDITHIA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ff39dd81-f2cb-4362-aa59-291822a05682', 'de6e0833-b4d4-41a5-b010-8b14bc5daf5a', '62', '62', 'DENDI YUDITHIA', 'NIK-62', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e14d5332-3c09-45d1-a7da-97f7af7f155f', 'SAV-1-62', 'ff39dd81-f2cb-4362-aa59-291822a05682', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dc1385e4-81a8-4cdf-8abc-7ce876af6f34', 'SAV-2-62', 'ff39dd81-f2cb-4362-aa59-291822a05682', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fcd8613d-fba0-4a39-84f2-064657511e90', 'TRX-WAJIB-62', 'dc1385e4-81a8-4cdf-8abc-7ce876af6f34', 'ff39dd81-f2cb-4362-aa59-291822a05682', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1c0eec01-d9a5-49f8-b541-b5228009283e', 'SAV-3-62', 'ff39dd81-f2cb-4362-aa59-291822a05682', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('58420d50-e0ef-4a77-99ad-7fd3c91e3dd7', 'TRX-SUKARELA-62', '1c0eec01-d9a5-49f8-b541-b5228009283e', 'ff39dd81-f2cb-4362-aa59-291822a05682', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: TAUFIQ PRAYOGI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3a9015f7-2eea-44ce-bc08-5d57984e2616', 'member68@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'TAUFIQ PRAYOGI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', '3a9015f7-2eea-44ce-bc08-5d57984e2616', '63', '63', 'TAUFIQ PRAYOGI', 'NIK-63', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3709cea7-c378-4388-b417-93f541c63eff', 'SAV-1-63', 'ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2ac1d55d-8d98-4c3e-b689-9b59fedeec70', 'SAV-2-63', 'ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0d32f643-d7f6-4cc4-874b-9147b779a491', 'TRX-WAJIB-63', '2ac1d55d-8d98-4c3e-b689-9b59fedeec70', 'ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1ce1dd7b-9764-4809-a036-f97915809a63', 'SAV-3-63', 'ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2fecbe48-b5c8-4207-b582-1a58af31c745', 'TRX-SUKARELA-63', '1ce1dd7b-9764-4809-a036-f97915809a63', 'ea8b8b6b-3838-4747-bd35-d6ad1a92f8c4', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: RIYAN MULYANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('efd1a7cc-003b-4594-bdbb-7363c8220fe3', 'member69@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIYAN MULYANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f23e4935-56ee-41be-9305-e572862f53a5', 'efd1a7cc-003b-4594-bdbb-7363c8220fe3', '64', '64', 'RIYAN MULYANA', 'NIK-64', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a7e3226b-f619-4360-b00a-70e0d84bcf3d', 'SAV-1-64', 'f23e4935-56ee-41be-9305-e572862f53a5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b199a918-b9a7-4a2f-b7b2-0ee0b85195b5', 'SAV-2-64', 'f23e4935-56ee-41be-9305-e572862f53a5', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('59fbb304-e9b0-40cd-b62a-cd30b817e0bf', 'TRX-WAJIB-64', 'b199a918-b9a7-4a2f-b7b2-0ee0b85195b5', 'f23e4935-56ee-41be-9305-e572862f53a5', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c045ffd6-e82e-4e06-9818-0222655c8b4d', 'SAV-3-64', 'f23e4935-56ee-41be-9305-e572862f53a5', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('71e85ef2-a227-405e-a05d-b66a86569b04', 'TRX-SUKARELA-64', 'c045ffd6-e82e-4e06-9818-0222655c8b4d', 'f23e4935-56ee-41be-9305-e572862f53a5', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('652bb9a7-d070-49a7-bacf-8e6cf52bf1db', 'ORD-64-0d859674', 'f23e4935-56ee-41be-9305-e572862f53a5', 456500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SAMSUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7c4b8e6d-3269-44c2-bd59-a3c33a89956f', 'member70@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SAMSUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('b84f66da-3099-4e9a-8b37-c81815fbb200', '7c4b8e6d-3269-44c2-bd59-a3c33a89956f', '65', '65', 'SAMSUDIN', 'NIK-65', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4a94268f-c8fd-4b8d-82f5-b75910c5859a', 'SAV-1-65', 'b84f66da-3099-4e9a-8b37-c81815fbb200', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('16ca92ce-d38c-4b25-965c-558952e46757', 'SAV-2-65', 'b84f66da-3099-4e9a-8b37-c81815fbb200', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('570cda21-9879-444d-b422-374bae348731', 'TRX-WAJIB-65', '16ca92ce-d38c-4b25-965c-558952e46757', 'b84f66da-3099-4e9a-8b37-c81815fbb200', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('06b85b5c-39ad-4806-80ce-b4f11eabcb7e', 'SAV-3-65', 'b84f66da-3099-4e9a-8b37-c81815fbb200', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dbf686ac-cfe3-4ca5-aa34-18ee0261d9e9', 'TRX-SUKARELA-65', '06b85b5c-39ad-4806-80ce-b4f11eabcb7e', 'b84f66da-3099-4e9a-8b37-c81815fbb200', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: HENDRIK KOMARA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6c1343cd-51bf-4c47-ac25-7baa2502fdf2', 'member71@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HENDRIK KOMARA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('58899a51-13b4-4619-ad73-cb5acc84b155', '6c1343cd-51bf-4c47-ac25-7baa2502fdf2', '66', '66', 'HENDRIK KOMARA', 'NIK-66', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d785163f-f6d2-4527-ae04-63ebaf75510f', 'SAV-1-66', '58899a51-13b4-4619-ad73-cb5acc84b155', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('40a43d20-4702-453a-8b33-b9bb8d472929', 'TRX-POKOK-66', 'd785163f-f6d2-4527-ae04-63ebaf75510f', '58899a51-13b4-4619-ad73-cb5acc84b155', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a8adafe8-e998-48a3-8c96-88fa9e3697c8', 'SAV-2-66', '58899a51-13b4-4619-ad73-cb5acc84b155', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('95c7bce7-6787-461f-bd19-832da74a59dc', 'TRX-WAJIB-66', 'a8adafe8-e998-48a3-8c96-88fa9e3697c8', '58899a51-13b4-4619-ad73-cb5acc84b155', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f19158c-d1fd-45df-af05-f309ba893699', 'SAV-3-66', '58899a51-13b4-4619-ad73-cb5acc84b155', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7d6bc0e8-d151-4b43-ab7c-78f5477b552f', 'TRX-SUKARELA-66', '3f19158c-d1fd-45df-af05-f309ba893699', '58899a51-13b4-4619-ad73-cb5acc84b155', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: HERYULI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2571ee23-ce3e-47b9-81ca-09a1e6ee7bf7', 'member72@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERYULI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('cec2ef1a-49e8-40c9-9190-229b62f33d5d', '2571ee23-ce3e-47b9-81ca-09a1e6ee7bf7', '67', '67', 'HERYULI', 'NIK-67', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('244854cc-9b08-4b6c-a762-ad98da9c811b', 'SAV-1-67', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('123643ef-3f58-426f-8edd-8bd22255b1e2', 'SAV-2-67', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('07443842-baf2-4f8b-a91f-17551f3aeed3', 'TRX-WAJIB-67', '123643ef-3f58-426f-8edd-8bd22255b1e2', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('85bf1eda-7f52-41e8-bc70-c7242d312446', 'SAV-3-67', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('57bbd3d4-530c-46fb-a841-40ab5b2e26ba', 'TRX-SUKARELA-67', '85bf1eda-7f52-41e8-bc70-c7242d312446', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 'LOAN-67-d46ae863', 'cec2ef1a-49e8-40c9-9190-229b62f33d5d', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 30, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a0a4f94d-9cf4-4e48-bd42-7d47350b8608', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 1, '2025-06-27', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e40e9b7-e011-4317-8512-9daa73e54046', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 2, '2025-07-27', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6fd810eb-3583-4249-ad49-8011a31ca9ac', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 3, '2025-08-26', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f15b0f5-84f7-4a01-9431-a0cf7ef01f02', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 4, '2025-09-25', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d09d5d30-f293-4823-9a73-61334c0f04f3', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 5, '2025-10-25', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81a0d791-a596-4699-8189-23bc444b4777', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 6, '2025-11-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8afeefa4-4c30-4d16-8d8a-3d8be057ba95', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 7, '2025-12-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49e9d51f-bc5e-461c-80f5-cf1c9a764e9e', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 8, '2026-01-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49744983-9dac-4de1-9c88-35227ac1bafa', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 9, '2026-02-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be4c29d9-a8d1-4898-b135-2c53e22f552c', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 10, '2026-03-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c46cb23b-3d20-49f7-bdae-5c8f4276d2b1', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 11, '2026-04-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f647ac0-200c-424d-b8b7-14be7ba54d19', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 12, '2026-05-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d2288d4d-4e0c-458d-8615-f70e991a07eb', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 13, '2026-06-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f661dfc7-53af-4f36-a0d9-e87c0df61683', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 14, '2026-07-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5fcaf3b4-1d19-430d-9e06-db5c8587b8c5', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 15, '2026-08-21', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99f23cf4-0a61-4351-aeed-113bbd04969b', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 16, '2026-09-20', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9c802f3c-064c-40a3-96b7-38068edfa593', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 17, '2026-10-20', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('880a465f-2d03-4282-896b-14d8f631338c', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 18, '2026-11-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b36d7351-a19b-40a5-a1d2-2562cb68e758', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 19, '2026-12-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df66778c-d271-44e6-8038-64b0efc2e7cf', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 20, '2027-01-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e515256-60db-4098-8f8e-16c68baa57ef', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 21, '2027-02-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d518935-caa0-400b-b6fc-931778e13aec', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 22, '2027-03-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('331aa865-42bb-478e-96a3-16d64d666d50', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 23, '2027-04-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25d9dd30-d430-4c31-9dcc-954025a329c7', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 24, '2027-05-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('65294320-b963-42b1-bc97-62f23c75ab7a', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 25, '2027-06-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('71365395-3eae-4c17-818c-d0ca3b75fcdd', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 26, '2027-07-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f2864dd-0592-4b3a-b29b-03d1c998e640', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 27, '2027-08-16', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4e16b26-e71a-4776-8688-7d2347a44c80', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 28, '2027-09-15', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e2dc987-5a16-434e-8661-609557f7f339', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 29, '2027-10-15', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73c0cc7b-6f5c-4ee0-89f2-0a1575a7713c', '6ef17b53-5c42-4ca6-a3f8-9111e0e88dd6', 30, '2027-11-14', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');

-- Member: SHINTA RIANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4f066a97-ed0f-415a-871c-c259ae14fa14', 'member73@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SHINTA RIANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('90a75366-d4f2-4448-877d-f623c17f1b67', '4f066a97-ed0f-415a-871c-c259ae14fa14', '68', '68', 'SHINTA RIANI', 'NIK-68', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0bfe2bcc-dcc2-438e-bc37-6cfa5d82b584', 'SAV-1-68', '90a75366-d4f2-4448-877d-f623c17f1b67', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3966bbd6-8568-4594-8365-2deabd810c98', 'SAV-2-68', '90a75366-d4f2-4448-877d-f623c17f1b67', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e54129c5-03bd-43da-ba8b-74137b336d64', 'TRX-WAJIB-68', '3966bbd6-8568-4594-8365-2deabd810c98', '90a75366-d4f2-4448-877d-f623c17f1b67', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ee4ccfa3-bcae-4c99-82d5-f3d04e03a413', 'SAV-3-68', '90a75366-d4f2-4448-877d-f623c17f1b67', 3, 500000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6023836d-4299-46a6-9d5f-275c8e87ec26', 'TRX-SUKARELA-68', 'ee4ccfa3-bcae-4c99-82d5-f3d04e03a413', '90a75366-d4f2-4448-877d-f623c17f1b67', 'deposit', 500000.0, 0, 500000.0, 'Saldo Awal Migrasi');

-- Member: ASEP AHMAD ZAELANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('455a3986-4b10-4d23-99d2-c42039c58ce5', 'member74@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ASEP AHMAD ZAELANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', '455a3986-4b10-4d23-99d2-c42039c58ce5', '69', '69', 'ASEP AHMAD ZAELANI', 'NIK-69', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7a2c17f8-1015-4b95-95d1-e6c348397e97', 'SAV-1-69', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('06d12635-e9bd-4bb2-8d7d-ef13ec2281a0', 'TRX-POKOK-69', '7a2c17f8-1015-4b95-95d1-e6c348397e97', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('20be3eca-81e7-47fa-b6e6-ca620eaac79c', 'SAV-2-69', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0b0e3ab0-6aa0-40c9-a3e2-48d51aca328f', 'TRX-WAJIB-69', '20be3eca-81e7-47fa-b6e6-ca620eaac79c', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d088411e-6f47-4539-bee5-890d710b071b', 'SAV-3-69', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('49fea0be-2d99-49a6-882c-45e2cb87108f', 'TRX-SUKARELA-69', 'd088411e-6f47-4539-bee5-890d710b071b', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('c064638c-dbc4-4902-8690-8ea764b86b81', 'LOAN-69-5caee9ef', 'c2aaacbc-ebe3-4478-8940-469dcd6fe9ed', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 20, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0479a79c-4ed9-4e27-bae0-f634f657cc9e', 'c064638c-dbc4-4902-8690-8ea764b86b81', 1, '2025-11-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2101eff7-3fac-4ce9-b72a-b40333e8d94d', 'c064638c-dbc4-4902-8690-8ea764b86b81', 2, '2025-12-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5dcbf40d-b99a-44bf-8b87-47d8cd06d0b9', 'c064638c-dbc4-4902-8690-8ea764b86b81', 3, '2026-01-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3751f606-d477-4599-a369-47d458725abb', 'c064638c-dbc4-4902-8690-8ea764b86b81', 4, '2026-02-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fddb6ec6-a223-4da1-b4e9-c0150a76251e', 'c064638c-dbc4-4902-8690-8ea764b86b81', 5, '2026-03-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a90b1492-0bc2-46f3-89dc-09f27d0b061d', 'c064638c-dbc4-4902-8690-8ea764b86b81', 6, '2026-04-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8dc71ac6-846d-444d-9723-f525f01724ac', 'c064638c-dbc4-4902-8690-8ea764b86b81', 7, '2026-05-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9139065b-7d66-45b6-9062-6f7df7d1397a', 'c064638c-dbc4-4902-8690-8ea764b86b81', 8, '2026-06-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d746151-8e85-4d24-89b7-50ddec5480a0', 'c064638c-dbc4-4902-8690-8ea764b86b81', 9, '2026-07-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('077b30e2-516c-44d8-8d07-15cf802a98bf', 'c064638c-dbc4-4902-8690-8ea764b86b81', 10, '2026-08-21', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44c84673-649e-435b-ac24-6f954d1f708f', 'c064638c-dbc4-4902-8690-8ea764b86b81', 11, '2026-09-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f62b5c6-051d-462c-b067-83134bdad5fe', 'c064638c-dbc4-4902-8690-8ea764b86b81', 12, '2026-10-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8fb83452-18bc-4ef7-aed4-692119799374', 'c064638c-dbc4-4902-8690-8ea764b86b81', 13, '2026-11-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efe4ecdc-cd6a-4246-a4b8-3c67368fa9ef', 'c064638c-dbc4-4902-8690-8ea764b86b81', 14, '2026-12-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c47e8b46-d18e-4997-8dde-ee89a73417fe', 'c064638c-dbc4-4902-8690-8ea764b86b81', 15, '2027-01-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d2b6d382-6d7b-4cbd-b472-6ac43d885dc9', 'c064638c-dbc4-4902-8690-8ea764b86b81', 16, '2027-02-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b7c5f7d7-d608-447a-bfd5-f99c91959a03', 'c064638c-dbc4-4902-8690-8ea764b86b81', 17, '2027-03-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa25b6eb-f059-4f89-ab81-9c3c8282c757', 'c064638c-dbc4-4902-8690-8ea764b86b81', 18, '2027-04-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ddc4e70-47f4-425f-a69a-2a5e18f1f7ac', 'c064638c-dbc4-4902-8690-8ea764b86b81', 19, '2027-05-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('29fe87f2-109e-4091-b31b-af9e1f3e0323', 'c064638c-dbc4-4902-8690-8ea764b86b81', 20, '2027-06-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');

-- Member: KIDANA SOFIDARATNA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('bc6e1de4-66ed-4f72-b613-2ca35e85261a', 'member75@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KIDANA SOFIDARATNA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('135d4df3-864b-4dbe-a0c3-7d3786d909df', 'bc6e1de4-66ed-4f72-b613-2ca35e85261a', '70', '70', 'KIDANA SOFIDARATNA', 'NIK-70', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ff4197f2-6f92-4c2a-a0df-7f037dad7096', 'SAV-1-70', '135d4df3-864b-4dbe-a0c3-7d3786d909df', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('92fbcab5-5a5b-4c29-af70-ef3df725ff78', 'SAV-2-70', '135d4df3-864b-4dbe-a0c3-7d3786d909df', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bfe6b197-6086-4e1a-b95a-7f5ed58c02d4', 'TRX-WAJIB-70', '92fbcab5-5a5b-4c29-af70-ef3df725ff78', '135d4df3-864b-4dbe-a0c3-7d3786d909df', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5bc4f46f-486c-4fba-b87c-d7f0b59be232', 'SAV-3-70', '135d4df3-864b-4dbe-a0c3-7d3786d909df', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5e2c89ca-dec4-4a0f-997d-4846c7075212', 'TRX-SUKARELA-70', '5bc4f46f-486c-4fba-b87c-d7f0b59be232', '135d4df3-864b-4dbe-a0c3-7d3786d909df', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('2b27b3e8-f196-476d-bd46-5de15efa980f', 'LOAN-70-725cd14c', '135d4df3-864b-4dbe-a0c3-7d3786d909df', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3960000.0, 36, 'Migrasi Data', 'disbursed', 3960000.0, 3960000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d700e3ca-6ea4-44da-a5d6-71ae10b982b0', '2b27b3e8-f196-476d-bd46-5de15efa980f', 1, '2025-08-26', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f1d61e9-b343-4bbd-b992-059323ba7053', '2b27b3e8-f196-476d-bd46-5de15efa980f', 2, '2025-09-25', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2acf939e-28d4-4bc0-9ccb-f8ef95ad5d39', '2b27b3e8-f196-476d-bd46-5de15efa980f', 3, '2025-10-25', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f81d5618-b75f-4a74-8f43-b78fa5c6c40c', '2b27b3e8-f196-476d-bd46-5de15efa980f', 4, '2025-11-24', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ebaaac6-8f81-4e06-84d4-3dac401162cb', '2b27b3e8-f196-476d-bd46-5de15efa980f', 5, '2025-12-24', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b3fab7d-24fd-4c0f-8851-1be148d339a6', '2b27b3e8-f196-476d-bd46-5de15efa980f', 6, '2026-01-23', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b408ad5-acc1-4ad2-80f2-5e0aa496b6dc', '2b27b3e8-f196-476d-bd46-5de15efa980f', 7, '2026-02-22', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1bb83e5-7392-49cc-9168-f5ab26efa31b', '2b27b3e8-f196-476d-bd46-5de15efa980f', 8, '2026-03-24', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12c2225c-cab7-48d1-9e62-db3bb40c259d', '2b27b3e8-f196-476d-bd46-5de15efa980f', 9, '2026-04-23', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dbcb440e-922e-428d-9fc9-f7818c5d958d', '2b27b3e8-f196-476d-bd46-5de15efa980f', 10, '2026-05-23', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('465332d4-00f7-4594-a394-824f9c876808', '2b27b3e8-f196-476d-bd46-5de15efa980f', 11, '2026-06-22', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('471b7f3d-c864-4a9b-8d92-e80c32d7a843', '2b27b3e8-f196-476d-bd46-5de15efa980f', 12, '2026-07-22', 110000.0, 0, 110000.0, 110000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed024fe6-918b-4bd7-9d0b-e1c404f4009c', '2b27b3e8-f196-476d-bd46-5de15efa980f', 13, '2026-08-21', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e4b3c781-10a0-4046-8bd6-f5ef273edafe', '2b27b3e8-f196-476d-bd46-5de15efa980f', 14, '2026-09-20', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d1cc0cd-95f5-4c2d-a1f4-33bc46ac75f4', '2b27b3e8-f196-476d-bd46-5de15efa980f', 15, '2026-10-20', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81b595d2-1439-4d6a-ae44-092c191b8575', '2b27b3e8-f196-476d-bd46-5de15efa980f', 16, '2026-11-19', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5d9a337-9a2c-491d-a987-28c69a21a3bb', '2b27b3e8-f196-476d-bd46-5de15efa980f', 17, '2026-12-19', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0d07d69-94de-4e69-bc26-3e59e8698686', '2b27b3e8-f196-476d-bd46-5de15efa980f', 18, '2027-01-18', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d367fa8-c5d6-420b-86db-4bd5c58c232e', '2b27b3e8-f196-476d-bd46-5de15efa980f', 19, '2027-02-17', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eede0680-8fbe-4a70-89c2-17967d745d03', '2b27b3e8-f196-476d-bd46-5de15efa980f', 20, '2027-03-19', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0bec573e-71ec-4255-8b66-56270c0e79bd', '2b27b3e8-f196-476d-bd46-5de15efa980f', 21, '2027-04-18', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5e7d153-d585-493b-beb3-594c1204e853', '2b27b3e8-f196-476d-bd46-5de15efa980f', 22, '2027-05-18', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('74aaf8b9-03a4-4980-92b6-49da94333d1d', '2b27b3e8-f196-476d-bd46-5de15efa980f', 23, '2027-06-17', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fa387cff-3654-4846-971c-9274726446ef', '2b27b3e8-f196-476d-bd46-5de15efa980f', 24, '2027-07-17', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15035242-6c73-49d2-9252-99f28754c47c', '2b27b3e8-f196-476d-bd46-5de15efa980f', 25, '2027-08-16', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76f5eef4-4210-4ec3-9e52-3f8c541817f3', '2b27b3e8-f196-476d-bd46-5de15efa980f', 26, '2027-09-15', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('566e8bd3-cec4-4fd0-8faa-9fa1d361bc66', '2b27b3e8-f196-476d-bd46-5de15efa980f', 27, '2027-10-15', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c890263b-50d4-49c4-bc4f-0ca3806ccafa', '2b27b3e8-f196-476d-bd46-5de15efa980f', 28, '2027-11-14', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7a8c607c-1f39-449e-99a6-192763b6d278', '2b27b3e8-f196-476d-bd46-5de15efa980f', 29, '2027-12-14', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f2d4ec8-0423-4384-88a8-68b184049371', '2b27b3e8-f196-476d-bd46-5de15efa980f', 30, '2028-01-13', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0bea6a73-1d8a-4e67-b3b1-3ffd7131d7bc', '2b27b3e8-f196-476d-bd46-5de15efa980f', 31, '2028-02-12', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f63ab174-21e6-4ec0-8cad-d5995b83187b', '2b27b3e8-f196-476d-bd46-5de15efa980f', 32, '2028-03-13', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c1c5189-1217-4648-87fe-ac63807b2cf9', '2b27b3e8-f196-476d-bd46-5de15efa980f', 33, '2028-04-12', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47406b36-1049-43d4-971f-7f870bc0c2d6', '2b27b3e8-f196-476d-bd46-5de15efa980f', 34, '2028-05-12', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51807cb4-be79-46b6-ba4e-a23476a57813', '2b27b3e8-f196-476d-bd46-5de15efa980f', 35, '2028-06-11', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a6fd499-9238-4ae0-9b50-6205ae879f16', '2b27b3e8-f196-476d-bd46-5de15efa980f', 36, '2028-07-11', 110000.0, 0, 110000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('794587ab-1b6a-4c03-802a-0453b5d9d3da', 'LOAN-70-39c2e909', '135d4df3-864b-4dbe-a0c3-7d3786d909df', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10260000.0, 36, 'Migrasi Data', 'disbursed', 10260000.0, 10260000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b40b947-1c7d-4875-886d-d226ad0ee9fe', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 1, '2025-02-27', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('324616e0-16d6-454a-8513-7753552e943d', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 2, '2025-03-29', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c7fd51c-f534-4ef6-801a-1807b2b9b231', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 3, '2025-04-28', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8c85d98-197c-43e0-8c0f-8ff017f25c8a', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 4, '2025-05-28', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ccbd1f9-f8db-4716-8bef-a8b5cdb4b21f', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 5, '2025-06-27', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('36fe33db-08dc-4889-8152-41724cb0b471', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 6, '2025-07-27', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7627f75-3e0b-4b37-ad97-6b204e76bf5e', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 7, '2025-08-26', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('30c19171-0397-4153-9d25-2d0afb32cbac', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 8, '2025-09-25', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08300353-b59f-456f-b73f-209713d6dc31', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 9, '2025-10-25', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e29047c-2750-455f-be1f-cfcc128d88cc', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 10, '2025-11-24', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c51ecb4-676f-41cc-a886-9d043006323e', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 11, '2025-12-24', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53689605-3beb-4869-b80d-7bacf6c4198d', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 12, '2026-01-23', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a16fccd8-5ea7-49f5-85c3-a49f3154346f', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 13, '2026-02-22', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b9674c11-2e58-4d74-a558-322b6ee23a65', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 14, '2026-03-24', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b91a4532-16d3-421a-8db7-beb0949b56e1', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 15, '2026-04-23', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('16785c3d-eff9-43a7-8faf-04ac544b2c13', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 16, '2026-05-23', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c388ccb2-7e26-426c-8b81-b47f8097d875', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 17, '2026-06-22', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fec3a68d-eb01-4913-b9f6-a22aa69877aa', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 18, '2026-07-22', 285000.0, 0, 285000.0, 285000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ebac4db0-5ecc-4319-a336-2d93497f3405', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 19, '2026-08-21', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1a2751da-1beb-4a7f-9d4e-2495c115bcb8', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 20, '2026-09-20', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1bc3fdd1-5a9c-4339-a206-a1a0f87799f0', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 21, '2026-10-20', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1f8a1156-7c6f-4ccb-88f9-bb833f135b19', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 22, '2026-11-19', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9cf312c5-5cb9-4f69-9002-e25de29c1f05', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 23, '2026-12-19', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d921189-8090-446e-884a-5dc92fec8e27', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 24, '2027-01-18', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e85ef822-69f8-4dfc-acf4-7da1749e6013', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 25, '2027-02-17', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9aaada8-c1bd-43ae-a9e5-83d52297424c', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 26, '2027-03-19', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49d33070-aede-4b26-aa7c-7bd3261517c8', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 27, '2027-04-18', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59b35bf7-34bc-447e-ab80-f7aa772232bf', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 28, '2027-05-18', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cddb24f0-4b04-4294-9684-9f76e0390e92', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 29, '2027-06-17', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('135a5fd2-2c55-4746-93c7-fa040f671965', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 30, '2027-07-17', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('936e3b75-2d14-4745-8413-ce8a186fcda5', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 31, '2027-08-16', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a2da4c4-b396-46e1-8fd6-4d2eb0cef6e9', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 32, '2027-09-15', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('60d391fb-955b-48af-98dc-2b7fc292621b', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 33, '2027-10-15', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51093cbb-088a-4096-b865-f166d830776f', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 34, '2027-11-14', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('114c6f2a-d42a-46be-8ea3-aa182b57dab2', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 35, '2027-12-14', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62ad64b1-2826-4365-97d4-9421bfca2075', '794587ab-1b6a-4c03-802a-0453b5d9d3da', 36, '2028-01-13', 285000.0, 0, 285000.0, 0, NULL, 'unpaid');

-- Member: MULYADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('047dd3ab-a93e-4986-b5ef-f9ffa4f8d46f', 'member76@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MULYADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('1815e352-ef16-4176-aaa0-5f5fca4f2d4d', '047dd3ab-a93e-4986-b5ef-f9ffa4f8d46f', '71', '71', 'MULYADI', 'NIK-71', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('16920240-2b23-4602-a378-b40d2988ca82', 'SAV-1-71', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4d320b62-51ee-4596-a5e3-123c2a83f8ae', 'SAV-2-71', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fb82f7e6-44ce-48d7-86bc-ec143b64bb74', 'TRX-WAJIB-71', '4d320b62-51ee-4596-a5e3-123c2a83f8ae', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3c539bf6-77a3-4dbf-a360-7a5bfcac99e5', 'SAV-3-71', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('48f0ae44-51cc-450b-8b7b-e0f870120e20', 'TRX-SUKARELA-71', '3c539bf6-77a3-4dbf-a360-7a5bfcac99e5', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('adeb8590-050b-4d14-9a32-015c022a68a1', 'LOAN-71-568a76ee', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 26400000.0, 20, 'Migrasi Data', 'disbursed', 26400000.0, 26400000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('810e9413-32a0-4d0e-8378-19319973b9cd', 'adeb8590-050b-4d14-9a32-015c022a68a1', 1, '2026-02-22', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('452eb824-bc16-431e-b67a-3e7bc122ca03', 'adeb8590-050b-4d14-9a32-015c022a68a1', 2, '2026-03-24', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ef36bf58-2425-4ad2-9898-95b1e9c45821', 'adeb8590-050b-4d14-9a32-015c022a68a1', 3, '2026-04-23', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96373aa0-8a46-4d0f-a45c-1848344a6550', 'adeb8590-050b-4d14-9a32-015c022a68a1', 4, '2026-05-23', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ef93a09-5266-44b6-8b66-bc2cbe1a365f', 'adeb8590-050b-4d14-9a32-015c022a68a1', 5, '2026-06-22', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5942b659-e337-4e7e-8581-973e56c245a8', 'adeb8590-050b-4d14-9a32-015c022a68a1', 6, '2026-07-22', 1320000.0, 396000.0, 1716000.0, 1320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8f48cf8-6d1f-48aa-8455-10cd9674a5b3', 'adeb8590-050b-4d14-9a32-015c022a68a1', 7, '2026-08-21', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e3a2fb9d-7564-478f-b0ef-b2cb6d518ff2', 'adeb8590-050b-4d14-9a32-015c022a68a1', 8, '2026-09-20', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('87771fc7-3308-4356-bb2d-f6f319133f17', 'adeb8590-050b-4d14-9a32-015c022a68a1', 9, '2026-10-20', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1da926f5-5628-40f8-a5f5-20a29f605c9b', 'adeb8590-050b-4d14-9a32-015c022a68a1', 10, '2026-11-19', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a4e64ee-dfda-4ebb-a5f3-492f668de1b6', 'adeb8590-050b-4d14-9a32-015c022a68a1', 11, '2026-12-19', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44d3da32-3894-42a4-997c-e02b531d7930', 'adeb8590-050b-4d14-9a32-015c022a68a1', 12, '2027-01-18', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d4aa48b-f5e5-4891-b0f7-d54e726518f5', 'adeb8590-050b-4d14-9a32-015c022a68a1', 13, '2027-02-17', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63e20106-b5fe-446e-b0ab-9ec297757b4b', 'adeb8590-050b-4d14-9a32-015c022a68a1', 14, '2027-03-19', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1643db8b-b653-4c35-a983-6e10ef22bf82', 'adeb8590-050b-4d14-9a32-015c022a68a1', 15, '2027-04-18', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('909ac94b-5b34-4ce3-b6e2-124d6a90f209', 'adeb8590-050b-4d14-9a32-015c022a68a1', 16, '2027-05-18', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2947aa14-da52-46eb-a202-a7f1b87a3dd1', 'adeb8590-050b-4d14-9a32-015c022a68a1', 17, '2027-06-17', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('34348065-db78-4414-9a39-443a7bd02e88', 'adeb8590-050b-4d14-9a32-015c022a68a1', 18, '2027-07-17', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8d437ad-bd47-4507-b230-7f2722aa41fd', 'adeb8590-050b-4d14-9a32-015c022a68a1', 19, '2027-08-16', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b54420f-73de-4d4a-9125-a52dae8cb556', 'adeb8590-050b-4d14-9a32-015c022a68a1', 20, '2027-09-15', 1320000.0, 396000.0, 1716000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('fef6d21b-3936-4afa-acc7-0d79f366528d', 'LOAN-71-472f9ba0', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3000000.0, 10, 'Migrasi Data', 'disbursed', 3000000.0, 3000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('daee20f6-b4d3-40f8-9305-b46e5fd52265', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 1, '2026-05-23', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a82f44d-722d-4390-92cd-288471399473', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 2, '2026-06-22', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7dbfce5e-2d45-4bfb-91ae-65ba50c37d0c', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 3, '2026-07-22', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('725ecf36-f9ec-44d6-aace-aed550ea4f9c', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 4, '2026-08-21', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e74f12de-2aa3-44fe-9b25-42e85482151f', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 5, '2026-09-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f61a6d78-88e4-4d98-b3a2-3fe0a7dc39c7', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 6, '2026-10-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26476b0e-5529-468b-bef2-92a8152c0d17', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 7, '2026-11-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4be0fe0d-abdc-4e07-b8cb-5c4ebaf5b00c', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 8, '2026-12-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9450142-53f4-4b62-ab2c-e7fae4eb7b7b', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 9, '2027-01-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc5ecc0d-6d9e-4b22-8142-5ed01cf1dee0', 'fef6d21b-3936-4afa-acc7-0d79f366528d', 10, '2027-02-17', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('21a7ea27-c5d5-49c7-ba8c-da75d1fb17e1', 'ORD-71-993f8595', '1815e352-ef16-4176-aaa0-5f5fca4f2d4d', 296000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: MUNAWARUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b7b262bb-401f-4325-9488-6fcfcafceba6', 'member77@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUNAWARUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('4b4b95c4-50ea-4399-b68e-5c54029c584f', 'b7b262bb-401f-4325-9488-6fcfcafceba6', '72', '72', 'MUNAWARUDIN', 'NIK-72', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f35532f6-5733-4265-bbfb-0d13fb57fcc4', 'SAV-1-72', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8e9d8d8c-8f19-485b-a550-271ce4cd7f19', 'SAV-2-72', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('94c45190-8b84-4e77-97c3-82134a9029d7', 'TRX-WAJIB-72', '8e9d8d8c-8f19-485b-a550-271ce4cd7f19', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c1684269-87a2-4afe-bc4a-2eae4b45ce2b', 'SAV-3-72', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e67c1610-7e30-4586-8198-cf322c841ee2', 'TRX-SUKARELA-72', 'c1684269-87a2-4afe-bc4a-2eae4b45ce2b', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('90c46bf8-9b40-4649-b751-503e49f1f240', 'LOAN-72-ae2e1bbc', '4b4b95c4-50ea-4399-b68e-5c54029c584f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 80000000.0, 50, 'Migrasi Data', 'disbursed', 80000000.0, 80000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eae4f36b-5afb-4990-84c8-6ae405e31c0e', '90c46bf8-9b40-4649-b751-503e49f1f240', 1, '2025-10-25', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d00a6c03-67aa-4905-af0a-7459bf9acecb', '90c46bf8-9b40-4649-b751-503e49f1f240', 2, '2025-11-24', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('65b624c7-c2bc-4eae-a8ac-14d9676083a6', '90c46bf8-9b40-4649-b751-503e49f1f240', 3, '2025-12-24', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6603755-2f82-4ef8-a849-0542e76738b4', '90c46bf8-9b40-4649-b751-503e49f1f240', 4, '2026-01-23', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca384b4c-6f81-4a7a-8ad9-c4313fa202d0', '90c46bf8-9b40-4649-b751-503e49f1f240', 5, '2026-02-22', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7358b789-3e52-402d-be35-2a68e597d57d', '90c46bf8-9b40-4649-b751-503e49f1f240', 6, '2026-03-24', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec4dbaea-2407-490c-b8e6-38c4979c7096', '90c46bf8-9b40-4649-b751-503e49f1f240', 7, '2026-04-23', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3976bf19-2d20-47a0-bc0c-e4d2fcd67589', '90c46bf8-9b40-4649-b751-503e49f1f240', 8, '2026-05-23', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7ed8557a-a333-463e-828e-3fe3ae031bdb', '90c46bf8-9b40-4649-b751-503e49f1f240', 9, '2026-06-22', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6313c2a-0d94-4287-9325-c1ce0f95e548', '90c46bf8-9b40-4649-b751-503e49f1f240', 10, '2026-07-22', 1600000.0, 1120000.0, 2720000.0, 1600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d90601c2-74aa-434c-8e1d-afdbffa55c98', '90c46bf8-9b40-4649-b751-503e49f1f240', 11, '2026-08-21', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ca7bf6d-b453-4093-8039-9fdab728ed36', '90c46bf8-9b40-4649-b751-503e49f1f240', 12, '2026-09-20', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b76b46e-7e4e-47ce-b949-f2f697153698', '90c46bf8-9b40-4649-b751-503e49f1f240', 13, '2026-10-20', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6273571e-3b2d-4aba-855a-099f7f6799f5', '90c46bf8-9b40-4649-b751-503e49f1f240', 14, '2026-11-19', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8dc058e-6ea0-4112-8d51-7021b719b2f4', '90c46bf8-9b40-4649-b751-503e49f1f240', 15, '2026-12-19', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('564e4611-fd05-4afb-86c6-fe2f6ac0d290', '90c46bf8-9b40-4649-b751-503e49f1f240', 16, '2027-01-18', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('18767041-c809-473b-8e77-5df10736809d', '90c46bf8-9b40-4649-b751-503e49f1f240', 17, '2027-02-17', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('14ef6a52-6a35-4bcc-900f-d123aee5bac6', '90c46bf8-9b40-4649-b751-503e49f1f240', 18, '2027-03-19', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9de2c515-0701-420f-8f90-16fc017e6d85', '90c46bf8-9b40-4649-b751-503e49f1f240', 19, '2027-04-18', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d7bb180-db41-4c2e-b112-28a303e94395', '90c46bf8-9b40-4649-b751-503e49f1f240', 20, '2027-05-18', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75ba9f17-e427-47bd-987d-0922fe1820b4', '90c46bf8-9b40-4649-b751-503e49f1f240', 21, '2027-06-17', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3f757ce-5719-46ee-8c3f-a37199630db6', '90c46bf8-9b40-4649-b751-503e49f1f240', 22, '2027-07-17', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('956dd625-1472-48bb-93d7-5c783a513bf7', '90c46bf8-9b40-4649-b751-503e49f1f240', 23, '2027-08-16', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('481e7811-ad1e-4042-ad0a-9b093ddecc93', '90c46bf8-9b40-4649-b751-503e49f1f240', 24, '2027-09-15', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e6676ca-c84d-4ba9-8766-c38018cf0c32', '90c46bf8-9b40-4649-b751-503e49f1f240', 25, '2027-10-15', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('06aae616-9b9e-417c-a034-d56402666625', '90c46bf8-9b40-4649-b751-503e49f1f240', 26, '2027-11-14', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aabf43e2-ece9-4a21-b9ac-2d41aff645b2', '90c46bf8-9b40-4649-b751-503e49f1f240', 27, '2027-12-14', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd048d5b-2b09-4c47-87f7-f4c76414b3d3', '90c46bf8-9b40-4649-b751-503e49f1f240', 28, '2028-01-13', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('78521904-34b4-420a-a3e4-25f156be9deb', '90c46bf8-9b40-4649-b751-503e49f1f240', 29, '2028-02-12', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62df9cb0-aabe-41b7-a318-dc12ef2a2e49', '90c46bf8-9b40-4649-b751-503e49f1f240', 30, '2028-03-13', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a164e7f1-4967-4217-8cbb-c7dd7bd6c3b2', '90c46bf8-9b40-4649-b751-503e49f1f240', 31, '2028-04-12', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e5d990a-eb44-486a-9564-58a4870f8116', '90c46bf8-9b40-4649-b751-503e49f1f240', 32, '2028-05-12', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e3c86d7-095f-4cab-add9-dec75719231e', '90c46bf8-9b40-4649-b751-503e49f1f240', 33, '2028-06-11', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('645e6696-790b-4dd1-887b-e028f823b802', '90c46bf8-9b40-4649-b751-503e49f1f240', 34, '2028-07-11', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('853143d5-ea77-4b9e-aae2-d24fb173a27b', '90c46bf8-9b40-4649-b751-503e49f1f240', 35, '2028-08-10', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1624017f-438e-4322-bb7e-5415aa8119c9', '90c46bf8-9b40-4649-b751-503e49f1f240', 36, '2028-09-09', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('464bdd7d-5127-4233-bd8e-d5e29214ebed', '90c46bf8-9b40-4649-b751-503e49f1f240', 37, '2028-10-09', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3d050a6-e72c-4845-a21b-2eb43174554e', '90c46bf8-9b40-4649-b751-503e49f1f240', 38, '2028-11-08', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c0afa99-a589-46fe-9b9b-5e78c2b448e1', '90c46bf8-9b40-4649-b751-503e49f1f240', 39, '2028-12-08', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb7e89c4-2579-467c-ad6f-f2ddecaa09fa', '90c46bf8-9b40-4649-b751-503e49f1f240', 40, '2029-01-07', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1d01b90e-245a-4a1b-a2f9-e03a15d0f483', '90c46bf8-9b40-4649-b751-503e49f1f240', 41, '2029-02-06', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('13f5337f-e9aa-48c9-b6a8-ced6f2aaf2c0', '90c46bf8-9b40-4649-b751-503e49f1f240', 42, '2029-03-08', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7dcef58b-fa46-4937-805c-fc6c65cccb16', '90c46bf8-9b40-4649-b751-503e49f1f240', 43, '2029-04-07', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8335e1ca-c37a-4d31-b557-fe86fea425d6', '90c46bf8-9b40-4649-b751-503e49f1f240', 44, '2029-05-07', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f197ebcc-c465-4862-80c0-96f845a7d4ff', '90c46bf8-9b40-4649-b751-503e49f1f240', 45, '2029-06-06', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0f9f32d-99e6-4ba3-8e2b-cc71d032abfe', '90c46bf8-9b40-4649-b751-503e49f1f240', 46, '2029-07-06', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea67cec9-efd9-429e-9d0f-8251e9d0ad82', '90c46bf8-9b40-4649-b751-503e49f1f240', 47, '2029-08-05', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b99de90c-fbba-4efe-9316-584f23006f33', '90c46bf8-9b40-4649-b751-503e49f1f240', 48, '2029-09-04', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bef86935-57a8-4022-a34f-e77ab0edc638', '90c46bf8-9b40-4649-b751-503e49f1f240', 49, '2029-10-04', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3a29a461-c7fb-4dd2-90ca-e5647922b3ec', '90c46bf8-9b40-4649-b751-503e49f1f240', 50, '2029-11-03', 1600000.0, 1120000.0, 2720000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('45d5c520-7608-4d98-9394-3042decf17de', 'LOAN-72-93de6704', '4b4b95c4-50ea-4399-b68e-5c54029c584f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3000000.0, 20, 'Migrasi Data', 'disbursed', 3000000.0, 3000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1ad3826d-dc73-4665-9d0d-1c8044e65b82', '45d5c520-7608-4d98-9394-3042decf17de', 1, '2026-03-24', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('649cfa45-1d7c-48f7-b39d-4366e018400f', '45d5c520-7608-4d98-9394-3042decf17de', 2, '2026-04-23', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1874d91e-aede-489f-af41-1f9471696e85', '45d5c520-7608-4d98-9394-3042decf17de', 3, '2026-05-23', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9fb79131-28af-4f40-b6f2-6a0b487eee73', '45d5c520-7608-4d98-9394-3042decf17de', 4, '2026-06-22', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e869dce4-aa68-4483-83b5-8c679dbb29b4', '45d5c520-7608-4d98-9394-3042decf17de', 5, '2026-07-22', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc17710a-b82e-46ec-a27f-34a96bc49333', '45d5c520-7608-4d98-9394-3042decf17de', 6, '2026-08-21', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7097db60-fb17-4b57-bd12-078e36787f55', '45d5c520-7608-4d98-9394-3042decf17de', 7, '2026-09-20', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7e09f4a8-5301-4aa2-bb91-aeec32d81cdf', '45d5c520-7608-4d98-9394-3042decf17de', 8, '2026-10-20', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a075caa3-5650-4399-8a51-469864edde44', '45d5c520-7608-4d98-9394-3042decf17de', 9, '2026-11-19', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('123f85d9-d48c-4ac3-9ec6-211cfa032551', '45d5c520-7608-4d98-9394-3042decf17de', 10, '2026-12-19', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0942b5e4-7d29-4a41-b173-b0053eefaf72', '45d5c520-7608-4d98-9394-3042decf17de', 11, '2027-01-18', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('88143a7d-0a49-43f6-8518-9498dbe46ae9', '45d5c520-7608-4d98-9394-3042decf17de', 12, '2027-02-17', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83a79e48-ba8a-4437-bee4-7e7785dd1d8c', '45d5c520-7608-4d98-9394-3042decf17de', 13, '2027-03-19', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('72f81e16-536d-44cb-9be5-7b2a5de62c4d', '45d5c520-7608-4d98-9394-3042decf17de', 14, '2027-04-18', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a722717-1211-4b3d-94d1-b2f3803304b0', '45d5c520-7608-4d98-9394-3042decf17de', 15, '2027-05-18', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e213a48b-8c4c-4d1e-b8dc-8f9d71b2a4ba', '45d5c520-7608-4d98-9394-3042decf17de', 16, '2027-06-17', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('909e2b6d-c5fb-4aef-aaf4-58cc2c7f5f39', '45d5c520-7608-4d98-9394-3042decf17de', 17, '2027-07-17', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9559d89e-8a12-48a8-bb0a-729ab6597836', '45d5c520-7608-4d98-9394-3042decf17de', 18, '2027-08-16', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eff89b21-0c43-4d3a-a1b0-ff0f7d95d145', '45d5c520-7608-4d98-9394-3042decf17de', 19, '2027-09-15', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1619a6a4-04f9-4b69-8f62-1e14c37e5a6a', '45d5c520-7608-4d98-9394-3042decf17de', 20, '2027-10-15', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('cbebbd97-652c-4adf-9f92-2c48a01e7350', 'ORD-72-2ea9af56', '4b4b95c4-50ea-4399-b68e-5c54029c584f', 252500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: RIZKY EMINDA WALFAZRI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a076da06-b977-443c-b0bc-6402cadba403', 'member78@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIZKY EMINDA WALFAZRI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8d874626-c836-4729-95f6-289568eb8553', 'a076da06-b977-443c-b0bc-6402cadba403', '73', '73', 'RIZKY EMINDA WALFAZRI', 'NIK-73', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('853b3a95-30a5-4c89-8eef-9c536e412c6b', 'SAV-1-73', '8d874626-c836-4729-95f6-289568eb8553', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b9a6a536-4c2b-4551-aabd-f20d0d8e37ef', 'SAV-2-73', '8d874626-c836-4729-95f6-289568eb8553', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('04da18ff-895f-4955-ac9a-cdcfaea9f353', 'TRX-WAJIB-73', 'b9a6a536-4c2b-4551-aabd-f20d0d8e37ef', '8d874626-c836-4729-95f6-289568eb8553', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7becd3e8-e261-4dfa-9e6d-7b491548ed57', 'SAV-3-73', '8d874626-c836-4729-95f6-289568eb8553', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62218ada-d846-436e-b5b7-5eead0d27090', 'TRX-SUKARELA-73', '7becd3e8-e261-4dfa-9e6d-7b491548ed57', '8d874626-c836-4729-95f6-289568eb8553', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('86b36087-6ab0-4355-ace6-43cb28fdc4d4', 'LOAN-73-e7d27459', '8d874626-c836-4729-95f6-289568eb8553', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 56899980.0, 30, 'Migrasi Data', 'disbursed', 56899980.0, 56899980.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43a2e9eb-2058-4cdc-bc94-898009788190', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 1, '2026-02-22', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d40303f8-637f-48bb-84a7-d5fddf8d5131', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 2, '2026-03-24', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d0358b2d-4511-4f1b-9a81-699e07d8bd51', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 3, '2026-04-23', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e1363f29-ac08-480c-ba4b-541778f34403', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 4, '2026-05-23', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e4d7c36d-17db-4629-8aac-f614df8d5b68', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 5, '2026-06-22', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f17ae76b-dfe7-4fa1-8fb2-96bd9a9c37f8', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 6, '2026-07-22', 1896666.0, 853500.0, 2750166.0, 1896666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f77cfcc-df81-4297-a371-5e58e153cc6f', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 7, '2026-08-21', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b37c5b21-61dc-416d-8961-8e99b6b6ba9e', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 8, '2026-09-20', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb4f26eb-2cf1-4803-ae15-e61775e46a85', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 9, '2026-10-20', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d28ee229-8a1c-4c88-8766-47d2f53c9d17', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 10, '2026-11-19', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('092bfc76-6318-4912-ad7a-75bebe6ea8ae', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 11, '2026-12-19', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26f28771-3b97-43b0-ba85-cbef5fa8f1e1', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 12, '2027-01-18', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c700e80e-1be0-4eb9-96bf-ba652b1d27d5', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 13, '2027-02-17', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b7582b86-d622-461d-b1d8-6dc58642f7c0', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 14, '2027-03-19', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9be69d1-13c1-4db6-8490-59dde165620e', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 15, '2027-04-18', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec5d7d6b-46c9-458e-8fdf-14aabe0ba785', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 16, '2027-05-18', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5af99e5e-6154-4974-b2dd-30162fc20f3e', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 17, '2027-06-17', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2f199fd5-6d72-4ab8-93b0-4d1e8bf21c5e', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 18, '2027-07-17', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('365f425f-544e-4d2c-97ea-54e12cc64155', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 19, '2027-08-16', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f481a56b-e840-4468-bb0b-587d2e616f2a', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 20, '2027-09-15', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2836a3d0-8fe4-491f-bf15-35c3edc72f66', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 21, '2027-10-15', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99ec4d0f-5680-4dd4-ab03-f8379548973b', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 22, '2027-11-14', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c05402c2-b9e7-4225-99aa-c4ce44765533', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 23, '2027-12-14', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2f51dd45-4cee-4828-9346-31561bec3bd8', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 24, '2028-01-13', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8571714d-0a5a-4691-8711-57870bd2ee7a', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 25, '2028-02-12', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f47f9b1b-f5a6-4973-80aa-a6cfaeff092e', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 26, '2028-03-13', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('722de8f8-8077-4de5-ae65-c6d2cd2d39c9', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 27, '2028-04-12', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7ba8c37e-ec66-4452-ace2-acad79f1cc69', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 28, '2028-05-12', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf2dbde3-ee04-4537-84b8-6b0b00c14aff', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 29, '2028-06-11', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('07f48c54-6d56-4a87-a9aa-065c44f98e2b', '86b36087-6ab0-4355-ace6-43cb28fdc4d4', 30, '2028-07-11', 1896666.0, 853500.0, 2750166.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('54652077-aa94-4920-918c-d32af4f38db9', 'LOAN-73-f0baad45', '8d874626-c836-4729-95f6-289568eb8553', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3500000.0, 10, 'Migrasi Data', 'disbursed', 3500000.0, 3500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf9aa41d-0354-4002-b349-c75de7068caa', '54652077-aa94-4920-918c-d32af4f38db9', 1, '2026-03-24', 350000.0, 52500.0, 402500.0, 350000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e2464f4f-8a48-49e3-a6d1-88c59a8c1e87', '54652077-aa94-4920-918c-d32af4f38db9', 2, '2026-04-23', 350000.0, 52500.0, 402500.0, 350000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be006c93-171e-4d5f-be06-efbf2788afa2', '54652077-aa94-4920-918c-d32af4f38db9', 3, '2026-05-23', 350000.0, 52500.0, 402500.0, 350000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fabf04d-cce7-4740-8f1f-34f510fc819a', '54652077-aa94-4920-918c-d32af4f38db9', 4, '2026-06-22', 350000.0, 52500.0, 402500.0, 350000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44498166-8ebd-4188-90a9-d49eb0ca7fc7', '54652077-aa94-4920-918c-d32af4f38db9', 5, '2026-07-22', 350000.0, 52500.0, 402500.0, 350000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad7bebef-19f4-4469-83c9-7721acf5d2fd', '54652077-aa94-4920-918c-d32af4f38db9', 6, '2026-08-21', 350000.0, 52500.0, 402500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4feb6194-5ea7-40a2-84d9-41e68a4f1cf0', '54652077-aa94-4920-918c-d32af4f38db9', 7, '2026-09-20', 350000.0, 52500.0, 402500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('367aa00d-628b-47c9-bb14-d33577c3f197', '54652077-aa94-4920-918c-d32af4f38db9', 8, '2026-10-20', 350000.0, 52500.0, 402500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('028592b5-b0ce-4deb-91f5-6a41f9a0488b', '54652077-aa94-4920-918c-d32af4f38db9', 9, '2026-11-19', 350000.0, 52500.0, 402500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6906ba49-0454-4828-95db-380e63ce9baa', '54652077-aa94-4920-918c-d32af4f38db9', 10, '2026-12-19', 350000.0, 52500.0, 402500.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('15fd4563-016c-4451-baba-d3277ad1461c', 'ORD-73-9fa37e7c', '8d874626-c836-4729-95f6-289568eb8553', 166000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: BERRY GHOZALI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3d0fd33a-5b3d-4a8a-b737-9b8db3eb9ee3', 'member79@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BERRY GHOZALI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e2f64823-2be2-4239-b46a-8a9c6c7f6919', '3d0fd33a-5b3d-4a8a-b737-9b8db3eb9ee3', '74', '74', 'BERRY GHOZALI', 'NIK-74', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f14a91e9-a2f1-42c8-a5fb-5aa7d207301f', 'SAV-1-74', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ab2063d1-584d-4f0e-bc6f-30e8655d3bac', 'TRX-POKOK-74', 'f14a91e9-a2f1-42c8-a5fb-5aa7d207301f', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('23076100-a466-4efc-a7eb-d3e4c8f0e2d6', 'SAV-2-74', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ba27e357-b71d-4034-b467-07387a10598f', 'TRX-WAJIB-74', '23076100-a466-4efc-a7eb-d3e4c8f0e2d6', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('adcf0fe5-3e4d-44bf-9cbc-6d30c70e0f07', 'SAV-3-74', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('01d16d9e-276c-414b-a8c9-bff8eb0841a4', 'TRX-SUKARELA-74', 'adcf0fe5-3e4d-44bf-9cbc-6d30c70e0f07', 'e2f64823-2be2-4239-b46a-8a9c6c7f6919', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: CECEP JAELANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0e753273-fe1f-4e32-96e8-66bc61e7fe51', 'member80@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'CECEP JAELANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d4743efc-634c-4601-9736-e34db542c0b5', '0e753273-fe1f-4e32-96e8-66bc61e7fe51', '75', '75', 'CECEP JAELANI', 'NIK-75', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bc830316-ff34-4d91-b32e-8b310b6e5ec1', 'SAV-1-75', 'd4743efc-634c-4601-9736-e34db542c0b5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f99b584a-d7a4-4b83-846d-3eec9e3385b3', 'SAV-2-75', 'd4743efc-634c-4601-9736-e34db542c0b5', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('862039c5-d5fa-47a7-871c-c39421fa4f80', 'TRX-WAJIB-75', 'f99b584a-d7a4-4b83-846d-3eec9e3385b3', 'd4743efc-634c-4601-9736-e34db542c0b5', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ac04dafd-5586-4d6e-be61-ec91abf6d516', 'SAV-3-75', 'd4743efc-634c-4601-9736-e34db542c0b5', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8ba25fc6-c2ef-4dbd-a291-1a928741e624', 'TRX-SUKARELA-75', 'ac04dafd-5586-4d6e-be61-ec91abf6d516', 'd4743efc-634c-4601-9736-e34db542c0b5', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 'LOAN-75-fddbf877', 'd4743efc-634c-4601-9736-e34db542c0b5', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 8000000.0, 10, 'Migrasi Data', 'disbursed', 8000000.0, 8000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad03ce27-2395-4ca0-b7bf-abb662715157', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 1, '2026-01-23', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d0268a3-7e69-4e50-ae6f-5734d6d195b7', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 2, '2026-02-22', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6233e4c5-d23c-47cb-974c-d14cf7011ce0', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 3, '2026-03-24', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('db5b4568-cb19-4ccc-8644-baa5a6582599', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 4, '2026-04-23', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76c35a7c-a6b3-42d5-9291-41fd54421b9e', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 5, '2026-05-23', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('011593db-3286-4711-8083-9f173a4ebb17', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 6, '2026-06-22', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e659b8cc-fb8e-4da0-b4d5-44ea1b2fad56', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 7, '2026-07-22', 800000.0, 120000.0, 920000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7197b2a-e2b4-414a-9b88-cf55e4755a62', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 8, '2026-08-21', 800000.0, 120000.0, 920000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2f6cec9c-9bf1-4dae-9505-fda52775bc87', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 9, '2026-09-20', 800000.0, 120000.0, 920000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7ea9a08-341d-4bfb-b7bb-eadd1fc0612c', '9bebdf65-bef7-4ffc-b5c4-74dcff95071a', 10, '2026-10-20', 800000.0, 120000.0, 920000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('8b3c7a11-5e22-4219-bac2-69efea6675d5', 'ORD-75-a0f56954', 'd4743efc-634c-4601-9736-e34db542c0b5', 79500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: DARWIS SUPRIADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7a983128-85e7-4dfc-915c-c31c8710edb8', 'member81@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DARWIS SUPRIADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6919f7b1-b07b-4dbf-a37f-1a5546d1e603', '7a983128-85e7-4dfc-915c-c31c8710edb8', '76', '76', 'DARWIS SUPRIADI', 'NIK-76', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('da86e142-242f-4c1c-8653-10d90186c2d9', 'SAV-1-76', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a6bed1ea-1216-426e-aec4-e7d8b00ce590', 'SAV-2-76', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('248f6f84-087a-4a2d-a4df-7e500b23dabe', 'TRX-WAJIB-76', 'a6bed1ea-1216-426e-aec4-e7d8b00ce590', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bf33f9dd-92a1-498d-b45a-e6453706f1f1', 'SAV-3-76', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2cbd9959-d44e-4e4a-a1d4-8b6697d48f98', 'TRX-SUKARELA-76', 'bf33f9dd-92a1-498d-b45a-e6453706f1f1', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('20869b96-08c8-4a90-8b96-eec0d6f2b6be', 'ORD-76-56f46746', '6919f7b1-b07b-4dbf-a37f-1a5546d1e603', 50000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: BUDIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('078e2527-1d56-420c-a1a9-7c68e367f766', 'member82@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BUDIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a105baa8-9f32-4060-810b-1b69132c2d91', '078e2527-1d56-420c-a1a9-7c68e367f766', '77', '77', 'BUDIANSYAH', 'NIK-77', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('70f5f76a-cfd8-4c30-af2d-c4c7234c3690', 'SAV-1-77', 'a105baa8-9f32-4060-810b-1b69132c2d91', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2c53f996-df22-4161-bcc7-b535abb1c218', 'SAV-2-77', 'a105baa8-9f32-4060-810b-1b69132c2d91', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3e5fd3e1-8da8-4dbf-a0e4-d0facdc413c2', 'TRX-WAJIB-77', '2c53f996-df22-4161-bcc7-b535abb1c218', 'a105baa8-9f32-4060-810b-1b69132c2d91', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6437ba4f-0725-4963-8aa8-74ad8b97feb9', 'SAV-3-77', 'a105baa8-9f32-4060-810b-1b69132c2d91', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0ab46bac-9739-4c92-8731-5de39bf7ed1b', 'TRX-SUKARELA-77', '6437ba4f-0725-4963-8aa8-74ad8b97feb9', 'a105baa8-9f32-4060-810b-1b69132c2d91', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: INDRA JAYA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('269a5460-c325-48e7-bce9-3960b6713ede', 'member83@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'INDRA JAYA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2c1e5f54-15c3-47df-9169-514850611d4c', '269a5460-c325-48e7-bce9-3960b6713ede', '78', '78', 'INDRA JAYA', 'NIK-78', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('07614c6b-756f-4a95-8172-9d36ef31ea92', 'SAV-1-78', '2c1e5f54-15c3-47df-9169-514850611d4c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('14a69ed8-5616-484a-9f88-587ba23e53b7', 'SAV-2-78', '2c1e5f54-15c3-47df-9169-514850611d4c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d90be066-87c6-4f1b-a6ca-2cc18b8c07ad', 'TRX-WAJIB-78', '14a69ed8-5616-484a-9f88-587ba23e53b7', '2c1e5f54-15c3-47df-9169-514850611d4c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e89cfbc5-1934-4ee0-8164-d19ebc21851e', 'SAV-3-78', '2c1e5f54-15c3-47df-9169-514850611d4c', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cf80d58e-b2f7-4b36-89d9-a7488c07b3b8', 'TRX-SUKARELA-78', 'e89cfbc5-1934-4ee0-8164-d19ebc21851e', '2c1e5f54-15c3-47df-9169-514850611d4c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('fa13b09b-65cd-4ba7-92d0-b518f167588b', 'ORD-78-ac753d82', '2c1e5f54-15c3-47df-9169-514850611d4c', 1777500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: PANGUDI NUR ASMIANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c3def45d-2bd7-4336-84f1-e8f1967d1fed', 'member84@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PANGUDI NUR ASMIANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('cdb64bf3-5afd-4476-a836-11c86bc1c1f6', 'c3def45d-2bd7-4336-84f1-e8f1967d1fed', '79', '79', 'PANGUDI NUR ASMIANTO', 'NIK-79', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b8bc787c-125d-4d4e-b03a-29c38e0965ab', 'SAV-1-79', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a3b11cb4-efce-4410-a4eb-63e1dfcaf40a', 'SAV-2-79', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('348f570d-a779-4960-a7ea-239f824f269a', 'TRX-WAJIB-79', 'a3b11cb4-efce-4410-a4eb-63e1dfcaf40a', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0f81bd51-c1a3-446d-b74e-0a0308ece832', 'SAV-3-79', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 'LOAN-79-32aa0534', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 9500000.0, 10, 'Migrasi Data', 'disbursed', 9500000.0, 9500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a26c007f-1dae-449f-98c7-fc4a9abfb965', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 1, '2025-12-24', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad7ee799-ba92-450f-a23d-7ba64ea2733b', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 2, '2026-01-23', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc8e371f-01cd-4e69-9aa2-dd46ac4693e8', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 3, '2026-02-22', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c57dc73-fd28-4870-9763-c69786151cf0', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 4, '2026-03-24', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de619a86-881c-4952-b7bd-b77e9eeb5f41', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 5, '2026-04-23', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e5425d0-03dc-46ff-ba70-5504acfe844c', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 6, '2026-05-23', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('207df1c0-6c9d-41dc-b38a-a0d7fb0b1e05', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 7, '2026-06-22', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df1adbbd-9a34-45c5-9823-6644b0c52c9d', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 8, '2026-07-22', 950000.0, 142500.0, 1092500.0, 950000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f6fe584-137a-44f1-a42e-2d2edaafe857', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 9, '2026-08-21', 950000.0, 142500.0, 1092500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e377c99d-d8e1-4768-9262-40aa05416042', '79ff4dc1-3f4e-47d7-9d5a-162d8f62233c', 10, '2026-09-20', 950000.0, 142500.0, 1092500.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('259ae32e-a99b-4e40-a073-a9d412ec0870', 'LOAN-79-37ef8f54', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd57c933-47d4-47b1-b882-5b237bb3463e', '259ae32e-a99b-4e40-a073-a9d412ec0870', 1, '2026-03-24', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b193d87-5bab-411a-9fc8-6f0481612e67', '259ae32e-a99b-4e40-a073-a9d412ec0870', 2, '2026-04-23', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('245ead8a-5533-41d8-a41c-e2137b9c18e6', '259ae32e-a99b-4e40-a073-a9d412ec0870', 3, '2026-05-23', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6cc2a6a7-fa95-4b6d-a31e-f020e8396e45', '259ae32e-a99b-4e40-a073-a9d412ec0870', 4, '2026-06-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38aa9702-955b-4b13-9e5a-88be108d2c91', '259ae32e-a99b-4e40-a073-a9d412ec0870', 5, '2026-07-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8063461-fe09-4adc-9f4f-bf847b894564', '259ae32e-a99b-4e40-a073-a9d412ec0870', 6, '2026-08-21', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b69f35b8-e8d4-47f2-a97a-1fc8c81d72ca', '259ae32e-a99b-4e40-a073-a9d412ec0870', 7, '2026-09-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6551ad95-5003-4e22-90b7-458497a76574', '259ae32e-a99b-4e40-a073-a9d412ec0870', 8, '2026-10-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a05983a2-bf23-48c1-8390-b9b785696376', '259ae32e-a99b-4e40-a073-a9d412ec0870', 9, '2026-11-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e85085eb-e931-4d20-b848-074476c2319c', '259ae32e-a99b-4e40-a073-a9d412ec0870', 10, '2026-12-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4604fa80-9003-42c6-b076-820cd7cebe90', 'LOAN-79-ec6e5727', 'cdb64bf3-5afd-4476-a836-11c86bc1c1f6', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 4000000.0, 10, 'Migrasi Data', 'disbursed', 4000000.0, 4000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2de77c3-eb69-45a8-b3d2-efe4237390c8', '4604fa80-9003-42c6-b076-820cd7cebe90', 1, '2026-06-22', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45b8504e-fcad-43e9-bd22-1090413e61ca', '4604fa80-9003-42c6-b076-820cd7cebe90', 2, '2026-07-22', 400000.0, 60000.0, 460000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('587c4319-d8fe-4730-81c5-7cb582ed0332', '4604fa80-9003-42c6-b076-820cd7cebe90', 3, '2026-08-21', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c69e2791-51e4-44b9-83f1-7207a1d8e77f', '4604fa80-9003-42c6-b076-820cd7cebe90', 4, '2026-09-20', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84496c93-d72a-4a61-8843-d893a7343283', '4604fa80-9003-42c6-b076-820cd7cebe90', 5, '2026-10-20', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a84d2868-6639-49a8-af91-9b82019ac8ae', '4604fa80-9003-42c6-b076-820cd7cebe90', 6, '2026-11-19', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f7d65cd-1fcd-462a-984b-a768ba105d66', '4604fa80-9003-42c6-b076-820cd7cebe90', 7, '2026-12-19', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9aafb172-f073-4d26-aa4a-ad4ca4b32fae', '4604fa80-9003-42c6-b076-820cd7cebe90', 8, '2027-01-18', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cb0d099d-a76a-4d97-a57e-93ddc0236ad1', '4604fa80-9003-42c6-b076-820cd7cebe90', 9, '2027-02-17', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eacea016-19c3-4736-8215-41ba7033ee2b', '4604fa80-9003-42c6-b076-820cd7cebe90', 10, '2027-03-19', 400000.0, 60000.0, 460000.0, 0, NULL, 'unpaid');

-- Member: YUDIS FERDIAN SYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2fd7d586-6594-44a2-9d3f-9362d4766c08', 'member85@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YUDIS FERDIAN SYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6ec62485-9d9a-43ab-a517-970779dc6806', '2fd7d586-6594-44a2-9d3f-9362d4766c08', '80', '80', 'YUDIS FERDIAN SYAH', 'NIK-80', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e1513ace-0fe9-4d78-8b3f-8237d8be39c3', 'SAV-1-80', '6ec62485-9d9a-43ab-a517-970779dc6806', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9a3169ba-fad7-4be1-8f1c-24bc36bd41e0', 'SAV-2-80', '6ec62485-9d9a-43ab-a517-970779dc6806', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1ab62d96-9c0d-4c1c-8dfb-39f4871d73c1', 'TRX-WAJIB-80', '9a3169ba-fad7-4be1-8f1c-24bc36bd41e0', '6ec62485-9d9a-43ab-a517-970779dc6806', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('284e175d-62b9-4519-a295-87a78c21c3e1', 'SAV-3-80', '6ec62485-9d9a-43ab-a517-970779dc6806', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f6ac1226-08dc-462c-8d56-d3e0903cf5df', 'LOAN-80-23355e19', '6ec62485-9d9a-43ab-a517-970779dc6806', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10500000.0, 20, 'Migrasi Data', 'disbursed', 10500000.0, 10500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('967d2d6d-6b9d-425a-ab89-038d81182bf9', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 1, '2026-08-21', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7b64ca6-51ff-455d-9f91-8de4db0e2818', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 2, '2026-09-20', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02632490-6b43-4c9e-a0c4-f9fcc6b354a4', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 3, '2026-10-20', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6a812a5f-c9a2-4fc7-9bdd-3b6c0894d86c', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 4, '2026-11-19', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80ee625b-e0e6-4d42-9f2f-27412972c6d4', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 5, '2026-12-19', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('39640d17-dc55-4724-adee-12877be2d516', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 6, '2027-01-18', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('273e54ed-17ad-4381-8046-5cc3621bd9e8', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 7, '2027-02-17', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9e24773-7d5d-402c-bd83-572f2faa82f4', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 8, '2027-03-19', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be589e11-d1ad-407c-93a6-c71879ffe37d', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 9, '2027-04-18', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8c3b914-8b17-4062-8636-5fc56028d91b', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 10, '2027-05-18', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b72c0d9-d89f-45af-9959-c0356396c3a4', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 11, '2027-06-17', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0df22bd6-2a0e-45a8-8711-4f45124caa34', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 12, '2027-07-17', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45281720-f33d-41a2-814a-696213b4ada7', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 13, '2027-08-16', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6373bd21-367e-415d-8285-b81d02d3d645', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 14, '2027-09-15', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8f107c4-7eb2-4278-8c62-7ff9856befd6', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 15, '2027-10-15', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bccdb928-6c18-49fa-b114-07fb46028dd9', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 16, '2027-11-14', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4a6e546-1c53-4de2-a6f7-672a95d711a7', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 17, '2027-12-14', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0562a391-b562-4541-9c62-61334cdc8da7', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 18, '2028-01-13', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25dd7fc3-d2cc-4938-83f2-6ba1432a9206', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 19, '2028-02-12', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7346d0bf-ef7d-4b14-a5d6-59e4a8d5f725', 'f6ac1226-08dc-462c-8d56-d3e0903cf5df', 20, '2028-03-13', 525000.0, 157500.0, 682500.0, 0, NULL, 'unpaid');

-- Member: WAHYUDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ad44283d-56b6-4504-a223-bfa94d41e608', 'member86@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WAHYUDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ab63b229-28a8-458f-a35c-a4455b73daf1', 'ad44283d-56b6-4504-a223-bfa94d41e608', '81', '81', 'WAHYUDI', 'NIK-81', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c5bbff2b-379a-4d5a-8dab-4a6e80da97e3', 'SAV-1-81', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4c63914a-8026-42c5-9b93-6c9e6db45b8a', 'TRX-POKOK-81', 'c5bbff2b-379a-4d5a-8dab-4a6e80da97e3', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ab43ab49-8881-4351-961d-5c56727850ed', 'SAV-2-81', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e43922a6-89eb-4ea5-8a3a-2443e66a3def', 'TRX-WAJIB-81', 'ab43ab49-8881-4351-961d-5c56727850ed', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7557c4b6-72a2-4b31-b545-cd765a0be447', 'SAV-3-81', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7d7c9b50-dbfb-4c84-a1eb-80c396284453', 'TRX-SUKARELA-81', '7557c4b6-72a2-4b31-b545-cd765a0be447', 'ab63b229-28a8-458f-a35c-a4455b73daf1', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');

-- Member: AMIRUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('465758a2-dd55-4a03-8a8a-27cd234f2f5d', 'member87@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AMIRUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ffbbe208-5758-46d8-8a54-678b2a31b2f4', '465758a2-dd55-4a03-8a8a-27cd234f2f5d', '82', '82', 'AMIRUDIN', 'NIK-82', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2f7187a6-e7ec-4f28-8c85-08602c24aa20', 'SAV-1-82', 'ffbbe208-5758-46d8-8a54-678b2a31b2f4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('07ed53dc-44ec-473a-9343-88f7da3b51e2', 'SAV-2-82', 'ffbbe208-5758-46d8-8a54-678b2a31b2f4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62d93bcd-ddca-4d43-8747-e7708dda278c', 'TRX-WAJIB-82', '07ed53dc-44ec-473a-9343-88f7da3b51e2', 'ffbbe208-5758-46d8-8a54-678b2a31b2f4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('53169566-8cad-4114-875f-79e75b2e12e8', 'SAV-3-82', 'ffbbe208-5758-46d8-8a54-678b2a31b2f4', 3, 0.0, true);

-- Member: ABDUL MANAF
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3c6fc68c-758c-4b2e-903b-f6be9ed5fd7c', 'member88@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABDUL MANAF', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2f4ba021-f7fe-41ce-a339-378bd5123d33', '3c6fc68c-758c-4b2e-903b-f6be9ed5fd7c', '83', '83', 'ABDUL MANAF', 'NIK-83', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('80914623-8a0e-4f47-bf56-7470050c1bc7', 'SAV-1-83', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e9bedaa9-8e40-4073-a23c-788aba299f86', 'TRX-POKOK-83', '80914623-8a0e-4f47-bf56-7470050c1bc7', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('14f22ac8-84b9-456d-b607-506c30c48600', 'SAV-2-83', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('23ffcdf6-84d7-4085-bc7b-aca149fca0de', 'TRX-WAJIB-83', '14f22ac8-84b9-456d-b607-506c30c48600', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1fb84fe9-59f5-4024-afdc-ae632b7b22c8', 'SAV-3-83', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6d34988b-f893-4f3b-a360-903c4567ab1c', 'TRX-SUKARELA-83', '1fb84fe9-59f5-4024-afdc-ae632b7b22c8', '2f4ba021-f7fe-41ce-a339-378bd5123d33', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: KHOERUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b60aff5f-e6e5-4447-8d6a-d3ea7b752188', 'member89@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KHOERUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bd806ecf-51d3-426a-b927-08da33dc3eff', 'b60aff5f-e6e5-4447-8d6a-d3ea7b752188', '84', '84', 'KHOERUDIN', 'NIK-84', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('67bdc1dc-ee3e-460f-9cde-8960df90c959', 'SAV-1-84', 'bd806ecf-51d3-426a-b927-08da33dc3eff', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a86845ad-ba29-4dff-9216-8f85e42cd281', 'SAV-2-84', 'bd806ecf-51d3-426a-b927-08da33dc3eff', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('88588b26-67d3-49b2-8ac3-3115159f73b5', 'TRX-WAJIB-84', 'a86845ad-ba29-4dff-9216-8f85e42cd281', 'bd806ecf-51d3-426a-b927-08da33dc3eff', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('005f6f0d-83b5-4d3b-862c-458b36490f6e', 'SAV-3-84', 'bd806ecf-51d3-426a-b927-08da33dc3eff', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4f5c2a36-c69d-4abe-abf8-407a5854d6ef', 'TRX-SUKARELA-84', '005f6f0d-83b5-4d3b-862c-458b36490f6e', 'bd806ecf-51d3-426a-b927-08da33dc3eff', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('e5bf0401-f024-48a5-b450-7435023de344', 'LOAN-84-ed2d3227', 'bd806ecf-51d3-426a-b927-08da33dc3eff', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 147600000.0, 50, 'Migrasi Data', 'disbursed', 147600000.0, 147600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e50d721c-822f-4e0b-9142-1523ccaf7a43', 'e5bf0401-f024-48a5-b450-7435023de344', 1, '2026-06-22', 2952000.0, 1992600.0, 4944600.0, 2952000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d53dca1-bc72-4249-b0ab-c7d46d250d1a', 'e5bf0401-f024-48a5-b450-7435023de344', 2, '2026-07-22', 2952000.0, 1992600.0, 4944600.0, 2952000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44ed5a68-619f-4830-8797-b392a2e15eab', 'e5bf0401-f024-48a5-b450-7435023de344', 3, '2026-08-21', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8b4f4c14-b085-4d1f-804b-2026f8a5f2da', 'e5bf0401-f024-48a5-b450-7435023de344', 4, '2026-09-20', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5ba969a-5fa3-4807-ab62-c28dafd13463', 'e5bf0401-f024-48a5-b450-7435023de344', 5, '2026-10-20', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f45a759-e280-49ff-9307-8a566cfbb67b', 'e5bf0401-f024-48a5-b450-7435023de344', 6, '2026-11-19', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7916a35e-f0f0-4b7e-af3b-5293ed153911', 'e5bf0401-f024-48a5-b450-7435023de344', 7, '2026-12-19', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58999887-696c-4fdc-9054-9edb7e9e327e', 'e5bf0401-f024-48a5-b450-7435023de344', 8, '2027-01-18', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3da920ba-a80c-45d2-9b4d-5f0313dfb2f7', 'e5bf0401-f024-48a5-b450-7435023de344', 9, '2027-02-17', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59d6a55a-ae52-4dc5-b7bb-0e8163bed6f0', 'e5bf0401-f024-48a5-b450-7435023de344', 10, '2027-03-19', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f19eb3b-b805-4fd1-96c5-6e79221541a2', 'e5bf0401-f024-48a5-b450-7435023de344', 11, '2027-04-18', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e04eb9bf-c021-4796-a5e3-235ef366f444', 'e5bf0401-f024-48a5-b450-7435023de344', 12, '2027-05-18', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a31bae11-157e-4ef8-a904-ff656a57e15e', 'e5bf0401-f024-48a5-b450-7435023de344', 13, '2027-06-17', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('74f4d49a-d199-4f3f-b775-e6e9d9666311', 'e5bf0401-f024-48a5-b450-7435023de344', 14, '2027-07-17', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('542d1bd4-8c42-430c-a08c-3b2776b1d1d4', 'e5bf0401-f024-48a5-b450-7435023de344', 15, '2027-08-16', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a7bb579-4584-4a53-a40e-76ad6b530e47', 'e5bf0401-f024-48a5-b450-7435023de344', 16, '2027-09-15', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a2bc882-cbc3-4f31-b914-f5585ba0446a', 'e5bf0401-f024-48a5-b450-7435023de344', 17, '2027-10-15', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4412987-cf42-41bc-adae-ddace06dbcde', 'e5bf0401-f024-48a5-b450-7435023de344', 18, '2027-11-14', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c32529d5-3eaf-4655-9f5c-31aca18bf034', 'e5bf0401-f024-48a5-b450-7435023de344', 19, '2027-12-14', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed302108-b79d-495c-8f7a-f2e855b01518', 'e5bf0401-f024-48a5-b450-7435023de344', 20, '2028-01-13', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af592830-0e56-439c-9dc0-2d7d5be197a3', 'e5bf0401-f024-48a5-b450-7435023de344', 21, '2028-02-12', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1bf562eb-eaaa-4586-95db-36b10e064e53', 'e5bf0401-f024-48a5-b450-7435023de344', 22, '2028-03-13', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f37a7fcc-e6e6-4de4-8e09-01dc6400f55c', 'e5bf0401-f024-48a5-b450-7435023de344', 23, '2028-04-12', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('52d3289f-78cb-4fbb-b8f2-5c098337e239', 'e5bf0401-f024-48a5-b450-7435023de344', 24, '2028-05-12', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21c3f3ca-2517-450e-aeed-6d1c93fff126', 'e5bf0401-f024-48a5-b450-7435023de344', 25, '2028-06-11', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('230e0470-ba6a-4f2f-a4ec-e4af6692f9de', 'e5bf0401-f024-48a5-b450-7435023de344', 26, '2028-07-11', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eefd1bd1-7c83-44ba-a823-120323fe589c', 'e5bf0401-f024-48a5-b450-7435023de344', 27, '2028-08-10', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de36f056-d0af-44af-a60b-138d9b0aab15', 'e5bf0401-f024-48a5-b450-7435023de344', 28, '2028-09-09', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fcbfc13-9b54-4506-9a95-5f315fed1f39', 'e5bf0401-f024-48a5-b450-7435023de344', 29, '2028-10-09', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17e4003e-e569-4f76-b4d7-f86fbd446788', 'e5bf0401-f024-48a5-b450-7435023de344', 30, '2028-11-08', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b3ba3fb-3c0e-455d-bc1e-e65718a50637', 'e5bf0401-f024-48a5-b450-7435023de344', 31, '2028-12-08', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d10dace3-2774-4f9e-9232-a09a0a450753', 'e5bf0401-f024-48a5-b450-7435023de344', 32, '2029-01-07', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1e50c895-5ff8-46f8-bee3-b719d9649595', 'e5bf0401-f024-48a5-b450-7435023de344', 33, '2029-02-06', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8147d53-0225-4dad-8b21-bef29a1803c8', 'e5bf0401-f024-48a5-b450-7435023de344', 34, '2029-03-08', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a1f7cf8c-5ab3-48cf-a843-328436d4d463', 'e5bf0401-f024-48a5-b450-7435023de344', 35, '2029-04-07', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ce72730-e12a-4723-ac8b-457ead12ff3d', 'e5bf0401-f024-48a5-b450-7435023de344', 36, '2029-05-07', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec57de9a-dc8c-4fb3-9ed9-d2c234f4f5c6', 'e5bf0401-f024-48a5-b450-7435023de344', 37, '2029-06-06', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('161c1b9f-9f3c-4b0d-b0ca-3db7a813b0ff', 'e5bf0401-f024-48a5-b450-7435023de344', 38, '2029-07-06', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('405f85e7-4e20-44b8-bf50-9ba604833516', 'e5bf0401-f024-48a5-b450-7435023de344', 39, '2029-08-05', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d919a680-ba32-4d9d-b46e-f1f2dbe16d90', 'e5bf0401-f024-48a5-b450-7435023de344', 40, '2029-09-04', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d322a4a1-f510-4168-ba50-d9b1fe33db9a', 'e5bf0401-f024-48a5-b450-7435023de344', 41, '2029-10-04', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('377ff955-3cf9-4d12-a011-734e5987e2da', 'e5bf0401-f024-48a5-b450-7435023de344', 42, '2029-11-03', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3e019d2-80bc-4859-a774-001db1380900', 'e5bf0401-f024-48a5-b450-7435023de344', 43, '2029-12-03', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d359596-9080-4a3f-bdcf-a1e550bc7651', 'e5bf0401-f024-48a5-b450-7435023de344', 44, '2030-01-02', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae41623a-cebc-43cb-a0ba-8c6daa0d4a96', 'e5bf0401-f024-48a5-b450-7435023de344', 45, '2030-02-01', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82d22778-7c44-480f-bfc3-046fdec9679e', 'e5bf0401-f024-48a5-b450-7435023de344', 46, '2030-03-03', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd847c88-394d-42ff-9c9b-3942224c9d26', 'e5bf0401-f024-48a5-b450-7435023de344', 47, '2030-04-02', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8bc7d0a-6ece-40a0-b257-fc2fec214ad9', 'e5bf0401-f024-48a5-b450-7435023de344', 48, '2030-05-02', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d5fc2c64-8257-4d13-94b3-43c9b9847c3d', 'e5bf0401-f024-48a5-b450-7435023de344', 49, '2030-06-01', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b789f0b7-7121-41c2-b856-4f8de3d4a549', 'e5bf0401-f024-48a5-b450-7435023de344', 50, '2030-07-01', 2952000.0, 1992600.0, 4944600.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4251f578-5a57-43f9-bd21-73f0a615fa38', 'LOAN-84-750a7a22', 'bd806ecf-51d3-426a-b927-08da33dc3eff', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 20, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7801b4fa-4f47-4063-9325-ca029a49bc80', '4251f578-5a57-43f9-bd21-73f0a615fa38', 1, '2026-01-23', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6908216-1925-4896-8e35-30f6a8828f8c', '4251f578-5a57-43f9-bd21-73f0a615fa38', 2, '2026-02-22', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9df74779-5b55-4362-ab94-e3aea73422c1', '4251f578-5a57-43f9-bd21-73f0a615fa38', 3, '2026-03-24', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ccc5188e-172b-486a-86ac-17a732f0d5d9', '4251f578-5a57-43f9-bd21-73f0a615fa38', 4, '2026-04-23', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd7b7f66-2f6c-44e1-9120-ddc98c227b51', '4251f578-5a57-43f9-bd21-73f0a615fa38', 5, '2026-05-23', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22d271fd-9131-443b-ba0a-85b6a9ea6d33', '4251f578-5a57-43f9-bd21-73f0a615fa38', 6, '2026-06-22', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09ac039d-f6ec-4734-a010-467c25da733e', '4251f578-5a57-43f9-bd21-73f0a615fa38', 7, '2026-07-22', 250000.0, 75000.0, 325000.0, 250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48056dc8-c31f-4099-9c8b-2e17c7a902d5', '4251f578-5a57-43f9-bd21-73f0a615fa38', 8, '2026-08-21', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('64a7c62b-7ace-4393-aab4-230af82a544e', '4251f578-5a57-43f9-bd21-73f0a615fa38', 9, '2026-09-20', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b81f816-0bc1-45d0-a036-dd55b673e940', '4251f578-5a57-43f9-bd21-73f0a615fa38', 10, '2026-10-20', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be014fa5-84b5-46e8-97f5-569d71ed1cf8', '4251f578-5a57-43f9-bd21-73f0a615fa38', 11, '2026-11-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a63514e6-c561-43c4-97e4-5acb4207a44c', '4251f578-5a57-43f9-bd21-73f0a615fa38', 12, '2026-12-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('258f4d28-8010-4994-a33e-314ab216c883', '4251f578-5a57-43f9-bd21-73f0a615fa38', 13, '2027-01-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('518e7b2b-6ae3-4cd5-919b-a96eae735a98', '4251f578-5a57-43f9-bd21-73f0a615fa38', 14, '2027-02-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('06e92743-9c3d-4903-a9f6-9dc05d52b5c1', '4251f578-5a57-43f9-bd21-73f0a615fa38', 15, '2027-03-19', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6f781f5-7f62-481c-b4fa-18755f6dc555', '4251f578-5a57-43f9-bd21-73f0a615fa38', 16, '2027-04-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ad17b0d-173a-4dbb-adc6-c464dc7e40fd', '4251f578-5a57-43f9-bd21-73f0a615fa38', 17, '2027-05-18', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('88844a77-939e-46ef-bdec-725930e84b68', '4251f578-5a57-43f9-bd21-73f0a615fa38', 18, '2027-06-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b75af4d9-a796-4fd4-b316-2975dd894298', '4251f578-5a57-43f9-bd21-73f0a615fa38', 19, '2027-07-17', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ed087b5-7b96-4960-98ad-3ca6f8da2b91', '4251f578-5a57-43f9-bd21-73f0a615fa38', 20, '2027-08-16', 250000.0, 75000.0, 325000.0, 0, NULL, 'unpaid');

-- Member: AGUS SUTRISNA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('303e32ea-bb4e-45d2-a539-862bf277ca58', 'member90@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SUTRISNA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('baba563a-d3e6-467f-abe2-0b29df82d4f6', '303e32ea-bb4e-45d2-a539-862bf277ca58', '85', '85', 'AGUS SUTRISNA', 'NIK-85', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('69f3885a-0241-443b-b617-69b27008e0df', 'SAV-1-85', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('380515f9-1121-4935-b6cc-7bfc25749bdb', 'TRX-POKOK-85', '69f3885a-0241-443b-b617-69b27008e0df', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5a2a3882-837d-4f79-9059-407f0ca179b3', 'SAV-2-85', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e48ea5a4-79e3-4e8b-9dc6-f15efd492b8a', 'TRX-WAJIB-85', '5a2a3882-837d-4f79-9059-407f0ca179b3', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4c0cb1a0-2c30-4aaf-8e51-df2bcab2796c', 'SAV-3-85', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('294e2610-1fb9-4c57-b7ae-e8fa6cd86706', 'TRX-SUKARELA-85', '4c0cb1a0-2c30-4aaf-8e51-df2bcab2796c', 'baba563a-d3e6-467f-abe2-0b29df82d4f6', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');

-- Member: HESTU ANDRI NUGROHO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('e6a42596-adac-46b1-944e-1c1f7b6589fa', 'member91@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HESTU ANDRI NUGROHO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5b34021d-ce49-41c0-b09f-65ed3ae41b46', 'e6a42596-adac-46b1-944e-1c1f7b6589fa', '86', '86', 'HESTU ANDRI NUGROHO', 'NIK-86', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('de64ee2b-6343-4a80-8a07-e8c7cc4b9aa5', 'SAV-1-86', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('371913d1-3e41-491b-a46b-037fd876fba6', 'TRX-POKOK-86', 'de64ee2b-6343-4a80-8a07-e8c7cc4b9aa5', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4d8d155e-301c-453c-85a8-a01a0f3f60c0', 'SAV-2-86', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a63dde2c-d2bb-4538-9f14-177918aba0e6', 'TRX-WAJIB-86', '4d8d155e-301c-453c-85a8-a01a0f3f60c0', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('00d2b9b2-3268-452f-a2d7-c24e1acbf972', 'SAV-3-86', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0fdbdcba-111c-4340-82f8-86c6a48208f7', 'TRX-SUKARELA-86', '00d2b9b2-3268-452f-a2d7-c24e1acbf972', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f60e486a-77ec-43f7-97a9-85ad49b74140', 'LOAN-86-aa516bc3', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 30, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ccf02de1-c558-4e35-b168-46c667014be1', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 1, '2025-08-26', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2ecf23a-7926-4bd8-8f37-7d2c8babf45e', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 2, '2025-09-25', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e31bd3ca-9309-45a6-80d5-2c1ae31e849e', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 3, '2025-10-25', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e2fb2cf-fe02-4033-9b64-a720d13e5036', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 4, '2025-11-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0b412e0-c815-455a-a587-882c9f28b318', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 5, '2025-12-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8c231f3a-6942-4348-b7cd-e455310aeed3', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 6, '2026-01-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26721e50-f488-4135-82a4-1c7123aca9b5', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 7, '2026-02-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bbb04ed2-b11c-42ec-8231-b8e7be9603c7', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 8, '2026-03-24', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9170338f-ef6f-4f77-9cd3-224df41d9556', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 9, '2026-04-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83b60c7c-b248-4735-a13e-f848d8e24ae1', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 10, '2026-05-23', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fc5424b-8edf-4c92-9e89-2d49bd44537d', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 11, '2026-06-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2bfabd0d-15d5-4ba0-b2e0-5c087404b6b1', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 12, '2026-07-22', 1000000.0, 450000.0, 1450000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d9cc01cd-cec9-4bc8-bed5-20323f9b447c', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 13, '2026-08-21', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3420d183-fb42-45d3-aa0d-b141411ce438', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 14, '2026-09-20', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('94526c0a-d37c-4c63-8d4b-e48e157f8ac3', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 15, '2026-10-20', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e34dfe62-5a74-40fa-bf49-f67855d769f5', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 16, '2026-11-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('64293357-12f8-4261-8344-b14f88fe836d', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 17, '2026-12-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('957474e0-64e7-4b1a-a03f-fadd699b630d', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 18, '2027-01-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c65435b-61e6-4d5c-aa7b-79f3e63da82b', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 19, '2027-02-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('23a00469-ef31-4227-bd2a-23aac9e08dfe', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 20, '2027-03-19', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7274ca5c-1983-462c-8305-29ca6614e74f', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 21, '2027-04-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5f99651c-427f-40a5-9c3c-063fd0995fae', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 22, '2027-05-18', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('616da5f4-a7e2-4552-b7fb-aaa77aff5c94', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 23, '2027-06-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('acf8018d-8df2-493f-a378-1bc6c75cd6a3', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 24, '2027-07-17', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a2fa434-e636-4f05-b140-7e7df2e3561e', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 25, '2027-08-16', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('641eb832-aaec-4d3e-ab69-4906303ec8aa', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 26, '2027-09-15', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19cded40-d684-4e71-9f0c-33c1995c9067', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 27, '2027-10-15', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84b21575-c13b-465f-be54-f3793b4a6832', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 28, '2027-11-14', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc0c5385-d071-4413-9460-2fb2f7432dd5', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 29, '2027-12-14', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2f67dcce-e650-48bc-8c15-a6f84caefcd7', 'f60e486a-77ec-43f7-97a9-85ad49b74140', 30, '2028-01-13', 1000000.0, 450000.0, 1450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f5cf1d51-18d0-420c-bd97-bb067306e7ec', 'LOAN-86-44db8ae3', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 2000000.0, 10, 'Migrasi Data', 'disbursed', 2000000.0, 2000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f124c39-d041-454b-89ae-afcd89f1e4f8', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 1, '2025-12-24', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('905169dc-7ba0-4f62-9dd8-a1068d646ebf', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 2, '2026-01-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2634a4b3-1c00-4064-b2d7-16388b4320f3', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 3, '2026-02-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4c67ee1-6fb9-41c1-9892-a50c0f4a7421', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 4, '2026-03-24', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c503f478-a502-4eb2-9821-799e00dbdefb', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 5, '2026-04-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('993e49a7-5097-4343-8425-d6d631d7d651', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 6, '2026-05-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('004ad9ab-e7e9-431c-8dfc-ddbfce7d5e23', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 7, '2026-06-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8e02b65-57c7-430f-98e9-6920960401b3', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 8, '2026-07-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('356cea27-1534-4bb6-a250-6373811d5f8b', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 9, '2026-08-21', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('021a1f87-84a1-4239-9bdf-c83d3fab0ba9', 'f5cf1d51-18d0-420c-bd97-bb067306e7ec', 10, '2026-09-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('5d791177-a44f-457a-afdb-4b96f485bcd6', 'LOAN-86-df156228', '5b34021d-ce49-41c0-b09f-65ed3ae41b46', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 6000000.0, 20, 'Migrasi Data', 'disbursed', 6000000.0, 6000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3974710-1e89-4bbb-aec3-df63d606d2ca', '5d791177-a44f-457a-afdb-4b96f485bcd6', 1, '2026-01-23', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5f79562e-fbd9-4cdc-9e78-0dbcc544f6fb', '5d791177-a44f-457a-afdb-4b96f485bcd6', 2, '2026-02-22', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('05f0a0dc-4651-4bb7-8cc0-128af559739c', '5d791177-a44f-457a-afdb-4b96f485bcd6', 3, '2026-03-24', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('198f01eb-3af7-432f-bb07-cb0c2586af19', '5d791177-a44f-457a-afdb-4b96f485bcd6', 4, '2026-04-23', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a39f97f7-7547-4b98-8530-06b5853855bf', '5d791177-a44f-457a-afdb-4b96f485bcd6', 5, '2026-05-23', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b21734ad-f845-4048-8d74-0428decbbac0', '5d791177-a44f-457a-afdb-4b96f485bcd6', 6, '2026-06-22', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('50aa0cd8-ac55-494a-bb45-51e2d020fb20', '5d791177-a44f-457a-afdb-4b96f485bcd6', 7, '2026-07-22', 300000.0, 90000.0, 390000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37870757-ae30-43f1-a775-307b2edbb537', '5d791177-a44f-457a-afdb-4b96f485bcd6', 8, '2026-08-21', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ebe13a82-a8a1-4f76-bd28-3ca919608728', '5d791177-a44f-457a-afdb-4b96f485bcd6', 9, '2026-09-20', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0c4f05af-1ce0-49cb-8049-8ddef5649fc1', '5d791177-a44f-457a-afdb-4b96f485bcd6', 10, '2026-10-20', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb09d891-482d-4af6-90d2-aa0a8d522b6f', '5d791177-a44f-457a-afdb-4b96f485bcd6', 11, '2026-11-19', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e6d00e7-e409-425a-8016-d003bba9ca38', '5d791177-a44f-457a-afdb-4b96f485bcd6', 12, '2026-12-19', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28fd399d-c0da-45f6-a80b-f6787464a719', '5d791177-a44f-457a-afdb-4b96f485bcd6', 13, '2027-01-18', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ada4d1af-6e06-4d70-8d9e-dd7ab3213c1e', '5d791177-a44f-457a-afdb-4b96f485bcd6', 14, '2027-02-17', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('983dacc1-ecd9-448e-8498-2f841c8811aa', '5d791177-a44f-457a-afdb-4b96f485bcd6', 15, '2027-03-19', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9cfe6da1-b40c-4577-8a53-a1bdc9ced52d', '5d791177-a44f-457a-afdb-4b96f485bcd6', 16, '2027-04-18', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff66419e-dd9b-437d-b929-8df20d8ea236', '5d791177-a44f-457a-afdb-4b96f485bcd6', 17, '2027-05-18', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d552d6b9-20eb-4286-9d3a-ff1fde72a29c', '5d791177-a44f-457a-afdb-4b96f485bcd6', 18, '2027-06-17', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c18d7e3-52ee-4d1c-98b9-5cc56c7b28e6', '5d791177-a44f-457a-afdb-4b96f485bcd6', 19, '2027-07-17', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('52bba270-d3a4-4d36-85be-fa4dc182c01a', '5d791177-a44f-457a-afdb-4b96f485bcd6', 20, '2027-08-16', 300000.0, 90000.0, 390000.0, 0, NULL, 'unpaid');

-- Member: AGUS SALAM
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('fdf5f248-2fcf-43d7-8e0d-5d274b05ce0f', 'member92@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SALAM', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3446f881-dba9-48fe-a042-43aa85e24690', 'fdf5f248-2fcf-43d7-8e0d-5d274b05ce0f', '87', '87', 'AGUS SALAM', 'NIK-87', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2cd289bf-3c6c-4da7-9dfb-13567784d7c3', 'SAV-1-87', '3446f881-dba9-48fe-a042-43aa85e24690', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('575b8eb8-2287-49e1-b729-3bf83e622594', 'TRX-POKOK-87', '2cd289bf-3c6c-4da7-9dfb-13567784d7c3', '3446f881-dba9-48fe-a042-43aa85e24690', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f23a37fd-100a-461e-b1fe-2eaec001475b', 'SAV-2-87', '3446f881-dba9-48fe-a042-43aa85e24690', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c5718308-81fd-4ffc-9749-1e4761190658', 'TRX-WAJIB-87', 'f23a37fd-100a-461e-b1fe-2eaec001475b', '3446f881-dba9-48fe-a042-43aa85e24690', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fb6b2d25-04ba-44a8-8363-608350f57c7b', 'SAV-3-87', '3446f881-dba9-48fe-a042-43aa85e24690', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7a7fe852-4209-4ed9-893e-38f1bf3081be', 'TRX-SUKARELA-87', 'fb6b2d25-04ba-44a8-8363-608350f57c7b', '3446f881-dba9-48fe-a042-43aa85e24690', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 'LOAN-87-4e456f7a', '3446f881-dba9-48fe-a042-43aa85e24690', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83179db8-875b-4d74-a089-4f7f2c3c9ac7', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 1, '2026-08-21', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('637383c2-fa6a-4bc1-b4d9-1f267a6ac315', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 2, '2026-09-20', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8c4c8607-7230-4af4-bdaa-89e6a9a79aae', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 3, '2026-10-20', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d3e38be-f7f8-4af9-9f61-55ccf8c14ce2', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 4, '2026-11-19', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5804792b-5dac-4133-a34d-ac9b419c8cc2', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 5, '2026-12-19', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f187acef-503c-4aae-8783-953f387812ef', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 6, '2027-01-18', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb5f062d-3900-4b16-98fb-62219e0dd44f', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 7, '2027-02-17', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7ade643-76e2-4f9a-9681-16719be81760', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 8, '2027-03-19', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82d503e1-4c68-479c-88b0-99ea17a57468', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 9, '2027-04-18', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('343ae80c-9ecf-4a48-b0ba-28ea6720b553', '9581f7c7-95b2-4deb-b8b4-7db63c404c3c', 10, '2027-05-18', 500000.0, 0, 500000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('a16e4fc5-f870-4fb4-b7a7-69cfcb3e4642', 'ORD-87-a06de0a5', '3446f881-dba9-48fe-a042-43aa85e24690', 1134000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ABDUL WAHAB
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2eb7b2fd-8231-45cb-8d79-98903b5fa7a5', 'member93@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABDUL WAHAB', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fa0c3147-c12c-473e-8c48-5b7a12370ba4', '2eb7b2fd-8231-45cb-8d79-98903b5fa7a5', '88', '88', 'ABDUL WAHAB', 'NIK-88', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f03bbee-976f-4d5e-b230-1c56b277c505', 'SAV-1-88', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3d87d2ad-3218-444e-a575-561a2b1294ab', 'SAV-2-88', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4fafaef5-3f7f-4c35-a108-f5a668e359c9', 'TRX-WAJIB-88', '3d87d2ad-3218-444e-a575-561a2b1294ab', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('200a2c49-3dd1-40f4-ab73-e617acb982dc', 'SAV-3-88', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6125ff0f-f091-4fb3-ac72-c14cb7014ba3', 'TRX-SUKARELA-88', '200a2c49-3dd1-40f4-ab73-e617acb982dc', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('081dc97a-153b-40dd-aa97-8acef4cfc3af', 'LOAN-88-36f8c320', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 40, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('78eb30f3-f0f8-4d7b-a6c0-05a4eba5d3e6', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 1, '2025-04-28', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5173ea1d-1352-4bad-9e2a-dd617a09786e', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 2, '2025-05-28', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f92d4c53-fbbc-4948-a5b5-a3b62ecde94d', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 3, '2025-06-27', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('88355c17-f5aa-44d2-bcd5-49c515ee99bf', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 4, '2025-07-27', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('78c0d440-7d04-42f0-bc30-e971feb8235d', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 5, '2025-08-26', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('db15925f-bec7-4bb9-9996-ddc13c4287e7', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 6, '2025-09-25', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('41c7c4f4-22d2-45fb-9929-250e2f7911a3', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 7, '2025-10-25', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d96d26f-cf25-493f-84fd-3f9d69301772', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 8, '2025-11-24', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fd54002-5dd6-4068-babf-fa94024aa3b4', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 9, '2025-12-24', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cba10dfd-6fcb-4ede-824e-c9922e44471c', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 10, '2026-01-23', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('acd9c027-e124-4c00-b744-094afa94ca5f', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 11, '2026-02-22', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8865af7d-f9f4-4577-bdd4-9e34d72664b0', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 12, '2026-03-24', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cb83204c-283b-431f-bf36-dbd8b3c1b0c7', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 13, '2026-04-23', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2be76c05-ace2-4e63-94d0-3041da930e73', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 14, '2026-05-23', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f991b96-6605-47c5-9844-3e7013502111', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 15, '2026-06-22', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20d5b78c-34da-45a2-9e16-58c57a881573', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 16, '2026-07-22', 750000.0, 450000.0, 1200000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('679301e5-7101-4a2d-b55b-695e88609245', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 17, '2026-08-21', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e2323e7-fbc0-49a7-9184-c532b6ee32ad', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 18, '2026-09-20', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f405f9b-da74-4573-b3ac-ae64c15d2cb4', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 19, '2026-10-20', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d281a67-49ae-4ae5-80bf-bf6097f77d22', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 20, '2026-11-19', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5e1a7a99-8393-4105-a270-0af4dcafe082', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 21, '2026-12-19', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec0899a5-36d8-4856-96e0-3f15d2ddfec0', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 22, '2027-01-18', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e47f29f7-216a-47c6-8962-d055e1b11508', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 23, '2027-02-17', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8649dc3-8404-4bce-a2f1-131be098fdce', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 24, '2027-03-19', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('06105b21-c139-41a0-be46-c6f4436ca847', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 25, '2027-04-18', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ef5c1984-7348-417d-83b2-a8b7293adc5a', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 26, '2027-05-18', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8e1e14d-28fc-438b-bdac-b81e1e1e72a6', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 27, '2027-06-17', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22fc117e-85fc-4537-a81d-a584eeafecba', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 28, '2027-07-17', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('840b6f8e-f674-4954-a99f-155479e830fd', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 29, '2027-08-16', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f0f3e8b9-ca01-44d1-80af-fb8f1620aee4', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 30, '2027-09-15', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('720dd5b2-82d9-49ce-8f28-a9612ae25681', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 31, '2027-10-15', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3491d600-fd66-48bb-8d0a-072f7b4230c4', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 32, '2027-11-14', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('03666072-c3f9-43b0-b2d8-acbffcc0c025', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 33, '2027-12-14', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('406ea76f-ca4a-4729-bb36-f05c26338117', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 34, '2028-01-13', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('415a6b44-9f7d-4b73-8aab-95b6b5468ba8', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 35, '2028-02-12', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58309aa6-54d4-4c8c-ab1a-dd6469c3d550', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 36, '2028-03-13', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73ee76d7-6b71-4f64-845e-338ddb0e2277', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 37, '2028-04-12', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53cb2324-a7d4-4799-b9d7-13978d7aacd3', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 38, '2028-05-12', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ae17a76-10e6-4d9c-b01c-4496ac67c09b', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 39, '2028-06-11', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8da73096-f39a-4394-8300-9b6e8157e1d7', '081dc97a-153b-40dd-aa97-8acef4cfc3af', 40, '2028-07-11', 750000.0, 450000.0, 1200000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('ef287d95-091d-4ea0-b440-0d80ba350153', 'ORD-88-41b137f1', 'fa0c3147-c12c-473e-8c48-5b7a12370ba4', 62000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: WISNU ARYA PERMANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('83c241d8-95aa-4de3-a3b1-d16ffabe6e2a', 'member94@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WISNU ARYA PERMANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5eda0618-7483-4223-81a4-4b00264c15b2', '83c241d8-95aa-4de3-a3b1-d16ffabe6e2a', '89', '89', 'WISNU ARYA PERMANA', 'NIK-89', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('24054f48-d155-4013-9064-e304b75be850', 'SAV-1-89', '5eda0618-7483-4223-81a4-4b00264c15b2', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2e01019b-705d-41cf-a7e4-19e1fbd84401', 'SAV-2-89', '5eda0618-7483-4223-81a4-4b00264c15b2', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('25abf0f4-26d5-47ab-abdb-84f9c61cb908', 'TRX-WAJIB-89', '2e01019b-705d-41cf-a7e4-19e1fbd84401', '5eda0618-7483-4223-81a4-4b00264c15b2', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9328932c-4474-4fac-bd8c-05fefe190cbf', 'SAV-3-89', '5eda0618-7483-4223-81a4-4b00264c15b2', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('454ff981-1a9b-435c-b87f-b544aed2902b', 'TRX-SUKARELA-89', '9328932c-4474-4fac-bd8c-05fefe190cbf', '5eda0618-7483-4223-81a4-4b00264c15b2', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 'LOAN-89-21c1a3eb', '5eda0618-7483-4223-81a4-4b00264c15b2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 50000000.0, 50, 'Migrasi Data', 'disbursed', 50000000.0, 50000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a1f8e31-801b-4ee2-95f4-669a34c06563', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 1, '2026-02-22', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('668ada9c-1bc6-48de-94d1-e599d087eab5', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 2, '2026-03-24', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0857ef1-b4c6-4556-ac38-a3044a94e813', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 3, '2026-04-23', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff039798-3f9a-4e2a-83c1-791a0befec5f', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 4, '2026-05-23', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('da56741a-65c5-4300-9bcd-12561a623051', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 5, '2026-06-22', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cd9f08cb-3c03-4e33-ac46-14ddc824cbd9', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 6, '2026-07-22', 1000000.0, 700000.0, 1700000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75b98e3f-740d-42b8-87dc-884358ea2460', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 7, '2026-08-21', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21c69547-7db0-4588-a9dd-406522d9c2cb', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 8, '2026-09-20', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ec38169-2a1e-4b51-97d0-d15ad30c9a66', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 9, '2026-10-20', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('72006ce9-7739-4875-b053-ad6f1f4ca51b', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 10, '2026-11-19', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab9e3737-8477-4e92-99f1-e6344f3d6ce3', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 11, '2026-12-19', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e29b6ac4-d196-429e-97bd-91492e77b08a', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 12, '2027-01-18', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af96a551-9b81-4227-aa2a-59e9babc8a34', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 13, '2027-02-17', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('063657b9-f8c7-4653-833f-b13573bd98d5', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 14, '2027-03-19', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43648892-58a2-4b14-88f7-2eecbde6321a', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 15, '2027-04-18', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cd7c209-f842-4b0f-94b6-342746455460', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 16, '2027-05-18', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e88adca8-b15a-4496-bbe1-149b20a972f1', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 17, '2027-06-17', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d071492-9552-4219-9cb6-29bb18bfe450', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 18, '2027-07-17', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e4bb9653-efd5-48d5-8c81-4e3bdec08b9a', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 19, '2027-08-16', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b02d141-99ae-4176-bd66-e54d13014007', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 20, '2027-09-15', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('018340d0-9b84-4494-8c7b-021f6b450336', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 21, '2027-10-15', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dfe5564f-ebcc-434f-be1c-2902b002c832', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 22, '2027-11-14', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e447db8b-c867-431b-8e91-f69ad2f767a6', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 23, '2027-12-14', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8582f8c3-e9da-4744-a586-853accca41db', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 24, '2028-01-13', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cb85c9fd-ac07-4035-b35c-4ed00f054dc0', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 25, '2028-02-12', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6055e2a-9f65-429b-9699-430589567f21', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 26, '2028-03-13', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b81ee184-877e-4cef-8ce9-186ea419e4b8', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 27, '2028-04-12', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d0ee88a-0f62-4ddb-ba21-3882a53bf6f1', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 28, '2028-05-12', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('91bf050c-6f4d-4e4a-bb63-f84bcc8dda28', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 29, '2028-06-11', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6bc778f-cf40-4688-9cde-b2968635c29b', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 30, '2028-07-11', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6d8b5df3-e27a-4cb0-ab3e-17d86ebfaa3b', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 31, '2028-08-10', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a0ea1aa5-866b-4e74-bfb6-3f4dba09f9b7', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 32, '2028-09-09', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cce0e720-e96c-4a53-bc58-91c4092063b6', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 33, '2028-10-09', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77bb22d5-3745-4a99-a8c4-cf0362e4b962', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 34, '2028-11-08', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2da1cf34-1777-495e-915b-1ae164cc2581', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 35, '2028-12-08', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('442bbd77-ce55-4aa1-b1bd-8b14bff3904e', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 36, '2029-01-07', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0cf9d2c7-8664-4d81-aae9-ca94ddaa5e0d', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 37, '2029-02-06', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('86afe68b-5efa-45d3-ae05-b8406d7264e2', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 38, '2029-03-08', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1634095a-1a63-4fb8-99ae-46f60dd8e546', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 39, '2029-04-07', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac823bdd-0b84-4fb7-8d2e-70e462f4d995', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 40, '2029-05-07', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1323e032-0c8e-4456-872e-5657f676b1b1', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 41, '2029-06-06', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f11aea4d-2871-47da-a649-9086843548fa', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 42, '2029-07-06', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('18ef8d66-e285-4d52-a1c4-98d16bed2da0', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 43, '2029-08-05', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed539b37-c186-42e5-939c-f114d750cf5c', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 44, '2029-09-04', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4bd45c22-fac5-46a7-b9a9-947a7b817a18', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 45, '2029-10-04', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de0e3590-53c3-4b8a-b23b-1f1ebea8f095', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 46, '2029-11-03', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c848f9c0-57e4-4c2d-9843-50e63e9e089e', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 47, '2029-12-03', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('592d2ef7-e73c-4c6e-b000-6b5b3ca2ccc4', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 48, '2030-01-02', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe5c2f09-b9ac-4a66-a508-828b40798de7', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 49, '2030-02-01', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ecdc1faa-bd4d-403b-9858-7b220723ce15', '4fa4e3ba-48ea-4883-b3c8-83f1c8309382', 50, '2030-03-03', 1000000.0, 700000.0, 1700000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('2dced49f-b165-4198-ab92-e7782bcac898', 'ORD-89-3823b173', '5eda0618-7483-4223-81a4-4b00264c15b2', 146500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ASEP GUNAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('af5a1990-0fab-4949-b220-75c15e81fddb', 'member95@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ASEP GUNAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 'af5a1990-0fab-4949-b220-75c15e81fddb', '90', '90', 'ASEP GUNAWAN', 'NIK-90', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('698734a8-0b30-463d-8d54-a161c28b5d0e', 'SAV-1-90', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2c310828-f8ee-40f1-9bd3-bea9756450ad', 'TRX-POKOK-90', '698734a8-0b30-463d-8d54-a161c28b5d0e', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('211cda03-5eaa-4862-8a15-e57bc26c38dd', 'SAV-2-90', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5c804012-966a-4c10-8e74-7d7e22a6dfc4', 'TRX-WAJIB-90', '211cda03-5eaa-4862-8a15-e57bc26c38dd', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c8f88580-9ec0-4ca2-b6ea-115cff750edc', 'SAV-3-90', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('664bfe46-21a6-4c08-a293-7e5fba9b53f2', 'TRX-SUKARELA-90', 'c8f88580-9ec0-4ca2-b6ea-115cff750edc', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ffd636e8-bb82-4807-b89f-4fbad874504c', 'LOAN-90-5328090c', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15000000.0, 30, 'Migrasi Data', 'disbursed', 15000000.0, 15000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68299948-8edb-4480-b0f1-496694f8add8', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 1, '2026-03-24', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c10b8997-78d1-4a39-af31-fdd050be461e', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 2, '2026-04-23', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97d9dfcf-9567-436f-b714-5c01e98dc5b8', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 3, '2026-05-23', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6421b819-0865-468e-bf10-6c4ddefcf401', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 4, '2026-06-22', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10fdbb23-fe61-48fc-ba16-0ab6c558b59d', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 5, '2026-07-22', 500000.0, 225000.0, 725000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9887a045-2aad-419a-a798-773b604f0e87', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 6, '2026-08-21', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f66e32e-d5e6-455b-a2e9-110a7758c9c2', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 7, '2026-09-20', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7af045af-13d6-4048-8bce-e92b3f4c8309', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 8, '2026-10-20', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('401feb3e-b138-4a01-9f43-10b022c2850d', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 9, '2026-11-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a008700f-7412-4e35-8ab4-2beef23543c0', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 10, '2026-12-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8617fe6-1d62-4a4e-a2f1-ca412199e97d', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 11, '2027-01-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79fe8578-33d2-4f37-9fa5-66e3e448e81b', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 12, '2027-02-17', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe2a1e58-e899-4121-b7f5-fd34479054b1', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 13, '2027-03-19', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68928001-5009-4151-8a91-3c3553376e20', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 14, '2027-04-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55251f6d-1474-4ec4-9c17-ccc908d2de3b', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 15, '2027-05-18', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7122cfcc-b776-4f1e-b47e-2c4804caab52', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 16, '2027-06-17', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fab3bf4b-a29b-4814-a1e8-fdfecb97dfe4', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 17, '2027-07-17', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37cd6c98-9a68-4b23-811d-8912c5de1ec7', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 18, '2027-08-16', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c0542624-8f05-4799-ad06-63fcd0e4a9ae', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 19, '2027-09-15', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('345df945-9004-4404-8fad-8a2fe701bc01', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 20, '2027-10-15', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('379538af-fd6b-47f5-9488-f0cd2a73f355', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 21, '2027-11-14', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e31a3fe4-4713-4e7c-a553-116f5de1575d', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 22, '2027-12-14', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f66d83c-5994-4579-8a33-309184584b73', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 23, '2028-01-13', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4934802a-9287-45ce-b005-1cec22f0539a', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 24, '2028-02-12', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('350c7ad3-ee45-43d1-8e66-48c747f31282', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 25, '2028-03-13', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f5cc9afe-9b58-4f2e-a6d8-98b4a5367a07', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 26, '2028-04-12', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d14cc4d-845f-4bfb-a868-4e104319a8b8', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 27, '2028-05-12', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56810387-00a6-44ed-8b5d-1e1193e32dad', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 28, '2028-06-11', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d46d50e1-ee61-41be-bead-d3d2d3f8cedf', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 29, '2028-07-11', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6de68668-071e-47de-a4ee-70e236aa9a5b', 'ffd636e8-bb82-4807-b89f-4fbad874504c', 30, '2028-08-10', 500000.0, 225000.0, 725000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('fe1f98d6-b61a-4ef3-b4e2-edcff7bdda4a', 'ORD-90-74817137', '41efb355-d21e-42e5-9a7d-2bcfc7f5bcba', 35000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: EGI SETIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c7a5df97-4cc8-4712-8536-b660bceac642', 'member96@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'EGI SETIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7df6e46b-821f-4530-9031-e73d2ad42f73', 'c7a5df97-4cc8-4712-8536-b660bceac642', '91', '91', 'EGI SETIAWAN', 'NIK-91', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6cad3adc-ff1f-414b-b101-04b66dcda94a', 'SAV-1-91', '7df6e46b-821f-4530-9031-e73d2ad42f73', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d56f5003-17ea-4e25-929b-71c18988ec51', 'TRX-POKOK-91', '6cad3adc-ff1f-414b-b101-04b66dcda94a', '7df6e46b-821f-4530-9031-e73d2ad42f73', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('482071e9-5f47-4457-b0fd-d6a94ffd6f0f', 'SAV-2-91', '7df6e46b-821f-4530-9031-e73d2ad42f73', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('abe743ef-8ecf-4be0-a61e-3ed28551d33c', 'TRX-WAJIB-91', '482071e9-5f47-4457-b0fd-d6a94ffd6f0f', '7df6e46b-821f-4530-9031-e73d2ad42f73', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('66ae1583-bcf6-4c06-929b-c0fd2f1b5c09', 'SAV-3-91', '7df6e46b-821f-4530-9031-e73d2ad42f73', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ae2b1395-27a3-4eb9-ab0c-555eda6d0906', 'TRX-SUKARELA-91', '66ae1583-bcf6-4c06-929b-c0fd2f1b5c09', '7df6e46b-821f-4530-9031-e73d2ad42f73', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: EGI WAHYU SAPUTRO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4af016d3-b002-4610-9017-c5d393efc497', 'member97@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'EGI WAHYU SAPUTRO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', '4af016d3-b002-4610-9017-c5d393efc497', '92', '92', 'EGI WAHYU SAPUTRO', 'NIK-92', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d4fb3c67-b726-4057-894b-e5096daed8ac', 'SAV-1-92', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dc073f5c-8e0d-48d2-bf40-6aca8a4144e6', 'SAV-2-92', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('13c6db5b-70c6-4395-bf99-9f74798dce4b', 'TRX-WAJIB-92', 'dc073f5c-8e0d-48d2-bf40-6aca8a4144e6', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fd1defba-a012-4001-bc16-02171ce6e51b', 'SAV-3-92', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2ad25752-9ad7-4c2f-b06d-b81161508cd4', 'TRX-SUKARELA-92', 'fd1defba-a012-4001-bc16-02171ce6e51b', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b3737a4c-518d-40f6-9b6f-3a97ca086382', 'LOAN-92-6176db19', '3be5a8f8-18c8-4cc1-bb2a-abeeec9c3f9b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 40000000.0, 40, 'Migrasi Data', 'disbursed', 40000000.0, 40000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb5e35be-e67c-4f4f-86f0-8b1d4450f804', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 1, '2025-08-26', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8d9e619-59a1-44db-baf5-58c36351bacc', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 2, '2025-09-25', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b73c4c4a-285d-4a45-80d7-7639ae73ca3c', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 3, '2025-10-25', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1c4e6611-e692-4ae3-9faa-d7750d04c8e1', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 4, '2025-11-24', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ce288c2a-34d9-461f-bec1-f4f7a8c44f4e', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 5, '2025-12-24', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e4777a5-9202-48f3-8234-7471cab09d99', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 6, '2026-01-23', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80855b4a-bd30-4d03-979f-26abe1f7dd9f', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 7, '2026-02-22', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee5e21a4-42a8-4bac-b0b8-63501ed7b14a', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 8, '2026-03-24', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca9aa170-951e-41f7-afaa-a37b3824b96e', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 9, '2026-04-23', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2dc5236d-abb2-42d1-b3f9-6085e3af6edc', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 10, '2026-05-23', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99932a0c-0f55-4a81-9e61-45e4ddd2f26c', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 11, '2026-06-22', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea1207ee-1572-47ff-85ad-53ad117080f8', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 12, '2026-07-22', 1000000.0, 560000.0, 1560000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b3bb4ef-9488-4364-b1a1-5f900cbade07', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 13, '2026-08-21', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea00202d-6af7-48e4-a0f9-52e05e2820a5', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 14, '2026-09-20', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d42bcbc7-d2aa-4ba0-9ac2-4d95db975d21', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 15, '2026-10-20', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d642ce47-ac41-40fd-88db-43fa2b27216a', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 16, '2026-11-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82c3d83e-56d9-4732-9354-a4b40097176e', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 17, '2026-12-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3c368e8-dcdd-4ec1-b6f7-0925e8774489', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 18, '2027-01-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e9e1cab-ef16-402c-8f1d-bd272ea5c196', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 19, '2027-02-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee49a706-93f7-49f8-94b8-274bea7a483a', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 20, '2027-03-19', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a4055d1-93fd-4b42-a7db-b4d30a2dab5d', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 21, '2027-04-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('74950cb9-98b5-47d8-bf25-30654727b537', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 22, '2027-05-18', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66beae5c-e776-4d41-a2dd-ea10a257e730', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 23, '2027-06-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8cbc0966-5f72-44b0-9cd7-288a8c30aaa3', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 24, '2027-07-17', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c185e220-2b77-45db-b3a3-c844a62f2df8', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 25, '2027-08-16', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab36bbfb-6767-4117-9152-200768479826', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 26, '2027-09-15', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d3d98ff-2ad3-4b89-9397-80c7c4aafeb9', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 27, '2027-10-15', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca0b9131-ba80-4640-b61d-b0100baf9c13', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 28, '2027-11-14', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf618b97-18ca-48bb-876b-dba261b7b005', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 29, '2027-12-14', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5aff7ea4-75ea-4925-8e4f-faf0ff300fc8', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 30, '2028-01-13', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('72f01160-1aae-4e11-9adc-96c21d87eb00', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 31, '2028-02-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ecd687d4-67fd-48e7-af77-ae98fb2a29f4', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 32, '2028-03-13', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd99dc9c-285a-409f-8f80-cdfc46330470', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 33, '2028-04-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb2a03a7-ec33-4576-a76c-d713362a5e50', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 34, '2028-05-12', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b75ebf0-2a36-4b94-9125-e2d9ac2d854e', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 35, '2028-06-11', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d11bd2e-63ff-4f7f-a453-43630241d48b', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 36, '2028-07-11', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2848890-319d-48a1-bf82-ba7fb157da3f', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 37, '2028-08-10', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8db157ea-4fe4-4c0e-ab4a-9f3362a8046f', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 38, '2028-09-09', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('195d65f4-305f-4167-ac04-987db690c619', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 39, '2028-10-09', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('900f53c1-5950-4764-bd55-48cd47b51432', 'b3737a4c-518d-40f6-9b6f-3a97ca086382', 40, '2028-11-08', 1000000.0, 560000.0, 1560000.0, 0, NULL, 'unpaid');

-- Member: SUPRIATNA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('23d3f010-2fa5-4c65-b16e-9f848425aa5b', 'member98@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUPRIATNA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f971997b-206c-4c4c-87a3-d5aa0ae283a7', '23d3f010-2fa5-4c65-b16e-9f848425aa5b', '93', '93', 'SUPRIATNA', 'NIK-93', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9742b26c-6a0b-4655-9ea1-c09d2e8b2f9f', 'SAV-1-93', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f1e884a1-f6ad-4ddc-8888-d66075168037', 'TRX-POKOK-93', '9742b26c-6a0b-4655-9ea1-c09d2e8b2f9f', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c61de745-a151-4403-8ccf-0bf622073d1a', 'SAV-2-93', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9200f1fc-0148-4914-92fe-f851631a8086', 'TRX-WAJIB-93', 'c61de745-a151-4403-8ccf-0bf622073d1a', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('24b12a64-91c5-43c9-b1f7-cfb1f34b2cdc', 'SAV-3-93', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('72aea776-c170-4af1-99bd-593b26a31486', 'TRX-SUKARELA-93', '24b12a64-91c5-43c9-b1f7-cfb1f34b2cdc', 'f971997b-206c-4c4c-87a3-d5aa0ae283a7', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: AGUS.
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('dd6cc2c1-11a6-463f-90b2-9018d0f5fca3', 'member99@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS.', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a014f72f-6df6-481d-ae01-b385fb46af9c', 'dd6cc2c1-11a6-463f-90b2-9018d0f5fca3', '94', '94', 'AGUS.', 'NIK-94', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3638aa9e-f65f-44de-a0cb-15a31bda4730', 'SAV-1-94', 'a014f72f-6df6-481d-ae01-b385fb46af9c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('afa8f44e-5bed-4323-bc9a-e1eb23454698', 'SAV-2-94', 'a014f72f-6df6-481d-ae01-b385fb46af9c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cef6245c-54ed-4077-b152-94db2edb26d5', 'TRX-WAJIB-94', 'afa8f44e-5bed-4323-bc9a-e1eb23454698', 'a014f72f-6df6-481d-ae01-b385fb46af9c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1ccf4abb-ec70-4217-ac1c-5a022d459d69', 'SAV-3-94', 'a014f72f-6df6-481d-ae01-b385fb46af9c', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3a7cceea-1f02-4eaa-b569-9bce819c3edc', 'TRX-SUKARELA-94', '1ccf4abb-ec70-4217-ac1c-5a022d459d69', 'a014f72f-6df6-481d-ae01-b385fb46af9c', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');

-- Member: MUHAMMAD EFENDY ALAMSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('76a1955e-70d8-4275-bafb-a06b083caf00', 'member100@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMMAD EFENDY ALAMSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bbc9c2ca-b71e-4be6-bb24-73a6d3903fcd', '76a1955e-70d8-4275-bafb-a06b083caf00', '95', '95', 'MUHAMMAD EFENDY ALAMSYAH', 'NIK-95', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a44eabf2-cfa6-4452-989a-72ad59a97b37', 'SAV-1-95', 'bbc9c2ca-b71e-4be6-bb24-73a6d3903fcd', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0e81d563-b278-4065-9280-ee01cdb96f08', 'SAV-2-95', 'bbc9c2ca-b71e-4be6-bb24-73a6d3903fcd', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2fb307c8-484b-4405-b188-924dc042ebfd', 'SAV-3-95', 'bbc9c2ca-b71e-4be6-bb24-73a6d3903fcd', 3, 0.0, true);

-- Member: DADIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f25f20aa-c638-4ffa-8fb9-b4e04e782611', 'member101@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DADIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f966ee81-c77a-4bac-b7c8-98040099f9fe', 'f25f20aa-c638-4ffa-8fb9-b4e04e782611', '96', '96', 'DADIH', 'NIK-96', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('64ce7f50-1bc3-4bd8-8149-23caf3e47300', 'SAV-1-96', 'f966ee81-c77a-4bac-b7c8-98040099f9fe', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('42d25f40-01f6-40af-91d9-1aa21c3f7f9e', 'SAV-2-96', 'f966ee81-c77a-4bac-b7c8-98040099f9fe', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('42215c91-9c6c-43dc-a904-d0b649537bdf', 'TRX-WAJIB-96', '42d25f40-01f6-40af-91d9-1aa21c3f7f9e', 'f966ee81-c77a-4bac-b7c8-98040099f9fe', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0bc59b35-5ef0-46c0-a5b2-01ec685961fe', 'SAV-3-96', 'f966ee81-c77a-4bac-b7c8-98040099f9fe', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('97d78e70-de85-47df-8a29-dede0dc0c549', 'TRX-SUKARELA-96', '0bc59b35-5ef0-46c0-a5b2-01ec685961fe', 'f966ee81-c77a-4bac-b7c8-98040099f9fe', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: ANGGA PANORAMA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4ad1e35e-df91-436e-9e49-ff7a49278ddc', 'member102@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ANGGA PANORAMA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('dd4b0a00-6d4d-4c08-9cc3-9800780c062d', '4ad1e35e-df91-436e-9e49-ff7a49278ddc', '97', '97', 'ANGGA PANORAMA', 'NIK-97', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b514aebb-7a10-4a8a-b0fb-5b7bd2e24aea', 'SAV-1-97', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('926cdf4a-e7de-4f0e-8e09-da7cbbf18d04', 'TRX-POKOK-97', 'b514aebb-7a10-4a8a-b0fb-5b7bd2e24aea', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('227bf202-0df9-4dd8-9538-ab14af6a98b1', 'SAV-2-97', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d7f3a218-8fcb-4e04-ab15-4ffaadcf48b5', 'TRX-WAJIB-97', '227bf202-0df9-4dd8-9538-ab14af6a98b1', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1a05e048-bf7d-4fe2-b1ad-baf645bda3d8', 'SAV-3-97', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f64462cc-6321-4c99-860a-f4d8ca26153d', 'TRX-SUKARELA-97', '1a05e048-bf7d-4fe2-b1ad-baf645bda3d8', 'dd4b0a00-6d4d-4c08-9cc3-9800780c062d', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: RUDI HARTONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6af76f63-9779-438e-9f56-009bbd265d54', 'member103@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RUDI HARTONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3f839324-b1f5-459d-bad9-3b3308a41339', '6af76f63-9779-438e-9f56-009bbd265d54', '98', '98', 'RUDI HARTONO', 'NIK-98', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e7336207-39d2-42d7-88a4-24357c7ab59e', 'SAV-1-98', '3f839324-b1f5-459d-bad9-3b3308a41339', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bb572f66-8c4a-4f6b-8bcf-b4f9c041b826', 'TRX-POKOK-98', 'e7336207-39d2-42d7-88a4-24357c7ab59e', '3f839324-b1f5-459d-bad9-3b3308a41339', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bebb5b39-bc03-4b90-b7f9-3ec0c71e48db', 'SAV-2-98', '3f839324-b1f5-459d-bad9-3b3308a41339', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('538082ec-548a-46dd-b54d-fb387e1f1b7a', 'TRX-WAJIB-98', 'bebb5b39-bc03-4b90-b7f9-3ec0c71e48db', '3f839324-b1f5-459d-bad9-3b3308a41339', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b260d5ca-22a5-4498-a499-a87cf56d04b5', 'SAV-3-98', '3f839324-b1f5-459d-bad9-3b3308a41339', 3, 0.0, true);

-- Member: MUHAMAD BASRI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4b2c9b6d-c236-4972-a056-f00cbcb437cb', 'member104@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMAD BASRI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5cca07d4-fc5c-46b8-8fca-7737076bd2dc', '4b2c9b6d-c236-4972-a056-f00cbcb437cb', '99', '99', 'MUHAMAD BASRI', 'NIK-99', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('362a6be3-91da-4295-973a-083eb40007a8', 'SAV-1-99', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('69266fb7-1191-4700-a00e-61fe64294d13', 'TRX-POKOK-99', '362a6be3-91da-4295-973a-083eb40007a8', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('142308f1-15a2-45e6-8df8-848e51903ea3', 'SAV-2-99', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('56a869d6-c70b-4ba9-a6a1-1257086215f5', 'TRX-WAJIB-99', '142308f1-15a2-45e6-8df8-848e51903ea3', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bba9863b-5141-4b8f-a53a-8c66adcb887c', 'SAV-3-99', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c7a3a7a4-c7aa-4c46-be33-12d0e1d2d9fc', 'TRX-SUKARELA-99', 'bba9863b-5141-4b8f-a53a-8c66adcb887c', '5cca07d4-fc5c-46b8-8fca-7737076bd2dc', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: RIYANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3850a7cb-b7c4-4f68-90bd-521efc55de7e', 'member105@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIYANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2b8f7ff0-39f4-42f7-8530-899f6bc08382', '3850a7cb-b7c4-4f68-90bd-521efc55de7e', '100', '100', 'RIYANA', 'NIK-100', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('508d02d5-8c0e-4d26-a360-0ab7947903b6', 'SAV-1-100', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('47165005-96a9-473e-9f77-f6745408a10b', 'SAV-2-100', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7b0fe9d5-453d-4c78-a47f-443ab91195ef', 'TRX-WAJIB-100', '47165005-96a9-473e-9f77-f6745408a10b', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1da2e007-6568-41b7-b9f5-7328fc86d644', 'SAV-3-100', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dd17f6f7-ea3a-4c66-a40f-c3c4625b3ff5', 'TRX-SUKARELA-100', '1da2e007-6568-41b7-b9f5-7328fc86d644', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 'LOAN-100-579352f7', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 20000000.0, 20, 'Migrasi Data', 'disbursed', 20000000.0, 20000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fd09896-ff20-48b3-b87c-1126529ffffd', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 1, '2025-09-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f9e2651-5b07-4198-ab21-63573309ef93', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 2, '2025-10-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a990e84a-7877-4ef4-9692-aa7183857f64', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 3, '2025-11-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ecc1e67-480c-487d-ac21-37159b41e102', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 4, '2025-12-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('11dd4ddc-73f4-42a9-833e-c900f41994d6', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 5, '2026-01-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43ff4491-1a02-4a84-9e1d-1552c0bc58d3', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 6, '2026-02-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ce4a6d81-1f9d-493c-bbf8-67a354c8f07f', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 7, '2026-03-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e75c3ea4-fc11-46a3-bba3-0173c980ac7e', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 8, '2026-04-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ceea04b-d650-4733-9414-17db92acc0b0', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 9, '2026-05-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f22597a-6fcc-4502-a677-923bec7770bb', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 10, '2026-06-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19de1624-05f8-4093-b0dc-8d4342fb0965', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 11, '2026-07-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82f3837e-9428-4647-815a-7fbd8adc4a42', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 12, '2026-08-21', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('454d6e37-5ea2-4035-a68f-b5994f4901d5', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 13, '2026-09-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('513ae8da-d1c9-40fe-932e-7b13bbf9a915', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 14, '2026-10-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e5f9208-8eda-4dcd-8613-9e5efebcf063', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 15, '2026-11-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ce6f6f4-d2c7-4c61-8dc7-f9ac6186b6e2', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 16, '2026-12-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d89603ed-23c4-4d58-984c-1d77e8da818d', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 17, '2027-01-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('316eb93b-461a-4d74-a3b1-0437e79fd637', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 18, '2027-02-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('40674bf7-84c8-40cb-ab10-f4c126b77a58', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 19, '2027-03-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd19d989-3107-4397-a1bd-3cfc6c7de066', '65bf4c0f-516d-4b9a-a69f-a7fdc3e5b2ad', 20, '2027-04-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('faa56b4f-379f-4b20-851b-a0e91b304d1a', 'LOAN-100-6100886f', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 8000000.0, 20, 'Migrasi Data', 'disbursed', 8000000.0, 8000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51fa6384-0157-4687-84a2-e934ee4cbf55', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 1, '2025-12-24', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('001cb2a7-401c-4eb5-90cf-ec134b4e40e8', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 2, '2026-01-23', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4a3fc8a-05df-4959-8d36-a87f28267b77', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 3, '2026-02-22', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a9cb95a-a785-41ff-a0e4-fa7f2d79a507', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 4, '2026-03-24', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69d32b2b-a88c-47af-86c1-e3eb8a5274c4', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 5, '2026-04-23', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85694074-26b6-4543-81fd-61999c09c564', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 6, '2026-05-23', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b72d87b3-66d1-440c-aab7-ff3fe7192c3f', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 7, '2026-06-22', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15206042-aa01-4838-aa7d-e2188586d8a2', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 8, '2026-07-22', 400000.0, 120000.0, 520000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75875983-5b0b-4098-9ec4-86ef7a07d1f6', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 9, '2026-08-21', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0642d3b2-e414-4799-8d12-8eeacdfe5c8e', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 10, '2026-09-20', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c523bd40-19ae-4697-b406-f3e38089e2cd', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 11, '2026-10-20', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b9cc42c-9cc7-4e7c-8d59-8c6276541927', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 12, '2026-11-19', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('251fee72-3f86-4450-bf1d-0328d3a5b48e', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 13, '2026-12-19', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe28d15b-6d86-48c9-bf39-40dfd3974058', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 14, '2027-01-18', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d486d386-7a52-46e4-8b2f-07cd779c1de4', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 15, '2027-02-17', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44561ad4-28cb-4d07-b7e2-63cc61f1b64e', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 16, '2027-03-19', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7118714a-22d3-4167-8c38-2fa6dcde3a3b', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 17, '2027-04-18', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('36b5e159-4e5f-4e7e-9ef5-845781b06814', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 18, '2027-05-18', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ecdf28a-dc86-4cef-ab25-91440623c660', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 19, '2027-06-17', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21205319-5f83-476c-8ba2-fb1ada32750b', 'faa56b4f-379f-4b20-851b-a0e91b304d1a', 20, '2027-07-17', 400000.0, 120000.0, 520000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('96e88aa6-4539-4229-9ec8-66adfcd1ca1f', 'ORD-100-8191ce75', '2b8f7ff0-39f4-42f7-8530-899f6bc08382', 116000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: FAZRYAWAN MUHAMMAD
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('75312ae5-36f5-452c-a941-1a8738331447', 'member106@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'FAZRYAWAN MUHAMMAD', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7408e2c8-71f3-4406-b175-a27844d04a07', '75312ae5-36f5-452c-a941-1a8738331447', '101', '101', 'FAZRYAWAN MUHAMMAD', 'NIK-101', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('72eb40cc-82b9-43a9-8270-92e9de57d55f', 'SAV-1-101', '7408e2c8-71f3-4406-b175-a27844d04a07', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0125c5d5-1f24-4b00-bc71-2b2940c036d6', 'TRX-POKOK-101', '72eb40cc-82b9-43a9-8270-92e9de57d55f', '7408e2c8-71f3-4406-b175-a27844d04a07', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c81bc1a6-87ba-4c79-99b6-231c7bf96573', 'SAV-2-101', '7408e2c8-71f3-4406-b175-a27844d04a07', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('938fae0b-9f48-41f7-b9e9-8d0cec81d373', 'TRX-WAJIB-101', 'c81bc1a6-87ba-4c79-99b6-231c7bf96573', '7408e2c8-71f3-4406-b175-a27844d04a07', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('528f5434-e77d-47ff-b887-0da9ec6330d1', 'SAV-3-101', '7408e2c8-71f3-4406-b175-a27844d04a07', 3, 500000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5f462a7e-3454-42cd-9d28-8bb90f5e5d20', 'TRX-SUKARELA-101', '528f5434-e77d-47ff-b887-0da9ec6330d1', '7408e2c8-71f3-4406-b175-a27844d04a07', 'deposit', 500000.0, 0, 500000.0, 'Saldo Awal Migrasi');

-- Member: ARJUN SAPUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('82c91b96-1068-4fec-af7a-d9c1509ec670', 'member107@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ARJUN SAPUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a3396e47-0406-4393-9ac5-33f07553e89b', '82c91b96-1068-4fec-af7a-d9c1509ec670', '102', '102', 'ARJUN SAPUTRA', 'NIK-102', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8f8fdb3d-d0d3-43d0-823e-bf4e58f96906', 'SAV-1-102', 'a3396e47-0406-4393-9ac5-33f07553e89b', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7834f521-a231-49cb-9096-62aee301f700', 'TRX-POKOK-102', '8f8fdb3d-d0d3-43d0-823e-bf4e58f96906', 'a3396e47-0406-4393-9ac5-33f07553e89b', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('10dd63bf-1888-46ae-ae4d-eb4a8beb20fc', 'SAV-2-102', 'a3396e47-0406-4393-9ac5-33f07553e89b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a52bc87f-fe7d-4ef9-9871-8ff2d24a3f3c', 'TRX-WAJIB-102', '10dd63bf-1888-46ae-ae4d-eb4a8beb20fc', 'a3396e47-0406-4393-9ac5-33f07553e89b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91d17786-1f63-4867-99ad-4229b9aaba65', 'SAV-3-102', 'a3396e47-0406-4393-9ac5-33f07553e89b', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b215c608-1e7c-48b8-a2e4-e20ff1dbe867', 'TRX-SUKARELA-102', '91d17786-1f63-4867-99ad-4229b9aaba65', 'a3396e47-0406-4393-9ac5-33f07553e89b', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');

-- Member: MUHAMAD AILUL KHAFIE
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('5d5e88a0-d171-4e8a-a394-ee7acb939544', 'member108@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMAD AILUL KHAFIE', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c1315af9-c061-4cb9-94c6-2110c69e5b50', '5d5e88a0-d171-4e8a-a394-ee7acb939544', '103', '103', 'MUHAMAD AILUL KHAFIE', 'NIK-103', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3e6d6c3f-97fb-4bcb-bcee-6fbd67ff45d4', 'SAV-1-103', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7ed36589-304b-4863-be06-ee0fc7810b6d', 'TRX-POKOK-103', '3e6d6c3f-97fb-4bcb-bcee-6fbd67ff45d4', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a8c79d2d-851e-485f-ba6f-bb7af25645b8', 'SAV-2-103', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1c47de48-b0c5-4fc0-932f-b7065fa591f1', 'TRX-WAJIB-103', 'a8c79d2d-851e-485f-ba6f-bb7af25645b8', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('278facfb-824f-40d4-a4f5-69eb25331a2a', 'SAV-3-103', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fdf72719-e0e2-46f2-956f-62f9a051d168', 'TRX-SUKARELA-103', '278facfb-824f-40d4-a4f5-69eb25331a2a', 'c1315af9-c061-4cb9-94c6-2110c69e5b50', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: MUHAMAD ALIF IRFA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8673c199-bd1b-4dc3-a9b5-a641eb08edd1', 'member109@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMAD ALIF IRFA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8bffe133-7141-4740-b5f7-045e7174115c', '8673c199-bd1b-4dc3-a9b5-a641eb08edd1', '104', '104', 'MUHAMAD ALIF IRFA', 'NIK-104', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7ad1f2fc-cf60-4262-8912-478f2a951878', 'SAV-1-104', '8bffe133-7141-4740-b5f7-045e7174115c', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4d6be2c5-f677-48d9-8f56-f18bc236fdf5', 'TRX-POKOK-104', '7ad1f2fc-cf60-4262-8912-478f2a951878', '8bffe133-7141-4740-b5f7-045e7174115c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9ac188ad-5772-4f42-9e9b-b1f26cb6e257', 'SAV-2-104', '8bffe133-7141-4740-b5f7-045e7174115c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('870fbc54-1b06-4dd4-bbea-2dc1584fff48', 'TRX-WAJIB-104', '9ac188ad-5772-4f42-9e9b-b1f26cb6e257', '8bffe133-7141-4740-b5f7-045e7174115c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1d6132e2-6c5b-4231-af4b-dccaf4e2295b', 'SAV-3-104', '8bffe133-7141-4740-b5f7-045e7174115c', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0c92e7e4-0c91-41c7-9b90-7855019a15ff', 'TRX-SUKARELA-104', '1d6132e2-6c5b-4231-af4b-dccaf4e2295b', '8bffe133-7141-4740-b5f7-045e7174115c', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: NURDIANTO SHIDDIQ
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8551d127-7f5b-48c0-aace-7949dca8962c', 'member110@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURDIANTO SHIDDIQ', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', '8551d127-7f5b-48c0-aace-7949dca8962c', '105', '105', 'NURDIANTO SHIDDIQ', 'NIK-105', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8463a5dd-5c97-43ed-8220-8362047f5e1b', 'SAV-1-105', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dcd4252a-3244-4b03-83e1-3290364d4842', 'TRX-POKOK-105', '8463a5dd-5c97-43ed-8220-8362047f5e1b', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ee777b4e-d2f3-4407-8028-f91204a3e909', 'SAV-2-105', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('18762a2f-993d-4858-b1b4-cc61244b09aa', 'TRX-WAJIB-105', 'ee777b4e-d2f3-4407-8028-f91204a3e909', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b1f4ec74-fbbb-4288-aeed-129b7f9be9ce', 'SAV-3-105', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a1950b00-9c27-49ba-b7d2-ea56f66cbdc7', 'TRX-SUKARELA-105', 'b1f4ec74-fbbb-4288-aeed-129b7f9be9ce', '3aa0a520-6af6-4b1f-9a4a-91b2eb95008f', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: MOHAMMAD ABDUL FAJAR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('62dfc450-3b48-430b-a610-ef1fbf8f8e22', 'member111@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOHAMMAD ABDUL FAJAR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5e839a61-f5bc-4460-9770-1275083d4c81', '62dfc450-3b48-430b-a610-ef1fbf8f8e22', '106', '106', 'MOHAMMAD ABDUL FAJAR', 'NIK-106', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a90026ec-c5ba-4bfd-a85d-3137bae5e901', 'SAV-1-106', '5e839a61-f5bc-4460-9770-1275083d4c81', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0b311cbc-5de9-4db4-9159-4f4b7c77421e', 'TRX-POKOK-106', 'a90026ec-c5ba-4bfd-a85d-3137bae5e901', '5e839a61-f5bc-4460-9770-1275083d4c81', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0bab5cb5-8878-43fb-876d-c8d4c63e3268', 'SAV-2-106', '5e839a61-f5bc-4460-9770-1275083d4c81', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('807de8a0-e678-4ed8-a1de-c8cdc39b7a97', 'TRX-WAJIB-106', '0bab5cb5-8878-43fb-876d-c8d4c63e3268', '5e839a61-f5bc-4460-9770-1275083d4c81', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f104388b-f7d1-4a0d-85fd-bdbaec9f649a', 'SAV-3-106', '5e839a61-f5bc-4460-9770-1275083d4c81', 3, 150000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('74bb8485-923e-41a4-89f4-4bc5918a08b4', 'TRX-SUKARELA-106', 'f104388b-f7d1-4a0d-85fd-bdbaec9f649a', '5e839a61-f5bc-4460-9770-1275083d4c81', 'deposit', 150000.0, 0, 150000.0, 'Saldo Awal Migrasi');

-- Member: M. HUSNI ALPAJRI SAPUTRA B
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('9e50da3a-1dee-4735-bb0c-8bd4c4472a73', 'member112@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'M. HUSNI ALPAJRI SAPUTRA B', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', '9e50da3a-1dee-4735-bb0c-8bd4c4472a73', '107', '107', 'M. HUSNI ALPAJRI SAPUTRA B', 'NIK-107', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7c55a994-df39-43ee-9a66-0339c9fb74f4', 'SAV-1-107', '5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5d0aa4ae-7907-4928-affb-612ecf6c2cf7', 'TRX-POKOK-107', '7c55a994-df39-43ee-9a66-0339c9fb74f4', '5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f3e02b39-fa8d-431b-b731-dcf385ab4bfd', 'SAV-2-107', '5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f0be6047-feb5-423c-a324-d887e87c87a0', 'TRX-WAJIB-107', 'f3e02b39-fa8d-431b-b731-dcf385ab4bfd', '5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('117976ee-e5e6-441d-8332-6e14011cf36c', 'SAV-3-107', '5bd3f7b2-b1a5-467c-8bbe-577d319afb8a', 3, 0.0, true);

-- Member: REFALDI AWALUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('83f8ada0-68d8-4478-9865-1285e7ffc6f4', 'member113@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'REFALDI AWALUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('573448f4-ea70-4dff-9791-33142530cb3c', '83f8ada0-68d8-4478-9865-1285e7ffc6f4', '108', '108', 'REFALDI AWALUDIN', 'NIK-108', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c84a4142-579c-490c-b676-bdc823f9ec6a', 'SAV-1-108', '573448f4-ea70-4dff-9791-33142530cb3c', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('49de8618-f7c6-45fa-8da0-9c6bed0807a8', 'TRX-POKOK-108', 'c84a4142-579c-490c-b676-bdc823f9ec6a', '573448f4-ea70-4dff-9791-33142530cb3c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('decf32a4-772e-49b6-a84d-ee32469adb53', 'SAV-2-108', '573448f4-ea70-4dff-9791-33142530cb3c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9a2013d0-cd20-4794-aebd-e38d4bc89741', 'TRX-WAJIB-108', 'decf32a4-772e-49b6-a84d-ee32469adb53', '573448f4-ea70-4dff-9791-33142530cb3c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d22e748e-813a-4089-b44b-9c5caea81665', 'SAV-3-108', '573448f4-ea70-4dff-9791-33142530cb3c', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0ab52bc0-aa92-4f7c-90bd-904a6505b3cf', 'TRX-SUKARELA-108', 'd22e748e-813a-4089-b44b-9c5caea81665', '573448f4-ea70-4dff-9791-33142530cb3c', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: ADNAN FAUZI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('46a094c8-f762-4412-8ba6-3a0e5ee776f0', 'member114@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ADNAN FAUZI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('27a947d9-b2fb-461a-83f5-826d817d9d81', '46a094c8-f762-4412-8ba6-3a0e5ee776f0', '109', '109', 'ADNAN FAUZI', 'NIK-109', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4846a278-04ad-4ab3-a6df-313867387a4e', 'SAV-1-109', '27a947d9-b2fb-461a-83f5-826d817d9d81', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b4ad6d40-8755-49eb-aad3-19253a286f39', 'SAV-2-109', '27a947d9-b2fb-461a-83f5-826d817d9d81', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a798025f-1492-4e72-be55-1678b63b1a37', 'SAV-3-109', '27a947d9-b2fb-461a-83f5-826d817d9d81', 3, 0.0, true);

-- Member: RENDI ANGGARA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0bd49151-d1f0-4772-8174-04c204828689', 'member115@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RENDI ANGGARA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('569ae265-f517-4933-97d3-6bbbe9695d4c', '0bd49151-d1f0-4772-8174-04c204828689', '110', '110', 'RENDI ANGGARA', 'NIK-110', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dc69f0dd-f43c-4b48-8d83-eec7bddd8782', 'SAV-1-110', '569ae265-f517-4933-97d3-6bbbe9695d4c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d0795168-cbc3-4a4c-87d8-1c799771e7aa', 'SAV-2-110', '569ae265-f517-4933-97d3-6bbbe9695d4c', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('22437f70-1a7a-45d1-912a-ea5650cf4e66', 'SAV-3-110', '569ae265-f517-4933-97d3-6bbbe9695d4c', 3, 0.0, true);

-- Member: RIDHO ABDI PUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('20ef621c-c2d7-4da8-9e03-30f03c4fc81f', 'member116@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIDHO ABDI PUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('90ef588c-3f73-4d24-80d4-b4eff0ebb7e8', '20ef621c-c2d7-4da8-9e03-30f03c4fc81f', '111', '111', 'RIDHO ABDI PUTRA', 'NIK-111', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0a6538f7-342d-41e3-b0ab-533eeaa70d85', 'SAV-1-111', '90ef588c-3f73-4d24-80d4-b4eff0ebb7e8', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2472a9b3-a492-4cc4-9e7b-71f94f4f04d4', 'SAV-2-111', '90ef588c-3f73-4d24-80d4-b4eff0ebb7e8', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6d41fb78-ab42-4ecc-95dc-8761fd76fb98', 'SAV-3-111', '90ef588c-3f73-4d24-80d4-b4eff0ebb7e8', 3, 0.0, true);

-- Member: SYAHRUL ILHAM PRATAMA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d5fb3325-6aff-49a9-ba4e-3b7387abf0df', 'member117@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SYAHRUL ILHAM PRATAMA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7e63fedd-17fd-4759-b14a-82ca63423362', 'd5fb3325-6aff-49a9-ba4e-3b7387abf0df', '112', '112', 'SYAHRUL ILHAM PRATAMA', 'NIK-112', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9f4e368e-d507-478c-877d-0e6dbbf272d9', 'SAV-1-112', '7e63fedd-17fd-4759-b14a-82ca63423362', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aae334eb-bfd5-4428-8163-5946eb7c2eda', 'SAV-2-112', '7e63fedd-17fd-4759-b14a-82ca63423362', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('935d8d4c-f478-455f-836e-b6224dc27c9f', 'SAV-3-112', '7e63fedd-17fd-4759-b14a-82ca63423362', 3, 0.0, true);

-- Member: HERI SUSANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8528d982-71ca-47d0-ae6a-9e6f04c444c7', 'member118@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERI SUSANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('362a5433-f139-4684-a4d4-f81c3e017619', '8528d982-71ca-47d0-ae6a-9e6f04c444c7', '113', '113', 'HERI SUSANTO', 'NIK-113', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('54e8871b-42a2-4261-b770-944157a8b002', 'SAV-1-113', '362a5433-f139-4684-a4d4-f81c3e017619', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ba208251-9922-4c82-a7da-dfd89f1cab12', 'SAV-2-113', '362a5433-f139-4684-a4d4-f81c3e017619', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2c0f9712-5eb0-4dbf-b098-6cd73aef0eb5', 'TRX-WAJIB-113', 'ba208251-9922-4c82-a7da-dfd89f1cab12', '362a5433-f139-4684-a4d4-f81c3e017619', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dd41f90f-c819-4539-a1fa-c41e133a12c1', 'SAV-3-113', '362a5433-f139-4684-a4d4-f81c3e017619', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('3993343b-72fb-4255-b7ed-d9ca62649b3c', 'LOAN-113-f05f8057', '362a5433-f139-4684-a4d4-f81c3e017619', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 20000000.0, 20, 'Migrasi Data', 'disbursed', 20000000.0, 20000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('490ec83e-7e78-4e38-8dd6-d336353a5700', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 1, '2026-08-21', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1ca6be4f-612c-481b-b3d4-1de9981fcc43', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 2, '2026-09-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0c1df2c-f8ca-4d9c-ac43-6000284989ba', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 3, '2026-10-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a10ed829-613a-43bd-bb0e-52c291804e94', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 4, '2026-11-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8d589be-f164-462e-84d8-542660c7c271', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 5, '2026-12-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e930e7b0-7a4f-4ef6-87c9-1f988ae6b1bf', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 6, '2027-01-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f48335d-7541-48c6-a2a1-1759b6e0593f', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 7, '2027-02-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d43a135e-0c94-4271-b8fa-354df110b580', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 8, '2027-03-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ead93752-7573-469c-83d6-d79ec273d355', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 9, '2027-04-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d5f63c9-c2e9-42b3-b9af-49feac4fd996', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 10, '2027-05-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1a2db153-0e13-46bf-b86c-2c964dccfcf4', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 11, '2027-06-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('957b6bdc-8f74-4809-b596-0395a3b9e2f2', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 12, '2027-07-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ef4512e7-80e0-426a-9b42-ad1fc4c867d4', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 13, '2027-08-16', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4abd3831-4756-4e4f-b7b6-e33df55443f1', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 14, '2027-09-15', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a7f47915-9377-4885-9e11-d9b60d093c1a', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 15, '2027-10-15', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d22532c6-fdce-41d1-bd16-40fef6049e3b', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 16, '2027-11-14', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6b8c4293-659e-470a-a097-a425fddb7e38', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 17, '2027-12-14', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5020d045-7dc8-4aae-b946-49ca41c2fc1e', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 18, '2028-01-13', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8da79219-f718-4b18-a10e-5dbf07231185', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 19, '2028-02-12', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ac221e0-3c18-4610-ba25-5dbefebed8c5', '3993343b-72fb-4255-b7ed-d9ca62649b3c', 20, '2028-03-13', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');

-- Member: APEN SUPENDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a58c84e7-df39-40de-9752-d708797ac1b8', 'member119@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'APEN SUPENDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 'a58c84e7-df39-40de-9752-d708797ac1b8', '114', '114', 'APEN SUPENDI', 'NIK-114', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ee0d9dde-4327-4a2d-badd-a1dca9788da9', 'SAV-1-114', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ae9e86d1-57fa-47c5-82e7-b8ec9145db3b', 'SAV-2-114', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('55b343bd-5e6b-4a31-8304-560eafc48769', 'TRX-WAJIB-114', 'ae9e86d1-57fa-47c5-82e7-b8ec9145db3b', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ed6653b-4003-477d-ba45-5cd21fc9c921', 'SAV-3-114', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 3, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9dce04cd-eb25-4bda-b6ad-3fe0f14a2720', 'TRX-SUKARELA-114', '0ed6653b-4003-477d-ba45-5cd21fc9c921', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('85dd9f17-cdbf-48f5-9a35-3ee8dc13ff8d', 'ORD-114-c1859c2a', '7e19c384-455f-4bf8-bdbe-d9c5a040fe80', 112500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: MUSTOPA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c2dd6994-e4ff-459d-a97c-4af5ec045f0b', 'member120@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUSTOPA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6ddc3191-36ce-4f19-b91b-841118480dae', 'c2dd6994-e4ff-459d-a97c-4af5ec045f0b', '115', '115', 'MUSTOPA', 'NIK-115', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('65c75e9b-28a1-46b0-8a52-59411b98f546', 'SAV-1-115', '6ddc3191-36ce-4f19-b91b-841118480dae', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c1a1b6a8-08bd-4e04-9c7f-b962abb42d58', 'SAV-2-115', '6ddc3191-36ce-4f19-b91b-841118480dae', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('336657d9-9000-4b1e-a323-47cd1fc72cc2', 'TRX-WAJIB-115', 'c1a1b6a8-08bd-4e04-9c7f-b962abb42d58', '6ddc3191-36ce-4f19-b91b-841118480dae', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9ec19174-ac75-42a1-a221-a3c8e665a2f7', 'SAV-3-115', '6ddc3191-36ce-4f19-b91b-841118480dae', 3, 35000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ff754930-9401-4301-8f05-b446260fd2d0', 'TRX-SUKARELA-115', '9ec19174-ac75-42a1-a221-a3c8e665a2f7', '6ddc3191-36ce-4f19-b91b-841118480dae', 'deposit', 35000.0, 0, 35000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ee353b48-6fbe-492a-972d-45cb401201cf', 'LOAN-115-50695828', '6ddc3191-36ce-4f19-b91b-841118480dae', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 25, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('557edf6b-8af0-4c0d-a321-0136e90cc0ce', 'ee353b48-6fbe-492a-972d-45cb401201cf', 1, '2026-01-23', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47c0e5b7-0a38-4bee-84de-e12c758c99a1', 'ee353b48-6fbe-492a-972d-45cb401201cf', 2, '2026-02-22', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('642c6cf0-152c-42c8-9f82-702300f2c54f', 'ee353b48-6fbe-492a-972d-45cb401201cf', 3, '2026-03-24', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95d20317-0d1a-476c-a632-717c4365b11f', 'ee353b48-6fbe-492a-972d-45cb401201cf', 4, '2026-04-23', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35b8fbfd-4fe0-4c66-948c-f2b23a6ad2fb', 'ee353b48-6fbe-492a-972d-45cb401201cf', 5, '2026-05-23', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1e1c5a24-b71e-4c0e-9820-75f6b4d73525', 'ee353b48-6fbe-492a-972d-45cb401201cf', 6, '2026-06-22', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51a174c9-436d-4a27-b5ee-50614b31d9e4', 'ee353b48-6fbe-492a-972d-45cb401201cf', 7, '2026-07-22', 200000.0, 75000.0, 275000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f95d0699-283c-470c-80ab-d67a8836bb6c', 'ee353b48-6fbe-492a-972d-45cb401201cf', 8, '2026-08-21', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ef0cf07-4c92-471d-9999-e49637076aea', 'ee353b48-6fbe-492a-972d-45cb401201cf', 9, '2026-09-20', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8981fd5-6db5-4d02-aa46-6bce51651070', 'ee353b48-6fbe-492a-972d-45cb401201cf', 10, '2026-10-20', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e0d1e01-bdb4-41da-8676-10f98ff4e7da', 'ee353b48-6fbe-492a-972d-45cb401201cf', 11, '2026-11-19', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d04256d-4100-4cef-82a5-787248bd72f4', 'ee353b48-6fbe-492a-972d-45cb401201cf', 12, '2026-12-19', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7651abc-50d4-41af-a995-911008ba5ce5', 'ee353b48-6fbe-492a-972d-45cb401201cf', 13, '2027-01-18', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a6c8755-227e-4579-8fcd-8474e58fdcc7', 'ee353b48-6fbe-492a-972d-45cb401201cf', 14, '2027-02-17', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de64f0db-840e-4149-b4f1-74fde5eb4bb2', 'ee353b48-6fbe-492a-972d-45cb401201cf', 15, '2027-03-19', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4357da3-b921-410b-8a4d-7e33729f6464', 'ee353b48-6fbe-492a-972d-45cb401201cf', 16, '2027-04-18', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff599530-ee10-4844-a1a2-be1bbbd6d176', 'ee353b48-6fbe-492a-972d-45cb401201cf', 17, '2027-05-18', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ad98689-e7fd-451f-b067-fc2e9371150e', 'ee353b48-6fbe-492a-972d-45cb401201cf', 18, '2027-06-17', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('36ebfe87-f634-4098-b853-41eedce53ca8', 'ee353b48-6fbe-492a-972d-45cb401201cf', 19, '2027-07-17', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5867e89-b505-4f89-8970-932cb7448e71', 'ee353b48-6fbe-492a-972d-45cb401201cf', 20, '2027-08-16', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3bcadff-a810-4875-b8a9-a11f58a422e3', 'ee353b48-6fbe-492a-972d-45cb401201cf', 21, '2027-09-15', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af7ddb52-a761-4379-8a74-aac4af48e8b3', 'ee353b48-6fbe-492a-972d-45cb401201cf', 22, '2027-10-15', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77a3f5d2-41b1-4f1d-a413-3d6b1347de5b', 'ee353b48-6fbe-492a-972d-45cb401201cf', 23, '2027-11-14', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9bc32abc-5605-44ce-8da3-455d51ec50d2', 'ee353b48-6fbe-492a-972d-45cb401201cf', 24, '2027-12-14', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75dad6ee-52da-4cca-89b4-8aaf6a0d950f', 'ee353b48-6fbe-492a-972d-45cb401201cf', 25, '2028-01-13', 200000.0, 75000.0, 275000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('89fe0214-86c5-4e3c-8215-258591e9735d', 'LOAN-115-7ebd09d3', '6ddc3191-36ce-4f19-b91b-841118480dae', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3000000.0, 20, 'Migrasi Data', 'disbursed', 3000000.0, 3000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8cce376a-dfe0-4930-96c3-9cc748ea8870', '89fe0214-86c5-4e3c-8215-258591e9735d', 1, '2025-01-28', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bea15a04-24b1-465a-89ee-66fc209ef72f', '89fe0214-86c5-4e3c-8215-258591e9735d', 2, '2025-02-27', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3a2da2b7-e0ba-4ad0-8406-d793af2492ac', '89fe0214-86c5-4e3c-8215-258591e9735d', 3, '2025-03-29', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f785842-aa6a-4fc1-a08f-96d203df5452', '89fe0214-86c5-4e3c-8215-258591e9735d', 4, '2025-04-28', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5632f0d5-61a5-48f4-a937-a075ee4507c7', '89fe0214-86c5-4e3c-8215-258591e9735d', 5, '2025-05-28', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af8ab8e0-6648-4f6f-875c-6b567e1cc1fb', '89fe0214-86c5-4e3c-8215-258591e9735d', 6, '2025-06-27', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8588abec-ad87-4f32-bf9d-dc5a5b80b1d1', '89fe0214-86c5-4e3c-8215-258591e9735d', 7, '2025-07-27', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad2cf9bb-3460-45ee-becd-9ddd1d3d1705', '89fe0214-86c5-4e3c-8215-258591e9735d', 8, '2025-08-26', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83f5e058-86c4-45d1-9363-22e8cc38163f', '89fe0214-86c5-4e3c-8215-258591e9735d', 9, '2025-09-25', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('536616d3-4bf0-4862-a156-7f9316b6b12d', '89fe0214-86c5-4e3c-8215-258591e9735d', 10, '2025-10-25', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd32834a-d862-464f-a4b3-1f2efb338bf9', '89fe0214-86c5-4e3c-8215-258591e9735d', 11, '2025-11-24', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97e6deb6-27c3-47ba-a25c-1cbeb8fbc8fa', '89fe0214-86c5-4e3c-8215-258591e9735d', 12, '2025-12-24', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e7a4ce2-389f-413e-8827-19defe548916', '89fe0214-86c5-4e3c-8215-258591e9735d', 13, '2026-01-23', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2fc246c2-d7cd-4911-8a8a-ce599f41985a', '89fe0214-86c5-4e3c-8215-258591e9735d', 14, '2026-02-22', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3585482f-5b4f-49b8-8ba7-7b92e323b62d', '89fe0214-86c5-4e3c-8215-258591e9735d', 15, '2026-03-24', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97749147-079a-452e-b3ff-e98aa6f70dce', '89fe0214-86c5-4e3c-8215-258591e9735d', 16, '2026-04-23', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('05d450b0-6eca-43ab-b637-ddefb6f6dc25', '89fe0214-86c5-4e3c-8215-258591e9735d', 17, '2026-05-23', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('90dc5bef-c947-4bf4-a6ea-e1337730bec7', '89fe0214-86c5-4e3c-8215-258591e9735d', 18, '2026-06-22', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c85f18ea-eb8f-4169-8255-f576a41dfc4c', '89fe0214-86c5-4e3c-8215-258591e9735d', 19, '2026-07-22', 150000.0, 45000.0, 195000.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b9ebbb3-e629-4ec5-9c73-002bf7be16ea', '89fe0214-86c5-4e3c-8215-258591e9735d', 20, '2026-08-21', 150000.0, 45000.0, 195000.0, 0, NULL, 'unpaid');

-- Member: HERI HERDIANSYAH BINTARA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7962a683-f330-4bb5-a91c-d6bd674d9af4', 'member121@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERI HERDIANSYAH BINTARA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', '7962a683-f330-4bb5-a91c-d6bd674d9af4', '116', '116', 'HERI HERDIANSYAH BINTARA', 'NIK-116', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('86d5dbcf-82ce-40f5-a34f-3cbf44345787', 'SAV-1-116', '0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3cd3744d-6b7a-46f7-9d92-4adbbfe32dbf', 'SAV-2-116', '0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('369bb9a2-b6bd-4e85-be03-1194002f8270', 'TRX-WAJIB-116', '3cd3744d-6b7a-46f7-9d92-4adbbfe32dbf', '0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('09f2ae9f-1dc0-42fc-8872-a6ee17165886', 'SAV-3-116', '0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', 3, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1d61b969-1e62-49fe-9f77-7f5157745155', 'TRX-SUKARELA-116', '09f2ae9f-1dc0-42fc-8872-a6ee17165886', '0cfd8d18-4259-4a54-a059-e5e1a3c2cfd9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');

-- Member: KAHFI ADIYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ba20aba9-7b3e-4ca1-bc83-749af1395877', 'member122@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KAHFI ADIYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('0df81731-66f2-4766-98f5-d9f0f092bd25', 'ba20aba9-7b3e-4ca1-bc83-749af1395877', '117', '117', 'KAHFI ADIYAT', 'NIK-117', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0e0f1f6e-1a98-44ea-9b94-e497d7d6de42', 'SAV-1-117', '0df81731-66f2-4766-98f5-d9f0f092bd25', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e266f830-ddca-401d-8e3d-d3725609ce79', 'SAV-2-117', '0df81731-66f2-4766-98f5-d9f0f092bd25', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e8c31740-34e3-4097-b091-9a45e835f383', 'TRX-WAJIB-117', 'e266f830-ddca-401d-8e3d-d3725609ce79', '0df81731-66f2-4766-98f5-d9f0f092bd25', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('172ea0d7-bae3-479f-beff-5bc5b4d6a609', 'SAV-3-117', '0df81731-66f2-4766-98f5-d9f0f092bd25', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('837d7ef1-57b5-4356-8c06-e6cb46b0ba5c', 'TRX-SUKARELA-117', '172ea0d7-bae3-479f-beff-5bc5b4d6a609', '0df81731-66f2-4766-98f5-d9f0f092bd25', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: MUHAMMAD HAFIZ NURMAWANSAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d967173d-26d2-4750-94c7-0356f7653c15', 'member123@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMMAD HAFIZ NURMAWANSAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e156716e-df14-4498-9956-2ccc12e5e4de', 'd967173d-26d2-4750-94c7-0356f7653c15', '118', '118', 'MUHAMMAD HAFIZ NURMAWANSAH', 'NIK-118', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4fbd00b3-0f4c-4fe0-8a28-315a36f0883f', 'SAV-1-118', 'e156716e-df14-4498-9956-2ccc12e5e4de', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4ea51a08-43b4-4a80-ac7a-9db583655c9e', 'SAV-2-118', 'e156716e-df14-4498-9956-2ccc12e5e4de', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d495d3b7-085d-47e1-b418-46c9a51482a0', 'TRX-WAJIB-118', '4ea51a08-43b4-4a80-ac7a-9db583655c9e', 'e156716e-df14-4498-9956-2ccc12e5e4de', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('30248120-5b24-45f3-bc6e-26882454ad8e', 'SAV-3-118', 'e156716e-df14-4498-9956-2ccc12e5e4de', 3, 0.0, true);

-- Member: AHMAD HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('40bc9323-a940-4c5e-a512-a895d396d523', 'member124@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AHMAD HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('916752e1-3472-4cf7-a06c-351f64374b27', '40bc9323-a940-4c5e-a512-a895d396d523', '119', '119', 'AHMAD HIDAYAT', 'NIK-119', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('06747990-475a-4078-8828-95e4db1bdfa8', 'SAV-1-119', '916752e1-3472-4cf7-a06c-351f64374b27', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cee0e992-4886-4c76-9bfd-f4e156b88ebd', 'SAV-2-119', '916752e1-3472-4cf7-a06c-351f64374b27', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e4ee3ba0-71a3-43a4-a470-7b2167f5601e', 'TRX-WAJIB-119', 'cee0e992-4886-4c76-9bfd-f4e156b88ebd', '916752e1-3472-4cf7-a06c-351f64374b27', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f751d15-19b2-4088-abab-55f8176c720b', 'SAV-3-119', '916752e1-3472-4cf7-a06c-351f64374b27', 3, 0.0, true);

-- Member: AGUS SUGIARTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('20aa8b94-7228-4ae1-b2c5-99da6d30500e', 'member125@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SUGIARTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3ae823ea-c506-4ff9-8c1c-91d145358c9f', '20aa8b94-7228-4ae1-b2c5-99da6d30500e', '120', '120', 'AGUS SUGIARTO', 'NIK-120', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3185e268-024f-40b0-95a0-eb923781b035', 'SAV-1-120', '3ae823ea-c506-4ff9-8c1c-91d145358c9f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1ff8bac6-3715-4fb0-b1ee-e1a787801f3d', 'SAV-2-120', '3ae823ea-c506-4ff9-8c1c-91d145358c9f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('31d6030a-0c8d-44f0-9faf-1d0714d2cec8', 'TRX-WAJIB-120', '1ff8bac6-3715-4fb0-b1ee-e1a787801f3d', '3ae823ea-c506-4ff9-8c1c-91d145358c9f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('10ef90a6-1aa8-447e-9b82-54240f132ce8', 'SAV-3-120', '3ae823ea-c506-4ff9-8c1c-91d145358c9f', 3, 0.0, true);

-- Member: MUHAMMAD SHOLEH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('871e96fd-9177-486a-af4b-0977a40de7fe', 'member126@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMMAD SHOLEH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3aa48978-4e8d-4a21-a1ad-6eeca2092682', '871e96fd-9177-486a-af4b-0977a40de7fe', '121', '121', 'MUHAMMAD SHOLEH', 'NIK-121', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d20de539-e880-4661-ab61-593aa3cc4aca', 'SAV-1-121', '3aa48978-4e8d-4a21-a1ad-6eeca2092682', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cc24d8e8-3792-44ba-8322-01294d751299', 'SAV-2-121', '3aa48978-4e8d-4a21-a1ad-6eeca2092682', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9637c682-6a15-498b-b646-6348ae3add9d', 'TRX-WAJIB-121', 'cc24d8e8-3792-44ba-8322-01294d751299', '3aa48978-4e8d-4a21-a1ad-6eeca2092682', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d56cf275-4faa-4825-8ada-1be7fe57c47b', 'SAV-3-121', '3aa48978-4e8d-4a21-a1ad-6eeca2092682', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('326d7256-e0a3-44bc-a0d6-aec11199d531', 'TRX-SUKARELA-121', 'd56cf275-4faa-4825-8ada-1be7fe57c47b', '3aa48978-4e8d-4a21-a1ad-6eeca2092682', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');

-- Member: WAWAN HERMAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ac7fc0e5-72f5-447a-9e85-2aa86fdb94e0', 'member127@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WAWAN HERMAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ed3c5d61-a74b-4e96-9a29-96391de76e08', 'ac7fc0e5-72f5-447a-9e85-2aa86fdb94e0', '122', '122', 'WAWAN HERMAWAN', 'NIK-122', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4c24e797-e039-4bc1-a1a5-036e8661c86c', 'SAV-1-122', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('02a82eec-7434-4483-bf29-c8939841574a', 'SAV-2-122', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('498290fa-e8de-40aa-89b0-b8c55159740b', 'TRX-WAJIB-122', '02a82eec-7434-4483-bf29-c8939841574a', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a4c1d535-61f0-4a32-a7ca-e0181a7ddc06', 'SAV-3-122', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0ffd19f1-8ee7-4aa6-8f8c-8b1f1e8fdc4b', 'TRX-SUKARELA-122', 'a4c1d535-61f0-4a32-a7ca-e0181a7ddc06', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('83e5cb41-8668-4452-ba0e-8a5baf710742', 'LOAN-122-61aa42e8', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 39999990.0, 30, 'Migrasi Data', 'disbursed', 39999990.0, 39999990.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68b04c4e-7e7c-4da6-b882-17aa1490d8ba', '83e5cb41-8668-4452-ba0e-8a5baf710742', 1, '2026-03-24', 1333333.0, 600000.0, 1933333.0, 1333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c90b40b3-b9ff-47e4-ac8b-3296a2579a79', '83e5cb41-8668-4452-ba0e-8a5baf710742', 2, '2026-04-23', 1333333.0, 600000.0, 1933333.0, 1333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3259534-a933-4fa9-a2d1-31ddd05a8006', '83e5cb41-8668-4452-ba0e-8a5baf710742', 3, '2026-05-23', 1333333.0, 600000.0, 1933333.0, 1333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3b90be5-b81e-4bba-8401-f851514ca15a', '83e5cb41-8668-4452-ba0e-8a5baf710742', 4, '2026-06-22', 1333333.0, 600000.0, 1933333.0, 1333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ed53f98-d42d-4e28-a75e-0de90c914f99', '83e5cb41-8668-4452-ba0e-8a5baf710742', 5, '2026-07-22', 1333333.0, 600000.0, 1933333.0, 1333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e2d3277d-3593-484d-8454-7074e20e478a', '83e5cb41-8668-4452-ba0e-8a5baf710742', 6, '2026-08-21', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e23cf0eb-0b70-4440-b6e9-9cc002f34c6d', '83e5cb41-8668-4452-ba0e-8a5baf710742', 7, '2026-09-20', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('da30a05d-1048-4c82-85e5-9b508bf485e3', '83e5cb41-8668-4452-ba0e-8a5baf710742', 8, '2026-10-20', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0cca0444-8a5b-440f-b0c8-2fcf5c0cfe31', '83e5cb41-8668-4452-ba0e-8a5baf710742', 9, '2026-11-19', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b96c8b8e-61fd-4db5-b0a1-b07d18206db7', '83e5cb41-8668-4452-ba0e-8a5baf710742', 10, '2026-12-19', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b1dd16c-3670-4285-8e47-761c7845d504', '83e5cb41-8668-4452-ba0e-8a5baf710742', 11, '2027-01-18', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55e40ace-adfb-4b42-8797-c7852b02a25f', '83e5cb41-8668-4452-ba0e-8a5baf710742', 12, '2027-02-17', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10af5b93-f283-4f2f-90b0-0e89b392fa92', '83e5cb41-8668-4452-ba0e-8a5baf710742', 13, '2027-03-19', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6b8617f-4bff-4a20-9cf7-9bb6d9d62b0f', '83e5cb41-8668-4452-ba0e-8a5baf710742', 14, '2027-04-18', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bbc18290-7cd2-4475-ac8a-36d6eb2ff19e', '83e5cb41-8668-4452-ba0e-8a5baf710742', 15, '2027-05-18', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24a02d27-d940-4755-85e7-959454ea9817', '83e5cb41-8668-4452-ba0e-8a5baf710742', 16, '2027-06-17', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('619cdfbe-3571-4e37-b104-0079fb8ecae5', '83e5cb41-8668-4452-ba0e-8a5baf710742', 17, '2027-07-17', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('670ce2a8-a351-4776-b21b-a3a7d4788b24', '83e5cb41-8668-4452-ba0e-8a5baf710742', 18, '2027-08-16', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6a12020-ffbf-4bb5-9dca-d31e1c3005b5', '83e5cb41-8668-4452-ba0e-8a5baf710742', 19, '2027-09-15', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('add93c58-b23d-456a-a18c-4a21f60467ef', '83e5cb41-8668-4452-ba0e-8a5baf710742', 20, '2027-10-15', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d0a90da4-0a0b-488c-a2d2-3cdd48c2ec45', '83e5cb41-8668-4452-ba0e-8a5baf710742', 21, '2027-11-14', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('67d77f28-824c-457a-a1f2-31e6ccebed92', '83e5cb41-8668-4452-ba0e-8a5baf710742', 22, '2027-12-14', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69699963-4d81-4006-a2c2-d2f930730e45', '83e5cb41-8668-4452-ba0e-8a5baf710742', 23, '2028-01-13', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10ffb78a-0508-4831-a16b-5b3d6aa07332', '83e5cb41-8668-4452-ba0e-8a5baf710742', 24, '2028-02-12', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a64052fb-0f49-4a94-90ef-65c6b39f0c8a', '83e5cb41-8668-4452-ba0e-8a5baf710742', 25, '2028-03-13', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0de04d75-3942-479e-8704-63fa69e5de99', '83e5cb41-8668-4452-ba0e-8a5baf710742', 26, '2028-04-12', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33d8fd54-f84b-42fe-a8ba-d52879a73fbd', '83e5cb41-8668-4452-ba0e-8a5baf710742', 27, '2028-05-12', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5afa39a3-97d0-4866-b7ec-255ae569d036', '83e5cb41-8668-4452-ba0e-8a5baf710742', 28, '2028-06-11', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('852f4121-c2a3-452a-8783-47bcc38f525e', '83e5cb41-8668-4452-ba0e-8a5baf710742', 29, '2028-07-11', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4dcb2e03-b237-4f6b-8573-d56c67db884d', '83e5cb41-8668-4452-ba0e-8a5baf710742', 30, '2028-08-10', 1333333.0, 600000.0, 1933333.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('a76830b8-3b3e-4c5c-b098-29488b06edcd', 'LOAN-122-8c8cafd3', 'ed3c5d61-a74b-4e96-9a29-96391de76e08', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 20000000.0, 20, 'Migrasi Data', 'disbursed', 20000000.0, 20000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d7e6031-f611-4fdd-b33a-7096c50f8f7c', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 1, '2025-12-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5977c786-eb07-42bb-858d-e0bc208420b2', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 2, '2026-01-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('86dba69c-0bc7-405b-9cc0-7198a2fdb85a', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 3, '2026-02-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1ce478e0-d7a1-494a-8025-e79ed4e58a43', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 4, '2026-03-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('615e58fc-eaac-47db-b72d-c018440aa769', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 5, '2026-04-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aba12ff7-6d85-4bfd-b038-e3b7079af7a6', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 6, '2026-05-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33a6e48e-71ba-4f28-a457-bf91f3fe3012', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 7, '2026-06-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c63a2d10-f360-48d0-8566-683dfe3b4ef0', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 8, '2026-07-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('92473035-8261-4bae-98b3-53448af43db1', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 9, '2026-08-21', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a97fa50f-a6fe-405d-8d69-772446364c6d', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 10, '2026-09-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9605f38f-7945-47c9-98e8-539e32e9a142', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 11, '2026-10-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b690e6a1-4d13-4400-a0a5-8346bd3d9768', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 12, '2026-11-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d894a1a-862f-45eb-bce2-5ccc3cc756a3', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 13, '2026-12-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('50275c6a-dfe4-413a-8da5-498ab83aafea', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 14, '2027-01-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d09f9409-fbf8-4bdb-a6bc-1f05217db91d', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 15, '2027-02-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('998af06a-344c-4c65-b097-a2d3e5f247a8', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 16, '2027-03-19', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('431437ef-b77b-44c4-afaf-4fd654e25acf', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 17, '2027-04-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5e389d11-7460-44c9-af1f-2ac2ba9e1a38', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 18, '2027-05-18', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7c948d6-1f61-4c2e-a8d1-30a74ca5f86c', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 19, '2027-06-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b35e16e-c2e1-4bd8-b177-e88351e22208', 'a76830b8-3b3e-4c5c-b098-29488b06edcd', 20, '2027-07-17', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');

-- Member: WIBOWO RAHARDJO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('416b1999-fa32-4e6a-adb2-4348e5e9305e', 'member128@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WIBOWO RAHARDJO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('378254cb-9928-46dc-9a99-74a91b032b02', '416b1999-fa32-4e6a-adb2-4348e5e9305e', '123', '123', 'WIBOWO RAHARDJO', 'NIK-123', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('55a2a2a4-05eb-485b-8bdc-ee520a39127a', 'SAV-1-123', '378254cb-9928-46dc-9a99-74a91b032b02', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('21ae141d-8207-43a4-bb31-751b5932a2f8', 'SAV-2-123', '378254cb-9928-46dc-9a99-74a91b032b02', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2d0ec30e-54b2-469e-84f7-3f612a215136', 'TRX-WAJIB-123', '21ae141d-8207-43a4-bb31-751b5932a2f8', '378254cb-9928-46dc-9a99-74a91b032b02', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('440e5c8b-39c9-4455-b1c8-05acc1834e61', 'SAV-3-123', '378254cb-9928-46dc-9a99-74a91b032b02', 3, 5000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6dcd01c5-d331-4e2d-9abf-ee69c90ac8f4', 'TRX-SUKARELA-123', '440e5c8b-39c9-4455-b1c8-05acc1834e61', '378254cb-9928-46dc-9a99-74a91b032b02', 'deposit', 5000.0, 0, 5000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('ff16b9ad-0040-4da7-94cf-2cc714d20479', 'ORD-123-e5b7e7f1', '378254cb-9928-46dc-9a99-74a91b032b02', 286000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: YOYON SUPRIYONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d9849481-e223-41ce-86b7-db6edcce2e51', 'member129@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YOYON SUPRIYONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('422c349d-fad7-402a-90eb-ffa57574f3af', 'd9849481-e223-41ce-86b7-db6edcce2e51', '124', '124', 'YOYON SUPRIYONO', 'NIK-124', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2bf2eda8-c53c-41d5-94b3-5352cbca85b1', 'SAV-1-124', '422c349d-fad7-402a-90eb-ffa57574f3af', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cfd26de1-45c4-4e91-b36c-d1d445b7bf2a', 'SAV-2-124', '422c349d-fad7-402a-90eb-ffa57574f3af', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3251de66-ea1f-4c64-8712-f90cb909f190', 'TRX-WAJIB-124', 'cfd26de1-45c4-4e91-b36c-d1d445b7bf2a', '422c349d-fad7-402a-90eb-ffa57574f3af', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('424c38cd-a17b-473c-8147-857313418ffc', 'SAV-3-124', '422c349d-fad7-402a-90eb-ffa57574f3af', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('6dc34a3c-a12e-478d-ae79-a9e9548961e8', 'LOAN-124-492fe1f7', '422c349d-fad7-402a-90eb-ffa57574f3af', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 37250000.0, 20, 'Migrasi Data', 'disbursed', 37250000.0, 37250000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97cf1d2e-91f5-4c62-a1cd-3c1c420d9db1', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 1, '2026-02-22', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f03ac167-9e43-46bf-9da4-6b2175b4cd3c', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 2, '2026-03-24', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('474e2f0a-e8b9-4858-bf83-72e108750bae', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 3, '2026-04-23', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('912915ba-2477-4fc2-96e6-ba2ed9990da5', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 4, '2026-05-23', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('14e740c4-0473-48c7-9863-dec74cee5432', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 5, '2026-06-22', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c451bf63-af6e-419e-92d4-ae824340a38c', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 6, '2026-07-22', 1862500.0, 558750.0, 2421250.0, 1862500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('374251a5-e6a1-49c1-b9d5-170a02e6fdc8', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 7, '2026-08-21', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d63ecadb-c82c-4370-8207-a4ae2d1d3ba3', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 8, '2026-09-20', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12e1cbc4-728f-48e5-a590-c29cdb97932f', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 9, '2026-10-20', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37c3ec37-891b-42d8-a3e7-c5e7dc1c35d6', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 10, '2026-11-19', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2d416691-5456-49ab-87fb-65b5816c8abc', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 11, '2026-12-19', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e3e97382-4f85-4ba7-b3a8-6e4724bdb2d8', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 12, '2027-01-18', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e9e08a2-5ca0-4628-b703-18ce24693c63', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 13, '2027-02-17', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6c9af63-289b-4b18-89ae-777180365922', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 14, '2027-03-19', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8eab5bf3-e093-433e-92ab-7efe77766515', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 15, '2027-04-18', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('969ae7df-5c6b-47c1-b07c-27421ec89029', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 16, '2027-05-18', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bedc1e87-a734-44a5-b054-2fc1cc936f43', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 17, '2027-06-17', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0bbf9710-ce0a-4331-b15f-9af92b231f22', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 18, '2027-07-17', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1150036f-eda8-4aa4-8ec0-0fb6b273383f', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 19, '2027-08-16', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cd6db17-6b56-40a1-a54b-1385dfbfe974', '6dc34a3c-a12e-478d-ae79-a9e9548961e8', 20, '2027-09-15', 1862500.0, 558750.0, 2421250.0, 0, NULL, 'unpaid');

-- Member: BAMBANG KRISMANU
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6e53e8ee-7873-446b-845d-d96339aee071', 'member130@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BAMBANG KRISMANU', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('05ddee2f-432b-434f-9557-c1424774fc91', '6e53e8ee-7873-446b-845d-d96339aee071', '125', '125', 'BAMBANG KRISMANU', 'NIK-125', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('af571a7e-75fc-4034-a046-805f1b6dd450', 'SAV-1-125', '05ddee2f-432b-434f-9557-c1424774fc91', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0c39cd78-eea3-4306-8e4f-b348ef997032', 'SAV-2-125', '05ddee2f-432b-434f-9557-c1424774fc91', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('243d816d-794a-4fc5-88a5-d1ffdfcad3ab', 'TRX-WAJIB-125', '0c39cd78-eea3-4306-8e4f-b348ef997032', '05ddee2f-432b-434f-9557-c1424774fc91', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('732f4c87-75ee-4f07-8e97-326ae1ddabfc', 'SAV-3-125', '05ddee2f-432b-434f-9557-c1424774fc91', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('262d31c7-4227-48bb-b425-e328a2f7b463', 'TRX-SUKARELA-125', '732f4c87-75ee-4f07-8e97-326ae1ddabfc', '05ddee2f-432b-434f-9557-c1424774fc91', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');

-- Member: SAIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('835ab579-09e5-434f-b91a-c213f6c1f599', 'member131@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SAIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('68d74f3b-ca44-47af-9ddd-71acfe395ee5', '835ab579-09e5-434f-b91a-c213f6c1f599', '126', '126', 'SAIH', 'NIK-126', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fdd5e3bd-641c-4d2e-9842-f993b1c878a3', 'SAV-1-126', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8f934daa-944e-4f94-a66d-8d0c7ad1971b', 'SAV-2-126', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dd4723f3-6999-4814-b2d3-56973401ec9c', 'TRX-WAJIB-126', '8f934daa-944e-4f94-a66d-8d0c7ad1971b', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2e3c21d8-4f33-41ea-9b2d-c7c424ba51b4', 'SAV-3-126', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('950c47ba-7ccb-43b5-a739-9db98cc3bf38', 'TRX-SUKARELA-126', '2e3c21d8-4f33-41ea-9b2d-c7c424ba51b4', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('0c968b28-c045-4dde-a321-b2532130c504', 'LOAN-126-f21c33a3', '68d74f3b-ca44-47af-9ddd-71acfe395ee5', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 10, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17f284d4-1d30-429e-8913-299d2ab6970b', '0c968b28-c045-4dde-a321-b2532130c504', 1, '2026-05-23', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7e8dfec-f0c3-49b7-9a09-0452d4029734', '0c968b28-c045-4dde-a321-b2532130c504', 2, '2026-06-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96200071-93be-4675-9250-fdb68ca05f5c', '0c968b28-c045-4dde-a321-b2532130c504', 3, '2026-07-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f10d03f-1ce9-4a00-a246-428018aa0f82', '0c968b28-c045-4dde-a321-b2532130c504', 4, '2026-08-21', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8cfa8482-79f0-4d32-a24d-0413768eb5c7', '0c968b28-c045-4dde-a321-b2532130c504', 5, '2026-09-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7157855-a0ad-485e-8c5c-c67dfb2fa21d', '0c968b28-c045-4dde-a321-b2532130c504', 6, '2026-10-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('260969f2-ef8a-42ba-93a3-9bdd61f29e18', '0c968b28-c045-4dde-a321-b2532130c504', 7, '2026-11-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('549b6503-f166-47e1-8fac-e0f27c6de820', '0c968b28-c045-4dde-a321-b2532130c504', 8, '2026-12-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b842b9c9-f8da-4353-b4bc-8fe9427449ea', '0c968b28-c045-4dde-a321-b2532130c504', 9, '2027-01-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e02bb7d8-d287-4a0a-836e-68d07aca714e', '0c968b28-c045-4dde-a321-b2532130c504', 10, '2027-02-17', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');

-- Member: DWI WAHYU HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c5891d04-1836-4083-a766-09dd23436ec1', 'member132@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DWI WAHYU HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('612dfeef-a0f2-4061-8f0d-b8114216b4a6', 'c5891d04-1836-4083-a766-09dd23436ec1', '127', '127', 'DWI WAHYU HIDAYAT', 'NIK-127', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('41b08586-3e17-4170-8107-d7afa1e7c1ce', 'SAV-1-127', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b7d52918-fb5c-438f-a9bc-cdf84c69d45e', 'SAV-2-127', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f5c166c3-6bf0-4615-b90b-324cb0de8e5e', 'TRX-WAJIB-127', 'b7d52918-fb5c-438f-a9bc-cdf84c69d45e', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d39b3269-1377-49e5-99dd-21ed27785d63', 'SAV-3-127', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4a41c855-56d5-42d8-a14c-bb7646d284b8', 'LOAN-127-e05dbd07', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 9000000.0, 10, 'Migrasi Data', 'disbursed', 9000000.0, 9000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('131adcfa-2545-46ef-bb3f-b9e2cfc95264', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 1, '2025-12-24', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('347dadd6-8edd-404a-a175-e252c823e305', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 2, '2026-01-23', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c38492eb-cd16-42e9-8377-258a839f0ff0', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 3, '2026-02-22', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dfbaa8ed-38b2-4a27-8012-998cb882ede9', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 4, '2026-03-24', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a936f067-884f-4e68-b6fc-5a81a0966383', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 5, '2026-04-23', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79eba797-3789-42b7-b224-3271fe09358f', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 6, '2026-05-23', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6865abb-48a1-4d7a-9196-a90c726ffbfa', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 7, '2026-06-22', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c402845-d940-4440-a64e-763537f7943a', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 8, '2026-07-22', 900000.0, 135000.0, 1035000.0, 900000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fef83eb9-4789-408d-82fd-b1e88fddceef', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 9, '2026-08-21', 900000.0, 135000.0, 1035000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae902c1e-3fc3-4661-ab98-580941e267e5', '4a41c855-56d5-42d8-a14c-bb7646d284b8', 10, '2026-09-20', 900000.0, 135000.0, 1035000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('181e9d86-db32-4fea-9319-f5e922dc4741', 'LOAN-127-c32b4793', '612dfeef-a0f2-4061-8f0d-b8114216b4a6', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d7254808-66a3-49a5-a9e0-b18f4986fcd4', '181e9d86-db32-4fea-9319-f5e922dc4741', 1, '2026-07-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6da0bf39-0882-4969-b732-79c2e7fde035', '181e9d86-db32-4fea-9319-f5e922dc4741', 2, '2026-08-21', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a73cd27b-2df3-4735-bfa7-efad8a0b2cc2', '181e9d86-db32-4fea-9319-f5e922dc4741', 3, '2026-09-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2188a111-9753-440a-9bea-ed288bd55fdc', '181e9d86-db32-4fea-9319-f5e922dc4741', 4, '2026-10-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c9038be-a5b9-4c8b-8713-16f2fe3a89d8', '181e9d86-db32-4fea-9319-f5e922dc4741', 5, '2026-11-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d04f658-9d05-4695-8498-0ea868e6c7df', '181e9d86-db32-4fea-9319-f5e922dc4741', 6, '2026-12-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('417b92d4-bf43-46b8-9813-feabbe4f4835', '181e9d86-db32-4fea-9319-f5e922dc4741', 7, '2027-01-18', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('64bc7a37-f6d5-4c8f-8a1b-aa306d845cab', '181e9d86-db32-4fea-9319-f5e922dc4741', 8, '2027-02-17', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77446492-a327-4dd3-abbb-6a76bca937b1', '181e9d86-db32-4fea-9319-f5e922dc4741', 9, '2027-03-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e20a9b0c-b0ed-4ef8-8554-983247e41182', '181e9d86-db32-4fea-9319-f5e922dc4741', 10, '2027-04-18', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');

-- Member: SUHARTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6c544189-b786-4db8-9ba1-bb334669f4b8', 'member133@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUHARTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ccd6d318-71a6-48e7-9cee-c95ce41f1e95', '6c544189-b786-4db8-9ba1-bb334669f4b8', '128', '128', 'SUHARTO', 'NIK-128', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('09bde8b5-0f66-42c9-8408-a4e998c7bdcc', 'SAV-1-128', 'ccd6d318-71a6-48e7-9cee-c95ce41f1e95', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c5ea59ae-a8f6-487c-bc3e-96635f576be3', 'SAV-2-128', 'ccd6d318-71a6-48e7-9cee-c95ce41f1e95', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f3f31e86-bed7-482c-bd5b-05b3a8e5c61f', 'TRX-WAJIB-128', 'c5ea59ae-a8f6-487c-bc3e-96635f576be3', 'ccd6d318-71a6-48e7-9cee-c95ce41f1e95', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a25770ee-f30e-44a9-90f3-6fe536170875', 'SAV-3-128', 'ccd6d318-71a6-48e7-9cee-c95ce41f1e95', 3, 300000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1520c798-0626-474c-bb84-9aea2b035414', 'TRX-SUKARELA-128', 'a25770ee-f30e-44a9-90f3-6fe536170875', 'ccd6d318-71a6-48e7-9cee-c95ce41f1e95', 'deposit', 300000.0, 0, 300000.0, 'Saldo Awal Migrasi');

-- Member: ANDRI SALAD
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7ddbfef3-57fb-4015-ad52-e0b60ce99e1a', 'member134@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ANDRI SALAD', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bc02a96a-0f4c-405f-a81d-4b1e9e44a859', '7ddbfef3-57fb-4015-ad52-e0b60ce99e1a', '129', '129', 'ANDRI SALAD', 'NIK-129', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b7eeb6bf-7d0d-4d99-94aa-a1bc202a6231', 'SAV-1-129', 'bc02a96a-0f4c-405f-a81d-4b1e9e44a859', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c4959283-0420-4704-8fc2-3fe890709739', 'SAV-2-129', 'bc02a96a-0f4c-405f-a81d-4b1e9e44a859', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ad573014-1bc8-491d-bb9a-2fcf6fb6d5c5', 'TRX-WAJIB-129', 'c4959283-0420-4704-8fc2-3fe890709739', 'bc02a96a-0f4c-405f-a81d-4b1e9e44a859', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f4d63a14-26f9-4471-8507-2c19807f0b1d', 'SAV-3-129', 'bc02a96a-0f4c-405f-a81d-4b1e9e44a859', 3, 40000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('14d00d3d-aa04-47b1-ab19-c8b3bc20cf16', 'TRX-SUKARELA-129', 'f4d63a14-26f9-4471-8507-2c19807f0b1d', 'bc02a96a-0f4c-405f-a81d-4b1e9e44a859', 'deposit', 40000.0, 0, 40000.0, 'Saldo Awal Migrasi');

-- Member: ENA SUTISNA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('12eb6aea-369b-409d-95bf-9780a41603ee', 'member135@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ENA SUTISNA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f2704e8f-2faa-44b6-ab87-e318a0a9216b', '12eb6aea-369b-409d-95bf-9780a41603ee', '130', '130', 'ENA SUTISNA', 'NIK-130', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ab45a7eb-6110-4aec-9c74-ada3726e5f13', 'SAV-1-130', 'f2704e8f-2faa-44b6-ab87-e318a0a9216b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ad08f359-a72b-4e85-97fc-bc76f11a63e6', 'SAV-2-130', 'f2704e8f-2faa-44b6-ab87-e318a0a9216b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f47ee158-6926-43ea-a456-8731b1da5123', 'TRX-WAJIB-130', 'ad08f359-a72b-4e85-97fc-bc76f11a63e6', 'f2704e8f-2faa-44b6-ab87-e318a0a9216b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c1bcaa11-0b65-4711-95bc-1ac4819adbb3', 'SAV-3-130', 'f2704e8f-2faa-44b6-ab87-e318a0a9216b', 3, 0.0, true);

-- Member: AGUS SUDRAJAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0e0dbf38-ff88-48f8-8b3b-a18cc390cc6a', 'member136@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SUDRAJAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6c25fe23-45de-4fc8-8fa8-7616e9188f12', '0e0dbf38-ff88-48f8-8b3b-a18cc390cc6a', '131', '131', 'AGUS SUDRAJAT', 'NIK-131', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6e9a5e56-f1a7-4957-aa40-401bcda896fc', 'SAV-1-131', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('56e005ca-0eb6-4d37-8d08-733842ba9a44', 'SAV-2-131', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c488061a-f76f-4510-9e3a-1c040721afff', 'TRX-WAJIB-131', '56e005ca-0eb6-4d37-8d08-733842ba9a44', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('63a2094e-440e-4951-87e9-c026a2ee26f0', 'SAV-3-131', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9894f9eb-affc-4d69-81b5-947a90157c0f', 'LOAN-131-ce9e5e83', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 24000000.0, 30, 'Migrasi Data', 'disbursed', 24000000.0, 24000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3653be3f-a0ce-4ce6-8d8a-dbcf30bf0281', '9894f9eb-affc-4d69-81b5-947a90157c0f', 1, '2026-02-22', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6fa6707-7249-4445-8015-98d5f4fc7706', '9894f9eb-affc-4d69-81b5-947a90157c0f', 2, '2026-03-24', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6a99a84f-2b07-4a3c-a26a-377c09d22a65', '9894f9eb-affc-4d69-81b5-947a90157c0f', 3, '2026-04-23', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4be0503-71c1-4c5c-b03a-010494d34884', '9894f9eb-affc-4d69-81b5-947a90157c0f', 4, '2026-05-23', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b71fd306-4703-4b45-a375-637f3f5a9263', '9894f9eb-affc-4d69-81b5-947a90157c0f', 5, '2026-06-22', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('526cda1b-3aec-41c9-91f6-ef514a6ac59c', '9894f9eb-affc-4d69-81b5-947a90157c0f', 6, '2026-07-22', 800000.0, 360000.0, 1160000.0, 800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96831b32-97bc-40e4-a11f-9c6bb4be79b1', '9894f9eb-affc-4d69-81b5-947a90157c0f', 7, '2026-08-21', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa8256fc-e55f-455d-ab2e-38ef3c8f07f6', '9894f9eb-affc-4d69-81b5-947a90157c0f', 8, '2026-09-20', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f7d2f0f-39e6-4a2b-96b0-ba041542a0c2', '9894f9eb-affc-4d69-81b5-947a90157c0f', 9, '2026-10-20', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('513ee29f-5a0e-40fc-8e89-2853399211b5', '9894f9eb-affc-4d69-81b5-947a90157c0f', 10, '2026-11-19', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('625440b3-cacf-43fc-9428-1cb03f33bb96', '9894f9eb-affc-4d69-81b5-947a90157c0f', 11, '2026-12-19', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('179300fd-803c-4d35-a222-d84009d799aa', '9894f9eb-affc-4d69-81b5-947a90157c0f', 12, '2027-01-18', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b98cde0d-36d0-4847-9f89-9ee5b1bf2477', '9894f9eb-affc-4d69-81b5-947a90157c0f', 13, '2027-02-17', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79edc473-caf8-4472-bbdf-df145e569ef1', '9894f9eb-affc-4d69-81b5-947a90157c0f', 14, '2027-03-19', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96ea548f-aedc-46ec-90fa-a7e9c786ae4f', '9894f9eb-affc-4d69-81b5-947a90157c0f', 15, '2027-04-18', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62feb300-7fc0-4609-b6ed-8deb802ae235', '9894f9eb-affc-4d69-81b5-947a90157c0f', 16, '2027-05-18', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d2fa4f6-f094-415d-a25a-dcd53000d5fd', '9894f9eb-affc-4d69-81b5-947a90157c0f', 17, '2027-06-17', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0dad4e0b-6f8a-4cb4-960d-757e36740df1', '9894f9eb-affc-4d69-81b5-947a90157c0f', 18, '2027-07-17', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84f0b514-299d-46dd-b29a-f201d98b4741', '9894f9eb-affc-4d69-81b5-947a90157c0f', 19, '2027-08-16', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eea68581-59d7-4975-a614-93a177310078', '9894f9eb-affc-4d69-81b5-947a90157c0f', 20, '2027-09-15', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e6fcd18-9a95-4e40-8c2d-aa5e0d0373c0', '9894f9eb-affc-4d69-81b5-947a90157c0f', 21, '2027-10-15', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('557f5609-b98f-4056-92ba-8aff0b3d95a1', '9894f9eb-affc-4d69-81b5-947a90157c0f', 22, '2027-11-14', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae0a6171-e422-4878-8757-05a1a725e17d', '9894f9eb-affc-4d69-81b5-947a90157c0f', 23, '2027-12-14', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4cf0e8b1-5273-4c79-b70d-8d1386d170cf', '9894f9eb-affc-4d69-81b5-947a90157c0f', 24, '2028-01-13', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83a1b518-9636-42a0-9eef-592bb43d97f9', '9894f9eb-affc-4d69-81b5-947a90157c0f', 25, '2028-02-12', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('def7605e-dde2-4e6e-9108-cc50ee85232a', '9894f9eb-affc-4d69-81b5-947a90157c0f', 26, '2028-03-13', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de267e56-93f8-43a4-a37d-663d549c45fd', '9894f9eb-affc-4d69-81b5-947a90157c0f', 27, '2028-04-12', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8961a2e-cd45-4468-a247-88cf05d68069', '9894f9eb-affc-4d69-81b5-947a90157c0f', 28, '2028-05-12', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('afffd127-6a05-4a77-ad62-225cad379bce', '9894f9eb-affc-4d69-81b5-947a90157c0f', 29, '2028-06-11', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca92adac-5849-43d1-bb14-6f50497c39b6', '9894f9eb-affc-4d69-81b5-947a90157c0f', 30, '2028-07-11', 800000.0, 360000.0, 1160000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('178c83b7-add6-4fd4-939b-fecec6dc77df', 'LOAN-131-2e7b42c2', '6c25fe23-45de-4fc8-8fa8-7616e9188f12', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 19999980.0, 28, 'Migrasi Data', 'disbursed', 19999980.0, 19999980.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97a2bbc3-a2fb-4e48-aa49-c7e7c04128ab', '178c83b7-add6-4fd4-939b-fecec6dc77df', 1, '2026-04-23', 714285.0, 300000.0, 1014285.0, 714285.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('01a5915a-ebab-406f-a99a-8b4129df113a', '178c83b7-add6-4fd4-939b-fecec6dc77df', 2, '2026-05-23', 714285.0, 300000.0, 1014285.0, 714285.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c76e77f-adcf-4d69-8c86-2445d046de89', '178c83b7-add6-4fd4-939b-fecec6dc77df', 3, '2026-06-22', 714285.0, 300000.0, 1014285.0, 714285.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f128b456-4d15-44cf-a440-7a6615b5ea86', '178c83b7-add6-4fd4-939b-fecec6dc77df', 4, '2026-07-22', 714285.0, 300000.0, 1014285.0, 714285.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7b552ff-5748-4268-b9e1-90e3f5c15bdd', '178c83b7-add6-4fd4-939b-fecec6dc77df', 5, '2026-08-21', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ac6d2bb-0481-466f-8e2c-2b6d43dc9d45', '178c83b7-add6-4fd4-939b-fecec6dc77df', 6, '2026-09-20', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2994b71d-d371-4a3d-8703-8000cfac6360', '178c83b7-add6-4fd4-939b-fecec6dc77df', 7, '2026-10-20', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('059a08dd-4ed9-4580-8987-14b235a5d21d', '178c83b7-add6-4fd4-939b-fecec6dc77df', 8, '2026-11-19', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e3a7ffd-c2e3-484b-b8cd-2f0bd4ed797c', '178c83b7-add6-4fd4-939b-fecec6dc77df', 9, '2026-12-19', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75fc81bf-7696-4cea-946c-9adb0a5103cb', '178c83b7-add6-4fd4-939b-fecec6dc77df', 10, '2027-01-18', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d3983e40-9a82-42e8-adb6-8c4909ebb8d9', '178c83b7-add6-4fd4-939b-fecec6dc77df', 11, '2027-02-17', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc1a3a9b-3844-44da-8699-078946bbb238', '178c83b7-add6-4fd4-939b-fecec6dc77df', 12, '2027-03-19', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fbc0f7f1-0dc1-4ffc-93e6-7acabf3e3861', '178c83b7-add6-4fd4-939b-fecec6dc77df', 13, '2027-04-18', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f3c2a4f-8cff-4d8a-b668-8ffe1aa987e4', '178c83b7-add6-4fd4-939b-fecec6dc77df', 14, '2027-05-18', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('456c839d-ce16-45e5-8e04-d6120de49966', '178c83b7-add6-4fd4-939b-fecec6dc77df', 15, '2027-06-17', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3befa3e-9013-4576-bb87-1bd5467b4083', '178c83b7-add6-4fd4-939b-fecec6dc77df', 16, '2027-07-17', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba9d680a-7eac-43cd-8b37-087295ab429d', '178c83b7-add6-4fd4-939b-fecec6dc77df', 17, '2027-08-16', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f16ecbb7-2849-44b1-a298-ccf97d6873c8', '178c83b7-add6-4fd4-939b-fecec6dc77df', 18, '2027-09-15', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5404754c-848d-4055-ade3-9cd60c311af2', '178c83b7-add6-4fd4-939b-fecec6dc77df', 19, '2027-10-15', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aef770e6-1da2-47ca-a48b-aab047ad28ec', '178c83b7-add6-4fd4-939b-fecec6dc77df', 20, '2027-11-14', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25228170-c809-4a62-bb64-29a0b9be8811', '178c83b7-add6-4fd4-939b-fecec6dc77df', 21, '2027-12-14', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('92f806ff-36bc-4356-a7e5-a804268c0692', '178c83b7-add6-4fd4-939b-fecec6dc77df', 22, '2028-01-13', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('04d8a8b4-d4d0-4902-b626-46c9279e84df', '178c83b7-add6-4fd4-939b-fecec6dc77df', 23, '2028-02-12', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('786dbf0c-3530-41a0-b2c0-9c9d7cad4f8e', '178c83b7-add6-4fd4-939b-fecec6dc77df', 24, '2028-03-13', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a595c509-99b7-4e75-9a07-822218bcf742', '178c83b7-add6-4fd4-939b-fecec6dc77df', 25, '2028-04-12', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('000bab43-6c08-4ece-9e6a-38b92af23bce', '178c83b7-add6-4fd4-939b-fecec6dc77df', 26, '2028-05-12', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('697012b4-348b-41c0-9466-b8b309c2548d', '178c83b7-add6-4fd4-939b-fecec6dc77df', 27, '2028-06-11', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ec0297a8-3be0-46ec-9d13-e15c8db73d64', '178c83b7-add6-4fd4-939b-fecec6dc77df', 28, '2028-07-11', 714285.0, 300000.0, 1014285.0, 0, NULL, 'unpaid');

-- Member: MOH. SABARUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('36e8fb65-8288-44cd-9866-cff7b8898963', 'member137@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOH. SABARUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('aee36786-27f8-4b81-835d-d57d4c19e11d', '36e8fb65-8288-44cd-9866-cff7b8898963', '132', '132', 'MOH. SABARUDIN', 'NIK-132', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fccfce15-f214-40fc-a428-8aedf535f20f', 'SAV-1-132', 'aee36786-27f8-4b81-835d-d57d4c19e11d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b8873798-f846-4b0a-8887-f9bb996b5a6e', 'SAV-2-132', 'aee36786-27f8-4b81-835d-d57d4c19e11d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('08989867-b6c8-474f-88b6-c75ae4cb7009', 'TRX-WAJIB-132', 'b8873798-f846-4b0a-8887-f9bb996b5a6e', 'aee36786-27f8-4b81-835d-d57d4c19e11d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ee7e5e3-a6ac-4e4a-944c-694a7a707f4e', 'SAV-3-132', 'aee36786-27f8-4b81-835d-d57d4c19e11d', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fcfb0b7e-09c4-4f04-aa73-9773dc30203e', 'TRX-SUKARELA-132', '0ee7e5e3-a6ac-4e4a-944c-694a7a707f4e', 'aee36786-27f8-4b81-835d-d57d4c19e11d', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');

-- Member: INDRA KAMALLUDIEN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0a4bf939-3c96-4e75-802f-67520e9dabcc', 'member138@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'INDRA KAMALLUDIEN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('4adde1e4-1137-445f-965e-c87f98c76b40', '0a4bf939-3c96-4e75-802f-67520e9dabcc', '133', '133', 'INDRA KAMALLUDIEN', 'NIK-133', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c558fdda-be28-4c3f-8c7d-8a996e8a64c4', 'SAV-1-133', '4adde1e4-1137-445f-965e-c87f98c76b40', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('456af28f-dd67-4d27-b95e-869d7542202c', 'SAV-2-133', '4adde1e4-1137-445f-965e-c87f98c76b40', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7f58188a-b424-478a-9c99-ec1962dedca7', 'TRX-WAJIB-133', '456af28f-dd67-4d27-b95e-869d7542202c', '4adde1e4-1137-445f-965e-c87f98c76b40', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ad895950-73a6-458e-84da-2e6d8e9b2707', 'SAV-3-133', '4adde1e4-1137-445f-965e-c87f98c76b40', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e99f7ad6-a2d9-4289-8d36-245e88b1497d', 'TRX-SUKARELA-133', 'ad895950-73a6-458e-84da-2e6d8e9b2707', '4adde1e4-1137-445f-965e-c87f98c76b40', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: FAHRUL RAMADHANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('1aaa4304-2b6d-40e6-8943-460fff9cd42a', 'member139@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'FAHRUL RAMADHANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e6486199-cab6-481d-9a2c-db9e9231b8d3', '1aaa4304-2b6d-40e6-8943-460fff9cd42a', '134', '134', 'FAHRUL RAMADHANI', 'NIK-134', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4495b709-8f81-49bd-a292-b354cbacbb93', 'SAV-1-134', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('35f07ffe-82f7-4af9-8724-dbc6b77771db', 'SAV-2-134', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('663d847b-fd77-45f6-b2cf-453cffebed10', 'TRX-WAJIB-134', '35f07ffe-82f7-4af9-8724-dbc6b77771db', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e174ca1a-488a-4bc8-ab4f-0c939c0261d0', 'SAV-3-134', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e714d0b5-5ca2-4033-a21e-d7ae25a1cccf', 'TRX-SUKARELA-134', 'e174ca1a-488a-4bc8-ab4f-0c939c0261d0', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9b8e91fb-1968-4362-b179-520c86f11cd1', 'LOAN-134-b5e8efd9', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 10, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de0076e6-d8cc-4f86-a7cf-5b4a61ec32d9', '9b8e91fb-1968-4362-b179-520c86f11cd1', 1, '2026-08-21', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31555cbe-ada1-4472-a8df-4de42604833c', '9b8e91fb-1968-4362-b179-520c86f11cd1', 2, '2026-09-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43c663d0-780c-4f17-b8d8-87dc50f4165a', '9b8e91fb-1968-4362-b179-520c86f11cd1', 3, '2026-10-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('765cff18-0eff-476b-a148-6df7af72b7e2', '9b8e91fb-1968-4362-b179-520c86f11cd1', 4, '2026-11-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('150239a8-50bc-42ca-99c7-cac839e47571', '9b8e91fb-1968-4362-b179-520c86f11cd1', 5, '2026-12-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('65f8c9de-364c-4261-9b54-5756034e6391', '9b8e91fb-1968-4362-b179-520c86f11cd1', 6, '2027-01-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d48299e5-f027-405b-93e3-d229524e8150', '9b8e91fb-1968-4362-b179-520c86f11cd1', 7, '2027-02-17', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2511caee-cae8-4a80-813d-065654ea099d', '9b8e91fb-1968-4362-b179-520c86f11cd1', 8, '2027-03-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8b138f9e-65ac-40b5-9eed-a46c361242cf', '9b8e91fb-1968-4362-b179-520c86f11cd1', 9, '2027-04-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb791645-7a9e-4941-aaf3-570c55f6306f', '9b8e91fb-1968-4362-b179-520c86f11cd1', 10, '2027-05-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('729dabc1-6f89-40a0-904e-a2a921f98752', 'ORD-134-333610cd', 'e6486199-cab6-481d-9a2c-db9e9231b8d3', 18000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ZULHA MALIK BASKORO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('98ec7b90-99f6-4073-b802-77706b7c5854', 'member140@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ZULHA MALIK BASKORO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('33e25b40-8d5d-4a25-b74d-f51a434adafd', '98ec7b90-99f6-4073-b802-77706b7c5854', '135', '135', 'ZULHA MALIK BASKORO', 'NIK-135', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('846bacf9-3209-417b-bfb1-a3e9369926d5', 'SAV-1-135', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fc0e08fb-8cfe-4709-83cb-98f1f44b53ba', 'TRX-POKOK-135', '846bacf9-3209-417b-bfb1-a3e9369926d5', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fe8bb587-66bb-4285-8420-281a1de16a64', 'SAV-2-135', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7aac1188-fc3e-48c6-9128-8518bfb3a171', 'TRX-WAJIB-135', 'fe8bb587-66bb-4285-8420-281a1de16a64', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9c0cc90d-e61f-419e-95b1-8b774f8e5153', 'SAV-3-135', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('197aaa11-824f-44b6-a8f3-949e8cf18869', 'TRX-SUKARELA-135', '9c0cc90d-e61f-419e-95b1-8b774f8e5153', '33e25b40-8d5d-4a25-b74d-f51a434adafd', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: DADAN RIDWANULLAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('1dadbd1a-6355-4ac2-8a8c-feb2074d98ba', 'member141@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DADAN RIDWANULLAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bbe635ad-bc42-4925-b91f-83dd30abfcf4', '1dadbd1a-6355-4ac2-8a8c-feb2074d98ba', '136', '136', 'DADAN RIDWANULLAH', 'NIK-136', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('db3994b8-ec8d-4f35-921f-866c7dcb36cc', 'SAV-1-136', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dd45711d-9fc0-475d-aced-cda1959a4e66', 'SAV-2-136', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d26e2637-6c3f-4d60-a49a-141b978563c5', 'TRX-WAJIB-136', 'dd45711d-9fc0-475d-aced-cda1959a4e66', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ba743abe-4526-4817-83f0-f479e43adc99', 'SAV-3-136', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c8dfe268-f648-41c2-9abc-3bbc9c4313c3', 'TRX-SUKARELA-136', 'ba743abe-4526-4817-83f0-f479e43adc99', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 'LOAN-136-08dda596', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 53700000.0, 30, 'Migrasi Data', 'disbursed', 53700000.0, 53700000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25946b80-f641-49f4-b266-882da8765008', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 1, '2026-02-22', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4460b2c4-7f82-48c2-903e-fd3259f641ec', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 2, '2026-03-24', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a7205ca-cbc8-4c00-9235-0468345b223b', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 3, '2026-04-23', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6101dd2-6e5d-42ea-a2b3-77d0f7c210db', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 4, '2026-05-23', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b204b3b-0c77-40dd-85ef-129615e9b81f', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 5, '2026-06-22', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bd537def-89a0-4314-b6f5-777cfb2bb219', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 6, '2026-07-22', 1790000.0, 805000.0, 2595000.0, 1790000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a7219598-49cc-4d47-91ff-c93deae19abe', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 7, '2026-08-21', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55bb6d64-989d-4aef-86e5-bc2ea1995cd8', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 8, '2026-09-20', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1a50eae7-ccf9-4174-af71-d7d030f864f1', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 9, '2026-10-20', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff8e283e-8f9e-46e2-9ec6-53414d22f0ff', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 10, '2026-11-19', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c334598d-1352-432a-a0a2-239c3fa90ecf', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 11, '2026-12-19', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b56bf43b-f869-47da-b83e-df6135f75c29', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 12, '2027-01-18', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f0110821-aeda-46fc-8ba6-532663cc381f', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 13, '2027-02-17', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b58972e9-3483-4de3-bfe3-de352282d90c', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 14, '2027-03-19', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77a4080e-983d-4be2-a271-fc3b24371781', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 15, '2027-04-18', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d4ed1a93-298c-400d-bb2f-71263095ceb9', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 16, '2027-05-18', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('92305595-425d-4503-a6a9-f07ad379b76c', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 17, '2027-06-17', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f5f03f8f-987c-477e-b1cc-621c37018792', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 18, '2027-07-17', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ced69ca-11e0-493a-bc99-16d154f643f6', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 19, '2027-08-16', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cdb8d091-c0ac-4499-ac6d-75ee3de375e2', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 20, '2027-09-15', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('638831aa-e5c5-4e66-890b-23abeb84fffd', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 21, '2027-10-15', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7885c875-03b5-4333-931b-6bdd28763d3d', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 22, '2027-11-14', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e53f923-cd54-45f2-bc2f-8f972c26f8a3', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 23, '2027-12-14', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('068dab08-abe6-460f-8620-7a3ee4d7ddd2', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 24, '2028-01-13', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e95aa8fc-d5ea-483b-b2a9-c74cec041412', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 25, '2028-02-12', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dab9b07c-ffe8-4500-8c72-6cf2adf640d0', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 26, '2028-03-13', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('528f9bca-ab8f-4e37-906a-66a76f5bb812', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 27, '2028-04-12', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69234de5-18f9-4143-bb73-0f1991ef8e1d', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 28, '2028-05-12', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7564a12-c0e0-4220-98c2-7b98e641293d', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 29, '2028-06-11', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('950ea93d-43da-4654-9872-94c51e3fe8eb', '9f9e2907-6e7a-44c1-b5e2-e061043fb4bd', 30, '2028-07-11', 1790000.0, 805000.0, 2595000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('6e3ebcad-72f0-4d84-8c6c-b81190069907', 'ORD-136-53aa0113', 'bbe635ad-bc42-4925-b91f-83dd30abfcf4', 310000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: MUHAMMAD SUDIRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b123ea2e-7758-4ba6-88b9-a7d8842bb402', 'member142@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMMAD SUDIRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('970af287-117c-4762-879d-dcb895defc01', 'b123ea2e-7758-4ba6-88b9-a7d8842bb402', '137', '137', 'MUHAMMAD SUDIRA', 'NIK-137', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a76c3285-9ab9-40ce-883d-b5bda8ac2e03', 'SAV-1-137', '970af287-117c-4762-879d-dcb895defc01', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1d837dfa-66d4-434a-93cf-f40b8bdc4c2e', 'SAV-2-137', '970af287-117c-4762-879d-dcb895defc01', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3e6c4656-3b77-4e1a-9504-33483e07ce18', 'SAV-3-137', '970af287-117c-4762-879d-dcb895defc01', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 'LOAN-137-7771ff50', '970af287-117c-4762-879d-dcb895defc01', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 2000000.0, 10, 'Migrasi Data', 'disbursed', 2000000.0, 2000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a902adef-b34b-4b69-99b7-fb7a9e3693a9', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 1, '2026-01-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4abfabf-618f-422a-9c72-bd200c9368f3', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 2, '2026-02-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('600bf8c9-d76a-426c-adc9-114b0017df09', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 3, '2026-03-24', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d1c395a-e1a4-4d04-8556-f7bd909020e6', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 4, '2026-04-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eaf24895-873a-4bfb-b711-d4c9e09d7897', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 5, '2026-05-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12cf5837-c421-452a-91f9-37a66f249564', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 6, '2026-06-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1aff4f46-d3f5-44d3-8d61-53362fe10556', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 7, '2026-07-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f2623c21-2fee-4d50-ad79-7dce6d3d7e0f', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 8, '2026-08-21', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2d1fa35a-9010-4d07-b228-0d535a502801', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 9, '2026-09-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('299dc454-38b5-4c3d-8592-ce92467431b4', 'c9e6e3bc-1f56-4f39-bacf-0a634e5691f8', 10, '2026-10-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');

-- Member: ABDUL BASIR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('31a36117-a7b6-4575-9b94-3fd83d84c3f4', 'member143@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABDUL BASIR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f1bea658-2898-4633-8d96-93bdb294014c', '31a36117-a7b6-4575-9b94-3fd83d84c3f4', '138', '138', 'ABDUL BASIR', 'NIK-138', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('00a74d82-0ee7-49bc-a61a-8f712afe2524', 'SAV-1-138', 'f1bea658-2898-4633-8d96-93bdb294014c', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('44acf8eb-489c-445f-ade7-c643df627429', 'TRX-POKOK-138', '00a74d82-0ee7-49bc-a61a-8f712afe2524', 'f1bea658-2898-4633-8d96-93bdb294014c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5a0e5954-5b39-4e30-9af0-8c5668c5aeb0', 'SAV-2-138', 'f1bea658-2898-4633-8d96-93bdb294014c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9d27fa3b-e66b-4850-916f-01f11a250b00', 'TRX-WAJIB-138', '5a0e5954-5b39-4e30-9af0-8c5668c5aeb0', 'f1bea658-2898-4633-8d96-93bdb294014c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e153135e-4b6e-4458-bff8-18127fe33f01', 'SAV-3-138', 'f1bea658-2898-4633-8d96-93bdb294014c', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6d5aacd4-3ec6-49b9-9a65-0c12392403e5', 'TRX-SUKARELA-138', 'e153135e-4b6e-4458-bff8-18127fe33f01', 'f1bea658-2898-4633-8d96-93bdb294014c', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: NURDIN SYAH HALOMOAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4db1479f-10e7-4394-b090-0cd014f40e63', 'member144@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURDIN SYAH HALOMOAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('be35bae0-7820-4ecd-81b5-030863fa1f46', '4db1479f-10e7-4394-b090-0cd014f40e63', '139', '139', 'NURDIN SYAH HALOMOAN', 'NIK-139', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('034676de-8c1f-4039-9e1d-8e64146bf6d2', 'SAV-1-139', 'be35bae0-7820-4ecd-81b5-030863fa1f46', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8a4902e6-6953-4ec8-b3a3-7cbfdc4400f2', 'SAV-2-139', 'be35bae0-7820-4ecd-81b5-030863fa1f46', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6ae4db83-b3f8-4d38-aab6-9dd253e72d97', 'TRX-WAJIB-139', '8a4902e6-6953-4ec8-b3a3-7cbfdc4400f2', 'be35bae0-7820-4ecd-81b5-030863fa1f46', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2df69226-f7ce-4a9c-8efc-c236507bfe66', 'SAV-3-139', 'be35bae0-7820-4ecd-81b5-030863fa1f46', 3, 0.0, true);

-- Member: OANG SAPUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('9bb0a577-0258-47cf-9c2a-9924a465eb58', 'member145@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'OANG SAPUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c7931d41-d918-45e3-af04-9f7cb25f743e', '9bb0a577-0258-47cf-9c2a-9924a465eb58', '140', '140', 'OANG SAPUTRA', 'NIK-140', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b053cac2-ba15-416a-86bd-c97aaa6cb321', 'SAV-1-140', 'c7931d41-d918-45e3-af04-9f7cb25f743e', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b0706fe4-3e75-40d1-9835-058072212d96', 'SAV-2-140', 'c7931d41-d918-45e3-af04-9f7cb25f743e', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('594fd142-e1dd-4487-8d84-dd650159ae8c', 'TRX-WAJIB-140', 'b0706fe4-3e75-40d1-9835-058072212d96', 'c7931d41-d918-45e3-af04-9f7cb25f743e', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e42156b9-50fd-47a4-8160-b22c728204b2', 'SAV-3-140', 'c7931d41-d918-45e3-af04-9f7cb25f743e', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ef32f369-5790-4408-a170-23d547fc54f6', 'TRX-SUKARELA-140', 'e42156b9-50fd-47a4-8160-b22c728204b2', 'c7931d41-d918-45e3-af04-9f7cb25f743e', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');

-- Member: RIZAL RADIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f8c53a6b-a27a-49ae-8aab-bde9a1df0485', 'member146@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIZAL RADIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('feca8c32-3da1-417b-8cca-b34058712aab', 'f8c53a6b-a27a-49ae-8aab-bde9a1df0485', '141', '141', 'RIZAL RADIANSYAH', 'NIK-141', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('38aecfd4-b1fd-41e6-942b-ca415a496f52', 'SAV-1-141', 'feca8c32-3da1-417b-8cca-b34058712aab', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b2b9e917-2695-42a7-8836-e3bd4fe6425d', 'SAV-2-141', 'feca8c32-3da1-417b-8cca-b34058712aab', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('84db932e-a75c-4598-9935-31cec0daaa88', 'TRX-WAJIB-141', 'b2b9e917-2695-42a7-8836-e3bd4fe6425d', 'feca8c32-3da1-417b-8cca-b34058712aab', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('13c9df6f-2b80-4387-a240-19e6e76f1e93', 'SAV-3-141', 'feca8c32-3da1-417b-8cca-b34058712aab', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f1a766b2-02de-4379-a112-563567804ead', 'TRX-SUKARELA-141', '13c9df6f-2b80-4387-a240-19e6e76f1e93', 'feca8c32-3da1-417b-8cca-b34058712aab', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('22103974-aeed-4dae-8415-ad7031770233', 'LOAN-141-b5cdc155', 'feca8c32-3da1-417b-8cca-b34058712aab', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 25000008.0, 24, 'Migrasi Data', 'disbursed', 25000008.0, 25000008.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e97ba9c0-c304-4beb-94dc-af9a9f920f96', '22103974-aeed-4dae-8415-ad7031770233', 1, '2026-01-23', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3020f628-9e96-46de-8985-2e016d58d3e1', '22103974-aeed-4dae-8415-ad7031770233', 2, '2026-02-22', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b11ccf80-ec2c-40ae-a407-4c56946f7e3d', '22103974-aeed-4dae-8415-ad7031770233', 3, '2026-03-24', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1de985ce-711a-4dbc-af70-ca8332c67386', '22103974-aeed-4dae-8415-ad7031770233', 4, '2026-04-23', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63447fdb-9414-48f5-9347-a1088329a536', '22103974-aeed-4dae-8415-ad7031770233', 5, '2026-05-23', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8c603544-3faa-4929-9fc6-01af1cfb949b', '22103974-aeed-4dae-8415-ad7031770233', 6, '2026-06-22', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a46a4fc6-012e-4046-b781-542821cd9b2e', '22103974-aeed-4dae-8415-ad7031770233', 7, '2026-07-22', 1041667.0, 375000.0, 1416667.0, 1041667.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4cb51724-af5f-4122-86fa-9f9cbbabef67', '22103974-aeed-4dae-8415-ad7031770233', 8, '2026-08-21', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85037ee2-7ef4-4a16-b69a-09bfc6d8049d', '22103974-aeed-4dae-8415-ad7031770233', 9, '2026-09-20', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a4f9225-6af1-4afd-a018-0c9c3e5f3485', '22103974-aeed-4dae-8415-ad7031770233', 10, '2026-10-20', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6dbc6329-7849-49dd-8437-03ba61f08e04', '22103974-aeed-4dae-8415-ad7031770233', 11, '2026-11-19', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8f42a0b-2c17-433b-9735-0b89194b8ccb', '22103974-aeed-4dae-8415-ad7031770233', 12, '2026-12-19', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bd91e500-5e52-4d51-b925-9681a2ebe8cf', '22103974-aeed-4dae-8415-ad7031770233', 13, '2027-01-18', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc5f661e-1fd2-421d-8f2b-42fb4e5a5d07', '22103974-aeed-4dae-8415-ad7031770233', 14, '2027-02-17', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3409b4b9-80f6-44fc-b01a-2d9a71be3f57', '22103974-aeed-4dae-8415-ad7031770233', 15, '2027-03-19', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('672775bc-bc4f-4d34-b41a-379c4fff8d51', '22103974-aeed-4dae-8415-ad7031770233', 16, '2027-04-18', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('05b326fa-3cd2-4ae1-b479-b0256316588b', '22103974-aeed-4dae-8415-ad7031770233', 17, '2027-05-18', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4dd77da5-c2e9-493a-b813-8ea426097005', '22103974-aeed-4dae-8415-ad7031770233', 18, '2027-06-17', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48d71359-ceec-4a66-b2da-e5dcc4e95fc9', '22103974-aeed-4dae-8415-ad7031770233', 19, '2027-07-17', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('567aa18f-229f-42ab-94bf-a844e41c6d7f', '22103974-aeed-4dae-8415-ad7031770233', 20, '2027-08-16', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('885afc86-815f-40d0-954b-44c7bac86c1a', '22103974-aeed-4dae-8415-ad7031770233', 21, '2027-09-15', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('61c6599c-f4dd-40c9-9d60-68664c91ac6b', '22103974-aeed-4dae-8415-ad7031770233', 22, '2027-10-15', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08621cdd-dbb4-499b-b687-525af3b86a8e', '22103974-aeed-4dae-8415-ad7031770233', 23, '2027-11-14', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('467b8ec5-3709-4b1b-831c-90917ff0eca3', '22103974-aeed-4dae-8415-ad7031770233', 24, '2027-12-14', 1041667.0, 375000.0, 1416667.0, 0, NULL, 'unpaid');

-- Member: INDRA CIPTA YANUAR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3d54699d-f830-4ec8-ae60-0168ad023f73', 'member147@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'INDRA CIPTA YANUAR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2d898bbd-fc69-41f6-9d76-45a7af4c1659', '3d54699d-f830-4ec8-ae60-0168ad023f73', '142', '142', 'INDRA CIPTA YANUAR', 'NIK-142', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('38076c0a-3cb7-42d6-a903-d90796df50b7', 'SAV-1-142', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4548ec44-6280-4523-92c1-ae1406f539e4', 'SAV-2-142', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('21baf203-6a05-43d1-a6ec-40bfe24934f1', 'TRX-WAJIB-142', '4548ec44-6280-4523-92c1-ae1406f539e4', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9f253511-bfdf-4785-9f8f-312adb763fad', 'SAV-3-142', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('78887798-3ef9-474c-885e-6038499f87c7', 'TRX-SUKARELA-142', '9f253511-bfdf-4785-9f8f-312adb763fad', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('6084f643-b65c-4802-9231-af949cff3a90', 'LOAN-142-634bf1b3', '2d898bbd-fc69-41f6-9d76-45a7af4c1659', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 50000000.0, 40, 'Migrasi Data', 'disbursed', 50000000.0, 50000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d464993a-78bb-4cea-9b51-27421558facc', '6084f643-b65c-4802-9231-af949cff3a90', 1, '2024-02-03', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b987861-8ae5-4f85-b005-880de61912f9', '6084f643-b65c-4802-9231-af949cff3a90', 2, '2024-03-04', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4635ef1b-d49b-471b-94ea-7e7e77d053d0', '6084f643-b65c-4802-9231-af949cff3a90', 3, '2024-04-03', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bb8b2bf9-96f6-492c-b3f9-ac75ad3d01c5', '6084f643-b65c-4802-9231-af949cff3a90', 4, '2024-05-03', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb00881d-e7a7-4cb4-9c70-8d4d8f119c33', '6084f643-b65c-4802-9231-af949cff3a90', 5, '2024-06-02', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e3aee2d0-fba0-4688-b805-02658cececa0', '6084f643-b65c-4802-9231-af949cff3a90', 6, '2024-07-02', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4ebe3275-d6f2-41ea-ac35-fed3f59a4736', '6084f643-b65c-4802-9231-af949cff3a90', 7, '2024-08-01', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38a62dc0-fd9a-4744-9748-d3d5709a6766', '6084f643-b65c-4802-9231-af949cff3a90', 8, '2024-08-31', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6ecbecd-f719-4b58-b331-9b49942e1c8c', '6084f643-b65c-4802-9231-af949cff3a90', 9, '2024-09-30', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1afeb2eb-3728-44b7-97aa-f5a3ac4e132c', '6084f643-b65c-4802-9231-af949cff3a90', 10, '2024-10-30', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed049de3-3f35-45a0-b111-5e05161d171a', '6084f643-b65c-4802-9231-af949cff3a90', 11, '2024-11-29', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b243a78c-1677-4cf4-bbe5-fd280d7dcdd4', '6084f643-b65c-4802-9231-af949cff3a90', 12, '2024-12-29', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55bdca33-8657-46d0-913a-425fcffd18d8', '6084f643-b65c-4802-9231-af949cff3a90', 13, '2025-01-28', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5824084c-f55b-4331-9ae4-9fd5600e74dc', '6084f643-b65c-4802-9231-af949cff3a90', 14, '2025-02-27', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a05f442d-937c-4b30-86cf-048401aa8854', '6084f643-b65c-4802-9231-af949cff3a90', 15, '2025-03-29', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b7a99897-25e5-4334-9ad6-a6f7ce7dd387', '6084f643-b65c-4802-9231-af949cff3a90', 16, '2025-04-28', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8e396ec-5d35-4c8b-abed-7cd5bcebc64c', '6084f643-b65c-4802-9231-af949cff3a90', 17, '2025-05-28', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6d31bf3-5a58-4957-a659-58732a8d4a5b', '6084f643-b65c-4802-9231-af949cff3a90', 18, '2025-06-27', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9dae28b-1528-471e-be1c-7efa066ea422', '6084f643-b65c-4802-9231-af949cff3a90', 19, '2025-07-27', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1596de43-ba66-40b5-aed7-fb01dfed2a4a', '6084f643-b65c-4802-9231-af949cff3a90', 20, '2025-08-26', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3815c84e-082e-457a-a0b5-575440d7246f', '6084f643-b65c-4802-9231-af949cff3a90', 21, '2025-09-25', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('feebac8c-1d38-4d47-9340-21dd975467ea', '6084f643-b65c-4802-9231-af949cff3a90', 22, '2025-10-25', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7b12292-7bb1-471b-9e3b-093dfcfcf3a7', '6084f643-b65c-4802-9231-af949cff3a90', 23, '2025-11-24', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('209984f1-c382-4d36-ba72-db01cd866756', '6084f643-b65c-4802-9231-af949cff3a90', 24, '2025-12-24', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c95089df-5f1a-43e3-a267-38942d6345d1', '6084f643-b65c-4802-9231-af949cff3a90', 25, '2026-01-23', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83f243a4-6095-43b6-8386-1019f1d12f5d', '6084f643-b65c-4802-9231-af949cff3a90', 26, '2026-02-22', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4adbe4ea-8987-49a6-bb6d-99e8e46a9c7b', '6084f643-b65c-4802-9231-af949cff3a90', 27, '2026-03-24', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e8a6899-a45e-405c-9969-c480568ca0a2', '6084f643-b65c-4802-9231-af949cff3a90', 28, '2026-04-23', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('114070cf-29ad-45c2-bade-54e2fb061e34', '6084f643-b65c-4802-9231-af949cff3a90', 29, '2026-05-23', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5522601-9f34-491b-b730-f1b3f343a53d', '6084f643-b65c-4802-9231-af949cff3a90', 30, '2026-06-22', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48a7b515-6b64-462a-b572-634eb2340982', '6084f643-b65c-4802-9231-af949cff3a90', 31, '2026-07-22', 1250000.0, 750000.0, 2000000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8027be64-1880-4875-b98a-4452bb3952d5', '6084f643-b65c-4802-9231-af949cff3a90', 32, '2026-08-21', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('679e800e-1502-4d46-a13d-aa33f8158cdf', '6084f643-b65c-4802-9231-af949cff3a90', 33, '2026-09-20', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4cdf5f0e-fcdb-4b61-b78c-2fc8cb4863c1', '6084f643-b65c-4802-9231-af949cff3a90', 34, '2026-10-20', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df637136-3b50-4ac1-83d9-14c875f0f6f9', '6084f643-b65c-4802-9231-af949cff3a90', 35, '2026-11-19', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31f58ebc-fc34-422a-9dfd-ad8e44f96532', '6084f643-b65c-4802-9231-af949cff3a90', 36, '2026-12-19', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bd6a1ef7-20e0-4cd7-8eed-f8667bde0589', '6084f643-b65c-4802-9231-af949cff3a90', 37, '2027-01-18', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf5389e4-c8d5-4f96-8e1e-7e9c20315d52', '6084f643-b65c-4802-9231-af949cff3a90', 38, '2027-02-17', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6385092b-a9d3-4802-8efc-a9d9376002ee', '6084f643-b65c-4802-9231-af949cff3a90', 39, '2027-03-19', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ba6121a-5470-4b45-a366-596e7cdb4ea4', '6084f643-b65c-4802-9231-af949cff3a90', 40, '2027-04-18', 1250000.0, 750000.0, 2000000.0, 0, NULL, 'unpaid');

-- Member: MUHAMAD ZULKIFLI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7cd7783d-090c-4251-8707-b9a89c3272b8', 'member148@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMAD ZULKIFLI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('25ed3c1b-21d2-4430-b59d-e87d607cfbc8', '7cd7783d-090c-4251-8707-b9a89c3272b8', '143', '143', 'MUHAMAD ZULKIFLI', 'NIK-143', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('537ae622-6c82-4020-ba3e-5420d32b3531', 'SAV-1-143', '25ed3c1b-21d2-4430-b59d-e87d607cfbc8', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5c17f438-ac15-4b83-847f-11e8a9d3d26e', 'SAV-2-143', '25ed3c1b-21d2-4430-b59d-e87d607cfbc8', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e764f030-f281-4cbc-ab20-9f4cf7210e9c', 'TRX-WAJIB-143', '5c17f438-ac15-4b83-847f-11e8a9d3d26e', '25ed3c1b-21d2-4430-b59d-e87d607cfbc8', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91c21e80-dec4-409d-84fc-ea0772e380dc', 'SAV-3-143', '25ed3c1b-21d2-4430-b59d-e87d607cfbc8', 3, 300000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('58edeb48-38f1-4da5-8d02-fd4706ae335f', 'TRX-SUKARELA-143', '91c21e80-dec4-409d-84fc-ea0772e380dc', '25ed3c1b-21d2-4430-b59d-e87d607cfbc8', 'deposit', 300000.0, 0, 300000.0, 'Saldo Awal Migrasi');

-- Member: MULYADIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('22c72016-35c2-48c9-a586-9193eab87e03', 'member149@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MULYADIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('eae383bc-8565-4074-bf02-b08579a748de', '22c72016-35c2-48c9-a586-9193eab87e03', '144', '144', 'MULYADIN', 'NIK-144', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d3870715-642c-4295-a00f-c4c9155e0d3c', 'SAV-1-144', 'eae383bc-8565-4074-bf02-b08579a748de', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9cf29794-65ad-4153-9cd3-12a800c4ee9f', 'SAV-2-144', 'eae383bc-8565-4074-bf02-b08579a748de', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('356438e5-e9d6-4132-b46c-600098a39dce', 'SAV-3-144', 'eae383bc-8565-4074-bf02-b08579a748de', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('867efbbd-39fe-499f-ad3d-e0125c1b306a', 'LOAN-144-ad4844f0', 'eae383bc-8565-4074-bf02-b08579a748de', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 2000000.0, 10, 'Migrasi Data', 'disbursed', 2000000.0, 2000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17c45a4e-3b8e-4f84-9281-d33e406387ba', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 1, '2026-04-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a2b3bca3-6459-4065-9e4b-76516a8fe278', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 2, '2026-05-23', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e644f639-994b-4237-a6cc-bc0cfdc4ca1b', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 3, '2026-06-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f1568434-de58-426a-b767-384dfee0da28', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 4, '2026-07-22', 200000.0, 30000.0, 230000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df1df379-dd30-4e03-ab33-589ac158d7a9', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 5, '2026-08-21', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2789e23e-29f2-4a7d-8b79-d06186384615', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 6, '2026-09-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9046136-c52d-4761-862c-9213fdf44048', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 7, '2026-10-20', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('216e2697-ce7d-4aa2-a39d-5d8d6f0eef31', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 8, '2026-11-19', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a002d148-a239-4e13-8fe6-6d7ec9fa80f6', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 9, '2026-12-19', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('123c86a0-8a2b-473a-bc7e-c4c47fef05f8', '867efbbd-39fe-499f-ad3d-e0125c1b306a', 10, '2027-01-18', 200000.0, 30000.0, 230000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 'LOAN-144-ed9e8beb', 'eae383bc-8565-4074-bf02-b08579a748de', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 1000000.0, 10, 'Migrasi Data', 'disbursed', 1000000.0, 1000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62c51b06-b5bb-44a9-8bd6-9f0d212e228f', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 1, '2026-06-22', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7732b6c9-c1a1-4ee1-99c2-3542cc64e0c6', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 2, '2026-07-22', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fce91a3e-849c-45b5-b594-f12f0921bc5f', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 3, '2026-08-21', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e6f21f5-9208-40f1-9693-f9db54614f22', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 4, '2026-09-20', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c6077e3-1fbd-4d0a-8ba4-cefe4048ba20', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 5, '2026-10-20', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f2feaf77-7cb7-4031-9a29-378c731909ed', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 6, '2026-11-19', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b5835bf2-8c71-4a18-a063-8e4f2770b10d', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 7, '2026-12-19', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5f6bc3a6-3569-40f0-a87c-0a47dfd55559', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 8, '2027-01-18', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('23ac6993-db16-45f4-8e70-2cd61f0f9c78', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 9, '2027-02-17', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bda5e90c-6be7-4598-8b0e-3ec2b1cbee9b', '5b273df3-b242-4f68-a5f8-aa334b7ba4a6', 10, '2027-03-19', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');

-- Member: TRIYONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('1635464e-d8da-43c7-add6-f2a05b869b69', 'member150@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'TRIYONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('dcbc3dd4-3f87-4ea9-bb62-60483b9310ba', '1635464e-d8da-43c7-add6-f2a05b869b69', '145', '145', 'TRIYONO', 'NIK-145', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dac31971-7c17-4187-8eef-bedda91c63a0', 'SAV-1-145', 'dcbc3dd4-3f87-4ea9-bb62-60483b9310ba', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6f7dbdc6-2417-4035-92d6-103f3e79bfb4', 'SAV-2-145', 'dcbc3dd4-3f87-4ea9-bb62-60483b9310ba', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ad123208-629e-4d6c-8bc1-093ef2bb9516', 'SAV-3-145', 'dcbc3dd4-3f87-4ea9-bb62-60483b9310ba', 3, 0.0, true);

-- Member: DAMYATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('125875bb-0ea0-4a75-a2d7-6ea384a621d0', 'member151@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DAMYATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2566e8d9-67b8-4a35-9727-b86bac1c607c', '125875bb-0ea0-4a75-a2d7-6ea384a621d0', '146', '146', 'DAMYATI', 'NIK-146', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('98de5a9d-d5d0-4911-a3ac-4a42f9cd32ff', 'SAV-1-146', '2566e8d9-67b8-4a35-9727-b86bac1c607c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9dd71179-6e5e-4613-82e9-bf7910778fb9', 'SAV-2-146', '2566e8d9-67b8-4a35-9727-b86bac1c607c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9f74db4b-bfa4-4cfd-97b1-8c705dab0883', 'TRX-WAJIB-146', '9dd71179-6e5e-4613-82e9-bf7910778fb9', '2566e8d9-67b8-4a35-9727-b86bac1c607c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('df57ebd7-09ea-4fc7-9eab-f2aa1ddad075', 'SAV-3-146', '2566e8d9-67b8-4a35-9727-b86bac1c607c', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 'LOAN-146-8c553f38', '2566e8d9-67b8-4a35-9727-b86bac1c607c', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 25000000.0, 20, 'Migrasi Data', 'disbursed', 25000000.0, 25000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b3ff3b18-e824-4f3e-845c-7c40bdd68451', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 1, '2025-04-28', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('86c3a347-5c62-4881-a0da-3c8534b912a9', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 2, '2025-05-28', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e854b8fe-1084-4aa3-b2a7-e3666b5a3b54', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 3, '2025-06-27', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d21fb188-f2eb-45ea-a2a0-9edab3ed6c8a', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 4, '2025-07-27', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f1465f93-5e26-43f0-b32a-79af84d81612', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 5, '2025-08-26', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('212e3e1b-6727-4a04-989b-c98bdf51e2d8', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 6, '2025-09-25', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('52bdf0e8-4dfe-4346-a430-0734008a9a86', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 7, '2025-10-25', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d3fdc01b-6130-4f28-8644-bf3b00ee97e7', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 8, '2025-11-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4408bb14-ff86-48ad-8421-9e9b560df804', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 9, '2025-12-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('40ea845b-54b1-4d38-bd8e-c8d8a8ba054f', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 10, '2026-01-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6d7e0af-6e94-4336-bf7c-39f1c205fda6', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 11, '2026-02-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a1e7990-a0b1-4faa-9895-9f7e7dd58c88', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 12, '2026-03-24', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6ea06431-3459-49df-951c-c5d693302a7b', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 13, '2026-04-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75404c79-db2d-4485-a855-cdf7e389bbd5', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 14, '2026-05-23', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7273e833-b9bd-4b5e-a000-37ba267866e2', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 15, '2026-06-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c25a910-163a-45c8-9f34-c0b9812f9160', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 16, '2026-07-22', 1250000.0, 375000.0, 1625000.0, 1250000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2682c98-1369-4fd6-973f-73e4efb64081', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 17, '2026-08-21', 1250000.0, 375000.0, 1625000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47752db8-a1e3-41e0-889a-b0df804a1425', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 18, '2026-09-20', 1250000.0, 375000.0, 1625000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b11e499-3a4e-4f42-adbe-df799a3a02c8', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 19, '2026-10-20', 1250000.0, 375000.0, 1625000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('befe9ca3-c467-4d2d-9b94-5f63d1f141fa', 'b4c8120d-45ef-4bd8-96eb-68dc1c682a45', 20, '2026-11-19', 1250000.0, 375000.0, 1625000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('c9ab699d-461a-4c0d-9b9d-acdb046a032b', 'LOAN-146-dcc68037', '2566e8d9-67b8-4a35-9727-b86bac1c607c', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 495000.0, 10, 'Migrasi Data', 'disbursed', 495000.0, 495000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1fa32174-a0a4-4eae-897c-c7144441b06d', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 1, '2026-01-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c469a1fc-a484-4f82-b86c-db6e05412bd3', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 2, '2026-02-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('54257a60-6d28-41b0-a378-58eb5d7f1e4a', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 3, '2026-03-24', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8b6a5fb9-ac15-4aad-bedf-0841b71f9598', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 4, '2026-04-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76b5c6f6-a11d-4bde-9bd0-a0bea58630a1', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 5, '2026-05-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('521fb082-6d7b-49bb-ad2d-df59d6b3f6e4', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 6, '2026-06-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('912d5723-6949-4455-bd60-04dfc13bfe71', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 7, '2026-07-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96fd9c29-1d07-4b8b-8708-d1a76e2f7019', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 8, '2026-08-21', 49500.0, 0, 49500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e3cf339a-0fa5-4075-bcb4-87b8bb3a3619', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 9, '2026-09-20', 49500.0, 0, 49500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7f7e4ed-dc4f-4696-8c9e-9005fd34723f', 'c9ab699d-461a-4c0d-9b9d-acdb046a032b', 10, '2026-10-20', 49500.0, 0, 49500.0, 0, NULL, 'unpaid');

-- Member: AGUS SETIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ea0281aa-b724-440a-a259-2187c8320d86', 'member152@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SETIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3080f948-d815-4b37-b7dc-a1136279c4c8', 'ea0281aa-b724-440a-a259-2187c8320d86', '147', '147', 'AGUS SETIAWAN', 'NIK-147', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dca45908-0928-4d56-b22a-1dc39587be8b', 'SAV-1-147', '3080f948-d815-4b37-b7dc-a1136279c4c8', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8c99771e-2082-494e-8ea3-4cb01ecef0ce', 'SAV-2-147', '3080f948-d815-4b37-b7dc-a1136279c4c8', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e6af3fac-c2a2-4545-9206-1b7fe0d6aed3', 'TRX-WAJIB-147', '8c99771e-2082-494e-8ea3-4cb01ecef0ce', '3080f948-d815-4b37-b7dc-a1136279c4c8', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e59736d7-188d-400d-bfc6-f5d5f5c0841b', 'SAV-3-147', '3080f948-d815-4b37-b7dc-a1136279c4c8', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('748d9e85-777c-4567-bfa1-ab95d8d140b0', 'TRX-SUKARELA-147', 'e59736d7-188d-400d-bfc6-f5d5f5c0841b', '3080f948-d815-4b37-b7dc-a1136279c4c8', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('d92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 'LOAN-147-24fd0233', '3080f948-d815-4b37-b7dc-a1136279c4c8', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 33791000.0, 25, 'Migrasi Data', 'disbursed', 33791000.0, 33791000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d37880f0-2f40-4f81-9626-3805ba579c88', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 1, '2026-03-24', 1351640.0, 506865.0, 1858505.0, 1351640.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb147012-cc3f-4c33-b16b-911274741d6a', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 2, '2026-04-23', 1351640.0, 506865.0, 1858505.0, 1351640.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('522ff075-5c5d-4431-8f89-86eb36df8a9d', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 3, '2026-05-23', 1351640.0, 506865.0, 1858505.0, 1351640.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eec802a6-ec29-4b07-b903-88d9be106b1b', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 4, '2026-06-22', 1351640.0, 506865.0, 1858505.0, 1351640.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c696d5d2-92ce-42c4-87f1-b9f648564aa0', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 5, '2026-07-22', 1351640.0, 506865.0, 1858505.0, 1351640.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7489cf96-ca1e-410c-af74-f035f7498f57', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 6, '2026-08-21', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58059442-aba2-4e3a-8060-5330dc95f06a', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 7, '2026-09-20', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55c1ecc1-581b-4741-b6db-8288bde31d84', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 8, '2026-10-20', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c427ea27-e399-4cd7-bcfe-fa652ba6d112', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 9, '2026-11-19', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82fefedc-9210-4dce-a249-5113ebb7c872', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 10, '2026-12-19', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d48e26b8-974c-423d-a05e-f958ca55b1cf', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 11, '2027-01-18', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('023c9dd4-2e19-4811-8511-072daf3a1a37', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 12, '2027-02-17', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('780b3735-9e16-41f7-80b5-7aaaaec2041c', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 13, '2027-03-19', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b1c3b5c-99ea-4a17-a568-7ca3a6b2ad23', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 14, '2027-04-18', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b791ee4-7551-4671-b384-a724ff01b3dc', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 15, '2027-05-18', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62af9fac-fedb-4ea0-87c6-087b4e1a6aae', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 16, '2027-06-17', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('532223b7-23d2-4d6e-8013-97b770f00b52', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 17, '2027-07-17', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35375fc5-b548-43dc-87e0-d5b74e0a97b3', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 18, '2027-08-16', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('34f63d80-261b-419f-a448-fbb14e87325f', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 19, '2027-09-15', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ac29dba-a75d-4822-9355-4d55c4ea76e3', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 20, '2027-10-15', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('daea945a-aa97-41e0-8239-517805644414', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 21, '2027-11-14', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8ca521b-030e-4978-ae8d-3ca4b40e20a3', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 22, '2027-12-14', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9500d188-e531-4162-af08-b4ffd6f9add8', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 23, '2028-01-13', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e7efd73-d768-4c82-9bb6-36065f58c74a', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 24, '2028-02-12', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f3c2e37-5c66-411f-b371-421edde69b49', 'd92efcc0-d8ea-47ae-b6e6-6bed647d99fa', 25, '2028-03-13', 1351640.0, 506865.0, 1858505.0, 0, NULL, 'unpaid');

-- Member: YUDI FAJRIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7bf0b08d-8e49-4d20-9a6c-4fc1fb3d940e', 'member153@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YUDI FAJRIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('343e72cc-f775-4f4b-9854-29dad516c534', '7bf0b08d-8e49-4d20-9a6c-4fc1fb3d940e', '148', '148', 'YUDI FAJRIANSYAH', 'NIK-148', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('79e4270a-24a7-44a0-9812-feaee2aa14b3', 'SAV-1-148', '343e72cc-f775-4f4b-9854-29dad516c534', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('50d73d0e-6ae8-40d4-823c-4962f8c20a71', 'SAV-2-148', '343e72cc-f775-4f4b-9854-29dad516c534', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('43c1043b-29c2-417c-b1b7-6edeabd30f50', 'SAV-3-148', '343e72cc-f775-4f4b-9854-29dad516c534', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('131dde4b-1c99-400b-a5f8-792c54655a3c', 'LOAN-148-e1d24674', '343e72cc-f775-4f4b-9854-29dad516c534', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 68850000.0, 30, 'Migrasi Data', 'disbursed', 68850000.0, 68850000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8a719f3-6e71-43f1-a69c-08a3ba6cf74f', '131dde4b-1c99-400b-a5f8-792c54655a3c', 1, '2026-03-24', 2295000.0, 1031542.0, 3326542.0, 2295000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4cdfe109-53dd-4239-a273-5b95d180e634', '131dde4b-1c99-400b-a5f8-792c54655a3c', 2, '2026-04-23', 2295000.0, 1031542.0, 3326542.0, 2295000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b8a75f3-93bf-4ca3-8742-2d115ebeb38c', '131dde4b-1c99-400b-a5f8-792c54655a3c', 3, '2026-05-23', 2295000.0, 1031542.0, 3326542.0, 2295000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6bc6940-79c4-4f3f-bee0-6cc931ffc9c1', '131dde4b-1c99-400b-a5f8-792c54655a3c', 4, '2026-06-22', 2295000.0, 1031542.0, 3326542.0, 2295000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('da969292-3d68-4bc5-b3a1-5f6c5ba145c1', '131dde4b-1c99-400b-a5f8-792c54655a3c', 5, '2026-07-22', 2295000.0, 1031542.0, 3326542.0, 2295000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17552ac3-aae4-474c-bb60-4f800fdeaf7c', '131dde4b-1c99-400b-a5f8-792c54655a3c', 6, '2026-08-21', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7b328d0-549c-4233-ae03-5ef24ed5c2e5', '131dde4b-1c99-400b-a5f8-792c54655a3c', 7, '2026-09-20', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4f1f0c3-e15c-4de6-9729-b4e179988893', '131dde4b-1c99-400b-a5f8-792c54655a3c', 8, '2026-10-20', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6be74d29-523e-4241-82f3-b9923af83607', '131dde4b-1c99-400b-a5f8-792c54655a3c', 9, '2026-11-19', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c6a0299-979b-463f-84dd-b5b47df91550', '131dde4b-1c99-400b-a5f8-792c54655a3c', 10, '2026-12-19', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fbb73f95-1599-42ac-80d0-bae7931fd517', '131dde4b-1c99-400b-a5f8-792c54655a3c', 11, '2027-01-18', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7608d6a0-c680-4cdb-828e-45111ed1bcb8', '131dde4b-1c99-400b-a5f8-792c54655a3c', 12, '2027-02-17', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28229720-27e0-4dc4-a787-88603bedd105', '131dde4b-1c99-400b-a5f8-792c54655a3c', 13, '2027-03-19', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('471dcf5a-d62f-41bd-85dd-86b39c71141b', '131dde4b-1c99-400b-a5f8-792c54655a3c', 14, '2027-04-18', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('634908c1-886d-4b37-9c60-bf0ed3a10ec3', '131dde4b-1c99-400b-a5f8-792c54655a3c', 15, '2027-05-18', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe873f6b-e4ad-4e2e-ba88-60c1041ca313', '131dde4b-1c99-400b-a5f8-792c54655a3c', 16, '2027-06-17', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84a0b8b1-849f-4833-8fb6-a053bfe1acce', '131dde4b-1c99-400b-a5f8-792c54655a3c', 17, '2027-07-17', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('637288ac-a6d6-4ffc-9326-1db5ebdb50d9', '131dde4b-1c99-400b-a5f8-792c54655a3c', 18, '2027-08-16', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb12502a-aee8-4f52-a6cd-ecdcd558693d', '131dde4b-1c99-400b-a5f8-792c54655a3c', 19, '2027-09-15', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('deb6f374-038a-4486-9e00-ab0f0a41fd2a', '131dde4b-1c99-400b-a5f8-792c54655a3c', 20, '2027-10-15', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3a2be037-a9aa-47c9-99a4-5ecd0a826d28', '131dde4b-1c99-400b-a5f8-792c54655a3c', 21, '2027-11-14', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ce8f5c0-527f-43f0-869d-61aad56d936f', '131dde4b-1c99-400b-a5f8-792c54655a3c', 22, '2027-12-14', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bd900dd2-8abe-4170-a74e-d9e8268687a2', '131dde4b-1c99-400b-a5f8-792c54655a3c', 23, '2028-01-13', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38362cbf-3ce0-4d6e-9fea-19e811c146ae', '131dde4b-1c99-400b-a5f8-792c54655a3c', 24, '2028-02-12', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('adcdb010-12cb-4de1-bc42-6c049a859d33', '131dde4b-1c99-400b-a5f8-792c54655a3c', 25, '2028-03-13', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('00333f09-7163-46dd-af57-b1e5cfcbe883', '131dde4b-1c99-400b-a5f8-792c54655a3c', 26, '2028-04-12', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bcdd0420-9567-474d-986a-3cafe7afc8bd', '131dde4b-1c99-400b-a5f8-792c54655a3c', 27, '2028-05-12', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f531a49c-30cc-4374-b157-d8e94330afbc', '131dde4b-1c99-400b-a5f8-792c54655a3c', 28, '2028-06-11', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02d449dd-384e-492d-b3a0-ea54442e505b', '131dde4b-1c99-400b-a5f8-792c54655a3c', 29, '2028-07-11', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1a39396e-21ad-4541-a96a-755647f10954', '131dde4b-1c99-400b-a5f8-792c54655a3c', 30, '2028-08-10', 2295000.0, 1031542.0, 3326542.0, 0, NULL, 'unpaid');

-- Member: PANJI ALDIANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2993e458-e487-464c-b8ff-54cf8c800668', 'member154@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PANJI ALDIANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e0aec8aa-7048-49a1-a2f1-9991021c9573', '2993e458-e487-464c-b8ff-54cf8c800668', '149', '149', 'PANJI ALDIANTO', 'NIK-149', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('02eaee2d-234c-48d0-b768-5de7b9690e7c', 'SAV-1-149', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('34ae2a9e-8f7b-486b-ac05-dff72b5050a5', 'SAV-2-149', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f7e245cb-67de-4a39-b58c-f6b78307a085', 'SAV-3-149', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 'LOAN-149-b1439542', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 35000000.0, 35, 'Migrasi Data', 'disbursed', 35000000.0, 35000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('326f7fcb-cd35-45ff-b784-35987057e77c', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 1, '2026-06-22', 1000000.0, 525000.0, 1525000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f0c61fe0-a655-4b3d-bde5-cef311de1419', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 2, '2026-07-22', 1000000.0, 525000.0, 1525000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6800e845-c2a5-4456-9e1b-74763c70e85b', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 3, '2026-08-21', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f73966de-d9ab-4ccc-a643-c4e189745eb0', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 4, '2026-09-20', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b6e07d0-a46b-495c-a43b-4daee0e935b3', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 5, '2026-10-20', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf3e4444-c1e4-4dc4-8226-00b550660e5e', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 6, '2026-11-19', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('763dc12e-0e15-4b1e-89e2-2cff61ab6569', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 7, '2026-12-19', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1bfbe225-de63-4b19-bc85-45882d2ebedb', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 8, '2027-01-18', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73ae0f5c-80a9-47ad-a26f-0d85b269be9e', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 9, '2027-02-17', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e969eddb-b235-4937-beaa-8d0f5112760e', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 10, '2027-03-19', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81848883-e10b-46f5-a334-391162f4bec8', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 11, '2027-04-18', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('11ee5a34-0036-45a6-988b-5f2131225b5c', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 12, '2027-05-18', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad583c24-5d77-47f8-a97b-93c021287739', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 13, '2027-06-17', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f3343aa-581c-479f-a802-21c86f620c4b', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 14, '2027-07-17', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31ef5d2f-8ac9-49f5-97c5-ee425d5f71c7', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 15, '2027-08-16', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58fd53b4-9412-4229-a08f-85fd837f3083', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 16, '2027-09-15', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38d4d28a-222c-4f63-8c7b-cb365e1ceb78', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 17, '2027-10-15', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32aabf8d-c359-4448-8d63-d4f03e93d476', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 18, '2027-11-14', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7040e5eb-748b-4c0d-b4d3-6463d031241f', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 19, '2027-12-14', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45b9eab5-3d20-418a-963c-98dd8e22e893', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 20, '2028-01-13', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a37192f-e67c-46f9-9990-83522d53bdcc', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 21, '2028-02-12', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('045f7d73-2fc4-463b-9765-31e355eb90dc', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 22, '2028-03-13', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('471679e6-5235-42c0-a2d8-d1bb9af67e60', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 23, '2028-04-12', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('085f4e9b-1399-4ad9-9429-c99db7d23124', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 24, '2028-05-12', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('824ea972-8599-4906-9411-fbb0d8f105fe', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 25, '2028-06-11', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed2f3894-6aa7-4d63-bae0-5d487efd9ef0', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 26, '2028-07-11', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a52cc8d5-85eb-4d25-95df-827f4c83031d', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 27, '2028-08-10', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('254f73f8-811a-400a-9bed-397db721180f', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 28, '2028-09-09', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76d87123-177b-45a1-8165-c431f0ca3552', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 29, '2028-10-09', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('325c4ab6-7306-432f-8ae1-8cdeac54a8e6', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 30, '2028-11-08', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7e458e0-7448-4042-abca-4fbdab8f1fbb', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 31, '2028-12-08', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('adf44689-eccd-4887-9134-ec621cf9bdfc', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 32, '2029-01-07', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08a58aa6-250d-4324-9e66-cad3eebaf542', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 33, '2029-02-06', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e81d57e-f85d-41f1-b586-7f24e622284d', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 34, '2029-03-08', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('61cc30a5-e66a-4bc5-945c-3f780544c5a5', '25cc2af1-1eb8-4cc8-b384-a1dccb0762e4', 35, '2029-04-07', 1000000.0, 525000.0, 1525000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 'LOAN-149-8302583c', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 9999990.0, 15, 'Migrasi Data', 'disbursed', 9999990.0, 9999990.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9214efe9-2e13-4971-ad9c-4a98549d631f', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 1, '2026-05-23', 666666.0, 150000.0, 816666.0, 666666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6ee417f-5592-469d-b34a-0d812353dd6b', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 2, '2026-06-22', 666666.0, 150000.0, 816666.0, 666666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1bb5f1a-7f0e-4e11-8127-8544ae30168b', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 3, '2026-07-22', 666666.0, 150000.0, 816666.0, 666666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('27d5ae47-800e-4a38-b935-92b4e3f82624', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 4, '2026-08-21', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1d337973-c223-451d-8321-5f39ef171601', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 5, '2026-09-20', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b49235d-5f90-4632-a2b4-0562ab81c6ab', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 6, '2026-10-20', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('613c94a3-f42c-41ee-a7f0-697f3c3a5c85', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 7, '2026-11-19', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('30e37a12-101f-4634-8385-0ed3ae2295a3', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 8, '2026-12-19', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b599b1d5-3bbc-4785-a2ff-80a870ad76ac', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 9, '2027-01-18', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b99bdee-cda5-4cb5-9121-3fa99757b0a3', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 10, '2027-02-17', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2abaf27-6f4b-4790-bf8d-c2eb78e52d26', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 11, '2027-03-19', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dac8f36b-9bf2-4f9f-9549-2a6dd29ce453', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 12, '2027-04-18', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79f495b0-2b14-4c2a-898f-e9d4c5736eab', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 13, '2027-05-18', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b0af820-be60-4b7b-9c97-ac6365a99f02', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 14, '2027-06-17', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('be155cbd-af68-4035-99fa-d3bfb2f0f01b', '41c8c950-d476-4b1d-a495-2d5a9f4ec2de', 15, '2027-07-17', 666666.0, 150000.0, 816666.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('71599cc3-13cb-41d8-8d3f-c5d90765e5f0', 'ORD-149-23a17631', 'e0aec8aa-7048-49a1-a2f1-9991021c9573', 165000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: RAHMAT ROMADONI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a22b475d-d876-4cce-baa3-daacfa303197', 'member155@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RAHMAT ROMADONI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('afa91e76-185b-4ea5-9141-077f885e7dfa', 'a22b475d-d876-4cce-baa3-daacfa303197', '150', '150', 'RAHMAT ROMADONI', 'NIK-150', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('693aa008-6593-4a53-891e-f0a16a2b3785', 'SAV-1-150', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('29e07bff-f61d-417f-95a6-7c2d0cadd62b', 'SAV-2-150', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7832b955-59a0-46e6-a318-7339c04f966b', 'TRX-WAJIB-150', '29e07bff-f61d-417f-95a6-7c2d0cadd62b', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c904dce7-a1a6-4c04-a013-bfab27968d82', 'SAV-3-150', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('77e38d3a-d7b2-41e0-8701-6b04dec7b28f', 'TRX-SUKARELA-150', 'c904dce7-a1a6-4c04-a013-bfab27968d82', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4b50e250-a553-4970-8ad9-202baa943d38', 'LOAN-150-8a419a4d', 'afa91e76-185b-4ea5-9141-077f885e7dfa', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 40000000.0, 40, 'Migrasi Data', 'disbursed', 40000000.0, 40000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20804f5b-f87d-4d62-bfb1-e213cbc98080', '4b50e250-a553-4970-8ad9-202baa943d38', 1, '2026-06-22', 1000000.0, 490000.0, 1490000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62547e12-8085-476f-864e-07f2557cf12b', '4b50e250-a553-4970-8ad9-202baa943d38', 2, '2026-07-22', 1000000.0, 490000.0, 1490000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68d53be8-ec04-46d7-adc4-1f4c4c4119b9', '4b50e250-a553-4970-8ad9-202baa943d38', 3, '2026-08-21', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63dfcadb-5624-4c20-9980-c68c3af2beeb', '4b50e250-a553-4970-8ad9-202baa943d38', 4, '2026-09-20', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3531cdd6-6689-484b-a1ec-445b9311988b', '4b50e250-a553-4970-8ad9-202baa943d38', 5, '2026-10-20', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e952531c-8438-4e54-b797-efabbe8570cc', '4b50e250-a553-4970-8ad9-202baa943d38', 6, '2026-11-19', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f50f9f4c-6978-4e62-9f06-4a0ff69abbfa', '4b50e250-a553-4970-8ad9-202baa943d38', 7, '2026-12-19', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3233fa05-dbc3-485a-afdd-87a1e3f7e049', '4b50e250-a553-4970-8ad9-202baa943d38', 8, '2027-01-18', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a006cfc1-665d-41ef-89ca-bccf67bb79f4', '4b50e250-a553-4970-8ad9-202baa943d38', 9, '2027-02-17', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ce8d798-8eb7-4e1f-9498-5766d79083eb', '4b50e250-a553-4970-8ad9-202baa943d38', 10, '2027-03-19', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('857099af-a400-4f14-809b-de6a0e8be9d3', '4b50e250-a553-4970-8ad9-202baa943d38', 11, '2027-04-18', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a6c3fc4-953c-454c-a67f-57c8827a662b', '4b50e250-a553-4970-8ad9-202baa943d38', 12, '2027-05-18', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('420295e5-c8de-40a1-bb20-e6ce3647a49f', '4b50e250-a553-4970-8ad9-202baa943d38', 13, '2027-06-17', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d7d7f80-0d98-464d-8ef7-f6a68f68c003', '4b50e250-a553-4970-8ad9-202baa943d38', 14, '2027-07-17', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96e806bf-3d17-4ef7-9849-272fab29d964', '4b50e250-a553-4970-8ad9-202baa943d38', 15, '2027-08-16', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('affe661d-9bb8-4241-b0c6-e5b640b656e5', '4b50e250-a553-4970-8ad9-202baa943d38', 16, '2027-09-15', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b3090db2-d39e-43a6-9e65-e66b2c15eed3', '4b50e250-a553-4970-8ad9-202baa943d38', 17, '2027-10-15', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21cb4c8a-422e-45d5-8d51-b49113d52abb', '4b50e250-a553-4970-8ad9-202baa943d38', 18, '2027-11-14', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3cce1c99-f5f7-4d3b-82ea-0454adbff4a3', '4b50e250-a553-4970-8ad9-202baa943d38', 19, '2027-12-14', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e06d4b02-6468-4722-871a-0a2a40a23fce', '4b50e250-a553-4970-8ad9-202baa943d38', 20, '2028-01-13', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38df9eec-27f9-41a5-b53f-8dabe69e7698', '4b50e250-a553-4970-8ad9-202baa943d38', 21, '2028-02-12', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5eee6b6e-c3c5-4442-98b1-6d7a3f709652', '4b50e250-a553-4970-8ad9-202baa943d38', 22, '2028-03-13', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dda0303d-c30e-4331-937f-7ea21b54ee68', '4b50e250-a553-4970-8ad9-202baa943d38', 23, '2028-04-12', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('586be135-d248-4597-8ab9-19d6245b2a36', '4b50e250-a553-4970-8ad9-202baa943d38', 24, '2028-05-12', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82f26830-f84d-4a90-8701-437cd266f808', '4b50e250-a553-4970-8ad9-202baa943d38', 25, '2028-06-11', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02542d89-0327-4c96-bf62-20ddd7211bfb', '4b50e250-a553-4970-8ad9-202baa943d38', 26, '2028-07-11', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('01c6a367-dae8-4075-96cc-f3f22637766b', '4b50e250-a553-4970-8ad9-202baa943d38', 27, '2028-08-10', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1c1ed591-003c-412a-b539-599eed1785f0', '4b50e250-a553-4970-8ad9-202baa943d38', 28, '2028-09-09', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c9f275f-9495-4993-a4cf-81a499d3e8e8', '4b50e250-a553-4970-8ad9-202baa943d38', 29, '2028-10-09', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c657b48-483e-4d88-a8f9-5200a0546477', '4b50e250-a553-4970-8ad9-202baa943d38', 30, '2028-11-08', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4e64960-f83d-43df-a00a-a7b292bef94c', '4b50e250-a553-4970-8ad9-202baa943d38', 31, '2028-12-08', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e22bbf1-d923-4ff3-a9d5-11846b95a342', '4b50e250-a553-4970-8ad9-202baa943d38', 32, '2029-01-07', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('701d60a1-4545-4564-ab6b-1d6a244593af', '4b50e250-a553-4970-8ad9-202baa943d38', 33, '2029-02-06', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f4e0eeb-64bd-4c87-a411-e89753982c2c', '4b50e250-a553-4970-8ad9-202baa943d38', 34, '2029-03-08', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fde3858d-b428-4551-8020-31bd44cbf012', '4b50e250-a553-4970-8ad9-202baa943d38', 35, '2029-04-07', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17fece22-61ad-4b17-819e-4362554366a0', '4b50e250-a553-4970-8ad9-202baa943d38', 36, '2029-05-07', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c2ed8c0-99ee-41c1-acd7-488a96cee85f', '4b50e250-a553-4970-8ad9-202baa943d38', 37, '2029-06-06', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e20e8b4-0173-4679-8453-077a79fc9a62', '4b50e250-a553-4970-8ad9-202baa943d38', 38, '2029-07-06', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c43f48bf-1ece-488b-8a5f-ca5180c9a27a', '4b50e250-a553-4970-8ad9-202baa943d38', 39, '2029-08-05', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f2a30c80-4fa1-4c55-9507-4b9d1b8b95c6', '4b50e250-a553-4970-8ad9-202baa943d38', 40, '2029-09-04', 1000000.0, 490000.0, 1490000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 'LOAN-150-905d25a1', 'afa91e76-185b-4ea5-9141-077f885e7dfa', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 10, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cbcf2cf6-ff80-409d-a896-126cb3d5cd91', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 1, '2026-04-23', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('21c2dd59-ec23-405f-ac0c-1396ea0ba02a', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 2, '2026-05-23', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d9e91767-eaed-4d36-ad1b-fdd050f2701b', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 3, '2026-06-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b5865e2-ac79-412f-9b2d-1396994d61b3', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 4, '2026-07-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55145f1e-2360-4f89-97b8-ee76f48092db', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 5, '2026-08-21', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('305a3fbe-e316-4a21-95a9-5339d1e2cf4e', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 6, '2026-09-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f88f0188-94be-4366-a9b5-fe42ef72ac08', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 7, '2026-10-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e2750aa-e77d-4191-b418-c83b2e3c04bb', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 8, '2026-11-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69f71e5d-fe32-4fee-83a6-b2a101ae52bf', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 9, '2026-12-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f4d8995-67db-437e-99a9-dc330c069b0d', 'cbfd3627-3fd3-4fce-b449-48f4e9e27aaf', 10, '2027-01-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 'LOAN-150-2dc80a1e', 'afa91e76-185b-4ea5-9141-077f885e7dfa', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 950000.0, 10, 'Migrasi Data', 'disbursed', 950000.0, 950000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0dd942b-61a0-4943-a293-98d4b43ac3b4', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 1, '2026-01-23', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6201456-69ec-428d-a9c4-563c9fe16523', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 2, '2026-02-22', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a7754dc-07f3-4c6a-a8e4-2ae24a6874d1', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 3, '2026-03-24', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('271e0415-1485-4eb9-8906-510ec1ae9d1e', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 4, '2026-04-23', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('214db060-5250-419c-9b96-954a663a6b66', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 5, '2026-05-23', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('147772e8-d6b4-427f-9481-e6ba245f0acc', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 6, '2026-06-22', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('822780c7-fcbd-4f86-a308-ed55e0c14aa5', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 7, '2026-07-22', 95000.0, 0, 95000.0, 95000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8149bf4-209d-4fca-a590-7f91846d5c48', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 8, '2026-08-21', 95000.0, 0, 95000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e78993d-ca6a-445d-b9b7-f13acc4f4552', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 9, '2026-09-20', 95000.0, 0, 95000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f66c620-1c5c-4f00-a618-d7b56acaabad', '034b6a8b-e2db-4c4b-89b4-5b6de85ca1a3', 10, '2026-10-20', 95000.0, 0, 95000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('3a97264d-e054-4d1e-a6c0-3aff783437a8', 'ORD-150-230dafd1', 'afa91e76-185b-4ea5-9141-077f885e7dfa', 50000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: YASIR ABDUL KARIM
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('5fabdf36-4b5a-445f-b3a2-dce5e708c863', 'member156@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YASIR ABDUL KARIM', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('b1197498-6fce-415e-8123-596cd9b948e7', '5fabdf36-4b5a-445f-b3a2-dce5e708c863', '151', '151', 'YASIR ABDUL KARIM', 'NIK-151', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fbc81497-7adc-4436-8686-046cabf8b721', 'SAV-1-151', 'b1197498-6fce-415e-8123-596cd9b948e7', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2b0834cc-10b8-4f62-8dfa-068b64d3d6e8', 'TRX-POKOK-151', 'fbc81497-7adc-4436-8686-046cabf8b721', 'b1197498-6fce-415e-8123-596cd9b948e7', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4468c48a-1c66-415f-b9c7-309c6b65807d', 'SAV-2-151', 'b1197498-6fce-415e-8123-596cd9b948e7', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f7296f29-a28f-4495-ba7f-173414247efd', 'TRX-WAJIB-151', '4468c48a-1c66-415f-b9c7-309c6b65807d', 'b1197498-6fce-415e-8123-596cd9b948e7', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('609061bc-59cc-4184-af8d-2d784486d633', 'SAV-3-151', 'b1197498-6fce-415e-8123-596cd9b948e7', 3, 400000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6faeb6a6-effa-4c6c-8bc9-c84855cf2583', 'TRX-SUKARELA-151', '609061bc-59cc-4184-af8d-2d784486d633', 'b1197498-6fce-415e-8123-596cd9b948e7', 'deposit', 400000.0, 0, 400000.0, 'Saldo Awal Migrasi');

-- Member: PUTRI NUR AZIZAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('da4f44b1-e052-42d9-95dd-8f417417bd46', 'member157@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PUTRI NUR AZIZAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a8f2922b-3531-4a93-8d83-6aecdbe320ae', 'da4f44b1-e052-42d9-95dd-8f417417bd46', '152', '152', 'PUTRI NUR AZIZAH', 'NIK-152', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8217b1fd-9e10-40f9-9284-315f393a0583', 'SAV-1-152', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('16c55bf4-1ae7-443b-b032-2d3b8c2b25f6', 'TRX-POKOK-152', '8217b1fd-9e10-40f9-9284-315f393a0583', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8384336e-a3a4-43aa-bd89-6065eb2f8b8f', 'SAV-2-152', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b5e7e3b5-1b17-4634-851c-dc040854528a', 'TRX-WAJIB-152', '8384336e-a3a4-43aa-bd89-6065eb2f8b8f', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('70582649-6de8-43ed-8bf8-9bfc5b12758c', 'SAV-3-152', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c6e03e31-37b3-46ec-9cf3-3b8a5c950a5a', 'TRX-SUKARELA-152', '70582649-6de8-43ed-8bf8-9bfc5b12758c', 'a8f2922b-3531-4a93-8d83-6aecdbe320ae', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: SAEPUL ANWAR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('13a5827a-cee6-4904-889f-174f7fe44483', 'member158@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SAEPUL ANWAR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8a92054e-f798-44d2-975f-2d0ad7f10f74', '13a5827a-cee6-4904-889f-174f7fe44483', '153', '153', 'SAEPUL ANWAR', 'NIK-153', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7cc736a9-dc5a-4f12-a078-d06644a8e74e', 'SAV-1-153', '8a92054e-f798-44d2-975f-2d0ad7f10f74', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('877f4017-64cd-42ee-b248-a02b532d48c3', 'SAV-2-153', '8a92054e-f798-44d2-975f-2d0ad7f10f74', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('375a9f12-0c80-4666-bbff-ae56b5223d19', 'TRX-WAJIB-153', '877f4017-64cd-42ee-b248-a02b532d48c3', '8a92054e-f798-44d2-975f-2d0ad7f10f74', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b3f4e3bf-5a1c-464e-ae8a-0fa0830e7ee5', 'SAV-3-153', '8a92054e-f798-44d2-975f-2d0ad7f10f74', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6a68dd4f-bacb-46a5-b247-6b1887348b06', 'TRX-SUKARELA-153', 'b3f4e3bf-5a1c-464e-ae8a-0fa0830e7ee5', '8a92054e-f798-44d2-975f-2d0ad7f10f74', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('09bda52d-101b-4c43-9b44-cea05668c5f4', 'LOAN-153-9a4897bd', '8a92054e-f798-44d2-975f-2d0ad7f10f74', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d5d83a09-00fe-4698-a471-c06e5760b67e', '09bda52d-101b-4c43-9b44-cea05668c5f4', 1, '2026-07-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('694a3f14-4a25-4752-90b7-8c22ed92d1cf', '09bda52d-101b-4c43-9b44-cea05668c5f4', 2, '2026-08-21', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac228d9a-719a-48fe-932e-90ad49010525', '09bda52d-101b-4c43-9b44-cea05668c5f4', 3, '2026-09-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a912178-41af-4b36-8c70-588f0e7e4209', '09bda52d-101b-4c43-9b44-cea05668c5f4', 4, '2026-10-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('617487f7-dc02-49c3-82f8-2b2428ef66d9', '09bda52d-101b-4c43-9b44-cea05668c5f4', 5, '2026-11-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('41d6e2b8-a95f-420b-a8a6-9386b953c90d', '09bda52d-101b-4c43-9b44-cea05668c5f4', 6, '2026-12-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba154361-9e3b-4f67-ae73-fe9743b61eee', '09bda52d-101b-4c43-9b44-cea05668c5f4', 7, '2027-01-18', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad8723f4-132d-44ab-b9c6-f58bf2943b3b', '09bda52d-101b-4c43-9b44-cea05668c5f4', 8, '2027-02-17', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a328130-7aca-419b-b92f-ab2f7bca7c11', '09bda52d-101b-4c43-9b44-cea05668c5f4', 9, '2027-03-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('113dccd9-7f20-4da6-8c34-38c8fc0e5597', '09bda52d-101b-4c43-9b44-cea05668c5f4', 10, '2027-04-18', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');

-- Member: ABRORI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('00e0ede4-bb3b-4436-9278-01eee79e932a', 'member159@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABRORI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('b671a5fe-2da5-46ec-81cb-b5d9a58417ce', '00e0ede4-bb3b-4436-9278-01eee79e932a', '154', '154', 'ABRORI', 'NIK-154', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ac2f5f73-6a37-47e3-9d4a-66e80a84844d', 'SAV-1-154', 'b671a5fe-2da5-46ec-81cb-b5d9a58417ce', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c0bde9b8-19d1-44fc-853d-386f56a754e8', 'SAV-2-154', 'b671a5fe-2da5-46ec-81cb-b5d9a58417ce', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ae079f8b-2309-419d-a5fe-488ded33496f', 'SAV-3-154', 'b671a5fe-2da5-46ec-81cb-b5d9a58417ce', 3, 0.0, true);

-- Member: AMANY HASYIMIYYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b9d674e5-75f6-4a2c-899f-e55673e46599', 'member160@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AMANY HASYIMIYYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 'b9d674e5-75f6-4a2c-899f-e55673e46599', '155', '155', 'AMANY HASYIMIYYAH', 'NIK-155', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('27c01943-66e8-4415-b8cf-0d8b44913ea4', 'SAV-1-155', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e2d79320-777c-4db9-958c-d66be2cd2d4a', 'TRX-POKOK-155', '27c01943-66e8-4415-b8cf-0d8b44913ea4', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a3dfe14b-5196-4f6c-9488-8943b52eb383', 'SAV-2-155', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fb57ee65-3fb6-4845-ae56-350e45a32f7e', 'TRX-WAJIB-155', 'a3dfe14b-5196-4f6c-9488-8943b52eb383', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('85bff1fb-3ff7-4aae-8b7b-d9d2372bb01e', 'SAV-3-155', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e3d414a8-98ef-4786-91e9-416c25bc6c1f', 'TRX-SUKARELA-155', '85bff1fb-3ff7-4aae-8b7b-d9d2372bb01e', 'c8825ee2-1c85-4e65-8f4d-a5f69e31e33c', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');

-- Member: KADINO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2664eb78-5fdb-44cd-b458-936b94ce655f', 'member161@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KADINO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fa6b07b5-0275-4625-a23f-a8292dd1bfc3', '2664eb78-5fdb-44cd-b458-936b94ce655f', '156', '156', 'KADINO', 'NIK-156', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c7ab56d8-1a91-4025-be79-fa4c1528f363', 'SAV-1-156', 'fa6b07b5-0275-4625-a23f-a8292dd1bfc3', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('403fb135-5b39-4cf2-97dd-148839ecafb3', 'SAV-2-156', 'fa6b07b5-0275-4625-a23f-a8292dd1bfc3', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f1dd4357-3fd9-416d-b4ed-c53db5b4036b', 'TRX-WAJIB-156', '403fb135-5b39-4cf2-97dd-148839ecafb3', 'fa6b07b5-0275-4625-a23f-a8292dd1bfc3', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7e840f78-c9e6-4686-a19b-a0b5932b2195', 'SAV-3-156', 'fa6b07b5-0275-4625-a23f-a8292dd1bfc3', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('548a6c55-c148-40e3-9d49-aca77c58bec9', 'TRX-SUKARELA-156', '7e840f78-c9e6-4686-a19b-a0b5932b2195', 'fa6b07b5-0275-4625-a23f-a8292dd1bfc3', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');

-- Member: IIM IBRAHIM
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('fceca3b5-00bc-4dc1-b67a-2584fd594da4', 'member162@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IIM IBRAHIM', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ffd27696-f518-4745-a0f8-957cd85c3af6', 'fceca3b5-00bc-4dc1-b67a-2584fd594da4', '157', '157', 'IIM IBRAHIM', 'NIK-157', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f815263f-4495-43b8-b645-4e7826418260', 'SAV-1-157', 'ffd27696-f518-4745-a0f8-957cd85c3af6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bff2c047-deb1-4d3e-af22-67282dc97bfc', 'SAV-2-157', 'ffd27696-f518-4745-a0f8-957cd85c3af6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bbe9f922-ea4b-4e3b-ad2b-3228bd40d287', 'TRX-WAJIB-157', 'bff2c047-deb1-4d3e-af22-67282dc97bfc', 'ffd27696-f518-4745-a0f8-957cd85c3af6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0fffb442-2358-4a90-8cfd-e1dc1c992a61', 'SAV-3-157', 'ffd27696-f518-4745-a0f8-957cd85c3af6', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b6b68852-d1dc-4afa-ad78-f26ef6f253e2', 'TRX-SUKARELA-157', '0fffb442-2358-4a90-8cfd-e1dc1c992a61', 'ffd27696-f518-4745-a0f8-957cd85c3af6', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: YOPI RISADANA PUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f918aa40-3289-4ea9-8583-9dd1d474be9d', 'member163@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YOPI RISADANA PUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 'f918aa40-3289-4ea9-8583-9dd1d474be9d', '158', '158', 'YOPI RISADANA PUTRA', 'NIK-158', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8dad95b8-161c-43c5-809c-c6b96306d2bd', 'SAV-1-158', '16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8926a15-a8ba-48c0-9b47-96bf0aaea259', 'SAV-2-158', '16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('046e4236-d7fb-44af-98dd-4dd11c32ac11', 'TRX-WAJIB-158', 'd8926a15-a8ba-48c0-9b47-96bf0aaea259', '16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d2a179ef-bafd-4bfe-bbb6-84f9fbc63941', 'SAV-3-158', '16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 3, 500000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('413aa9ae-c8d5-4e3b-9f89-d689d4bd7034', 'TRX-SUKARELA-158', 'd2a179ef-bafd-4bfe-bbb6-84f9fbc63941', '16fea2b3-99a9-4cb3-921a-ada837a9ebd6', 'deposit', 500000.0, 0, 500000.0, 'Saldo Awal Migrasi');

-- Member: DWI HARMANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f32791bb-8d44-4b34-b42a-a066831dd2c1', 'member164@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DWI HARMANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 'f32791bb-8d44-4b34-b42a-a066831dd2c1', '159', '159', 'DWI HARMANTO', 'NIK-159', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('503928ad-79dd-422d-b255-f8628a5b01af', 'SAV-1-159', 'f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('24a6b98c-f1b6-44c4-a472-03bb72439107', 'SAV-2-159', 'f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dd19e784-a111-4f63-9ea6-a67800ed8cfd', 'TRX-WAJIB-159', '24a6b98c-f1b6-44c4-a472-03bb72439107', 'f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91489efc-a135-4286-b89d-edcfd6ebc7f8', 'SAV-3-159', 'f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('48c7b26c-2d76-48eb-879c-037679a41c75', 'TRX-SUKARELA-159', '91489efc-a135-4286-b89d-edcfd6ebc7f8', 'f7dcd9ae-8f13-44b0-a41f-4b5270f293ad', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: MOCHAMMAD RISWAN YUNANDA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('86941f28-d348-4f0c-965d-2f79905e8122', 'member165@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOCHAMMAD RISWAN YUNANDA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8f56da19-6d81-4215-9bd4-aacab362c7c8', '86941f28-d348-4f0c-965d-2f79905e8122', '160', '160', 'MOCHAMMAD RISWAN YUNANDA', 'NIK-160', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('165c63de-cd3c-493c-993d-758d318cfc65', 'SAV-1-160', '8f56da19-6d81-4215-9bd4-aacab362c7c8', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7cf5d227-fc91-4939-88d1-42893580bae7', 'SAV-2-160', '8f56da19-6d81-4215-9bd4-aacab362c7c8', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c42e3b47-003e-4eb9-838c-55a84ab60e89', 'TRX-WAJIB-160', '7cf5d227-fc91-4939-88d1-42893580bae7', '8f56da19-6d81-4215-9bd4-aacab362c7c8', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91bff312-9db5-4006-949c-57d100b5588e', 'SAV-3-160', '8f56da19-6d81-4215-9bd4-aacab362c7c8', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5c4a99a7-a7b5-4a10-bf81-ec38092151f4', 'TRX-SUKARELA-160', '91bff312-9db5-4006-949c-57d100b5588e', '8f56da19-6d81-4215-9bd4-aacab362c7c8', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: ABDUL ROHMAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('bad5191b-6150-400f-a390-90ebe39d8bd9', 'member166@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABDUL ROHMAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ce845291-c8ff-4e5d-973e-a56706b34ef9', 'bad5191b-6150-400f-a390-90ebe39d8bd9', '161', '161', 'ABDUL ROHMAN', 'NIK-161', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8e4a6e92-cfa1-45c8-8ca5-10a47e62bbdf', 'SAV-1-161', 'ce845291-c8ff-4e5d-973e-a56706b34ef9', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f3807fc-bf62-4f94-b8d2-aba51d36e723', 'SAV-2-161', 'ce845291-c8ff-4e5d-973e-a56706b34ef9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e7164d58-0047-48e8-b901-145d6c18e3d1', 'TRX-WAJIB-161', '3f3807fc-bf62-4f94-b8d2-aba51d36e723', 'ce845291-c8ff-4e5d-973e-a56706b34ef9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('61542f55-39fd-4d50-8452-2cf484b41fef', 'SAV-3-161', 'ce845291-c8ff-4e5d-973e-a56706b34ef9', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9592fb45-0896-43ad-a1b4-8d09b3dee9a4', 'TRX-SUKARELA-161', '61542f55-39fd-4d50-8452-2cf484b41fef', 'ce845291-c8ff-4e5d-973e-a56706b34ef9', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: VIKKY SUFGEFNANDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8c518936-1df1-4491-a4f1-c364b0c1c754', 'member167@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'VIKKY SUFGEFNANDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3879a1f9-e1c9-4688-b559-0911b33609b9', '8c518936-1df1-4491-a4f1-c364b0c1c754', '162', '162', 'VIKKY SUFGEFNANDI', 'NIK-162', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('539d9653-020e-48c5-974e-c6b901b4bf56', 'SAV-1-162', '3879a1f9-e1c9-4688-b559-0911b33609b9', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('df1a0fb2-0df6-4d1f-8951-0644286aeb02', 'TRX-POKOK-162', '539d9653-020e-48c5-974e-c6b901b4bf56', '3879a1f9-e1c9-4688-b559-0911b33609b9', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('969da002-a794-4fe2-9136-1201b3e4d3ed', 'SAV-2-162', '3879a1f9-e1c9-4688-b559-0911b33609b9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ecfaba47-8727-489a-a135-8924681aec2a', 'TRX-WAJIB-162', '969da002-a794-4fe2-9136-1201b3e4d3ed', '3879a1f9-e1c9-4688-b559-0911b33609b9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e3cf59b0-6ac7-48fc-a621-8326ac25288e', 'SAV-3-162', '3879a1f9-e1c9-4688-b559-0911b33609b9', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a89c6ca5-c17f-4145-a2ad-421c6a54b93c', 'TRX-SUKARELA-162', 'e3cf59b0-6ac7-48fc-a621-8326ac25288e', '3879a1f9-e1c9-4688-b559-0911b33609b9', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: REZA IBNU CAHYADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d9a61fbf-87ab-4e7a-b9ff-359d7f5a1be1', 'member168@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'REZA IBNU CAHYADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('80723b26-6345-4d1a-9d43-8dabd3f01f11', 'd9a61fbf-87ab-4e7a-b9ff-359d7f5a1be1', '163', '163', 'REZA IBNU CAHYADI', 'NIK-163', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5a731039-c645-4542-84ca-370f9aa02acf', 'SAV-1-163', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f0afa6e7-3c4d-419d-98b1-909826d1ae64', 'TRX-POKOK-163', '5a731039-c645-4542-84ca-370f9aa02acf', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('27de379b-5599-4e31-9cf2-068008c32ff2', 'SAV-2-163', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d5f43500-ea6c-42db-a274-6a621e42d4a8', 'TRX-WAJIB-163', '27de379b-5599-4e31-9cf2-068008c32ff2', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1685ce55-a6ba-4bdd-91aa-351cabfc3019', 'SAV-3-163', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('96445ddb-23f2-4984-adf8-7ca4b878a8df', 'TRX-SUKARELA-163', '1685ce55-a6ba-4bdd-91aa-351cabfc3019', '80723b26-6345-4d1a-9d43-8dabd3f01f11', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: LARASATI DEWI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d0d37372-4550-4724-b257-57cfae434ecb', 'member169@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'LARASATI DEWI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('79932481-336d-4655-9045-d3f08d4d43da', 'd0d37372-4550-4724-b257-57cfae434ecb', '164', '164', 'LARASATI DEWI', 'NIK-164', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3839bf75-1a89-4ec3-8c4b-d6d8fc7f273e', 'SAV-1-164', '79932481-336d-4655-9045-d3f08d4d43da', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bbf2bda4-9ab3-4593-a13a-db6aca14b1d1', 'TRX-POKOK-164', '3839bf75-1a89-4ec3-8c4b-d6d8fc7f273e', '79932481-336d-4655-9045-d3f08d4d43da', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3d98c89b-dc37-47fa-8958-7863f8bfaa8c', 'SAV-2-164', '79932481-336d-4655-9045-d3f08d4d43da', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('71e79b48-461b-4edf-bc57-134dba8fda12', 'TRX-WAJIB-164', '3d98c89b-dc37-47fa-8958-7863f8bfaa8c', '79932481-336d-4655-9045-d3f08d4d43da', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d47a23f9-4626-4552-a493-4038b52a99d3', 'SAV-3-164', '79932481-336d-4655-9045-d3f08d4d43da', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('04749454-a630-42a8-b403-5c9c4ed73991', 'TRX-SUKARELA-164', 'd47a23f9-4626-4552-a493-4038b52a99d3', '79932481-336d-4655-9045-d3f08d4d43da', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: MARYANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7d63edce-290b-4ae3-baee-b2d1b592b62f', 'member170@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MARYANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', '7d63edce-290b-4ae3-baee-b2d1b592b62f', '165', '165', 'MARYANI', 'NIK-165', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b0008ebb-7011-4c03-8a39-47c1924758eb', 'SAV-1-165', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('67e07cbf-0a20-4f27-a460-a85aa6b0b317', 'SAV-2-165', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0cd7bb9c-aa6f-4f61-95a0-089d5ecddcf3', 'TRX-WAJIB-165', '67e07cbf-0a20-4f27-a460-a85aa6b0b317', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2e099052-62d9-4980-ba05-51b89b72be28', 'SAV-3-165', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('da8db857-a3c7-4390-a9a1-5971476cedae', 'TRX-SUKARELA-165', '2e099052-62d9-4980-ba05-51b89b72be28', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('9cbd84e2-0efc-4cd4-a8c7-942a670bd4ea', 'ORD-165-6770479f', 'fa3b20f6-ae91-4ca0-a1c7-ffacaaa2d129', 15000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: MARYANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('41407c1d-b9ea-47f3-8daa-b833905a5439', 'member171@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MARYANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fa0886a5-c3de-4fc3-9421-dfa6454bf71a', '41407c1d-b9ea-47f3-8daa-b833905a5439', '166', '166', 'MARYANTO', 'NIK-166', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c13bfe00-4eee-4563-b69f-d397da1d5ef7', 'SAV-1-166', 'fa0886a5-c3de-4fc3-9421-dfa6454bf71a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('496f1e16-bf70-48cb-8de3-aa6a7be405f0', 'SAV-2-166', 'fa0886a5-c3de-4fc3-9421-dfa6454bf71a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a2dfc88c-aa42-406c-bd9d-c9f3a35af882', 'TRX-WAJIB-166', '496f1e16-bf70-48cb-8de3-aa6a7be405f0', 'fa0886a5-c3de-4fc3-9421-dfa6454bf71a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aec292ef-0948-4fc4-9894-4803bd64161a', 'SAV-3-166', 'fa0886a5-c3de-4fc3-9421-dfa6454bf71a', 3, 0.0, true);

-- Member: DEDEH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('926a409c-cf72-4e53-9607-a6d115e35ff0', 'member172@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DEDEH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c2a11ae9-e061-4c8f-b239-9c8468baaa38', '926a409c-cf72-4e53-9607-a6d115e35ff0', '167', '167', 'DEDEH', 'NIK-167', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('51c71c40-c6ea-47a7-a3ba-0313355e8270', 'SAV-1-167', 'c2a11ae9-e061-4c8f-b239-9c8468baaa38', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2589c3d6-646b-466a-af2d-cd118d49c1ca', 'SAV-2-167', 'c2a11ae9-e061-4c8f-b239-9c8468baaa38', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a4ed7a69-4419-4a20-ae2a-fe5418c4887d', 'TRX-WAJIB-167', '2589c3d6-646b-466a-af2d-cd118d49c1ca', 'c2a11ae9-e061-4c8f-b239-9c8468baaa38', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8f5f1cc0-d862-4bba-a5d3-a79d31e40d2d', 'SAV-3-167', 'c2a11ae9-e061-4c8f-b239-9c8468baaa38', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 'LOAN-167-220c9363', 'c2a11ae9-e061-4c8f-b239-9c8468baaa38', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 20000000.0, 20, 'Migrasi Data', 'disbursed', 20000000.0, 20000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38e03da4-d734-4b88-88ce-738c07cb09c6', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 1, '2025-01-28', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85584294-1550-406a-9068-5b6d6d4fdbff', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 2, '2025-02-27', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('acd6ade8-503a-4f60-91c1-987937b22181', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 3, '2025-03-29', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad18334a-d9e3-4408-a872-9b8e0e93233c', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 4, '2025-04-28', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2b8e877-619f-429f-8e4c-74ff5c1ee7b5', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 5, '2025-05-28', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e9f6dd5-cf2a-4be0-87c3-378246f817f8', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 6, '2025-06-27', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7764ac6e-0fa3-43d6-8472-3b52c2e49798', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 7, '2025-07-27', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fb7af069-92d7-411e-aa68-5e65721c73b1', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 8, '2025-08-26', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c069c6f4-7702-4161-a3b4-f5548615c5b0', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 9, '2025-09-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b98233a7-8c15-4235-9f34-3df3db6c50d2', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 10, '2025-10-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('13bcdd2e-fafc-49cd-8c28-fadbbb91b2d2', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 11, '2025-11-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('afc00c04-2528-47fb-9437-47173869c8e5', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 12, '2025-12-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4a51ef1-37fa-4113-b853-e66a44590885', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 13, '2026-01-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9fbe8052-a63d-4337-b00a-b4678b68d604', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 14, '2026-02-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24f935e5-dc8a-49bd-8484-5cf5fc19ef79', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 15, '2026-03-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f53133b6-86ae-482d-b2fb-97375ace9572', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 16, '2026-04-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3511c159-82a7-4a22-b6a0-e3301771a1bf', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 17, '2026-05-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6663d77-61a5-40cd-8eff-e01270b2a489', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 18, '2026-06-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d172aa1e-e7db-49df-9e97-bea46da86872', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 19, '2026-07-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e6acefc-6686-4af4-b356-53339a2a4a0d', 'b7b8dece-0827-4dc4-bd3f-4ce37e976d05', 20, '2026-08-21', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');

-- Member: NOFILAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4852ce27-fb55-43de-be66-441de9e068fc', 'member173@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NOFILAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d3d097ab-8939-41a0-b016-1367cee66b57', '4852ce27-fb55-43de-be66-441de9e068fc', '168', '168', 'NOFILAH', 'NIK-168', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8294c958-541b-44f7-880c-71c7d35d2f44', 'SAV-1-168', 'd3d097ab-8939-41a0-b016-1367cee66b57', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('75a3d4c7-e3aa-42ec-80d8-ee9eeecdac65', 'SAV-2-168', 'd3d097ab-8939-41a0-b016-1367cee66b57', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('03744baa-64cc-46a8-9c28-82674e958628', 'TRX-WAJIB-168', '75a3d4c7-e3aa-42ec-80d8-ee9eeecdac65', 'd3d097ab-8939-41a0-b016-1367cee66b57', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('08b1117c-5fa0-42e8-b3d2-cb09aad6e290', 'SAV-3-168', 'd3d097ab-8939-41a0-b016-1367cee66b57', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9b6001ca-713b-4494-8592-5532fad40cf1', 'TRX-SUKARELA-168', '08b1117c-5fa0-42e8-b3d2-cb09aad6e290', 'd3d097ab-8939-41a0-b016-1367cee66b57', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('83b0a53c-e156-4779-bee3-8c6efa044ca6', 'LOAN-168-bcdf7c90', 'd3d097ab-8939-41a0-b016-1367cee66b57', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 800000.0, 10, 'Migrasi Data', 'disbursed', 800000.0, 800000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b79006d-295d-45cf-84d2-8ab5d27c927d', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 1, '2025-12-24', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eef8c55f-8d9f-443e-ba5d-4f255b00dd50', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 2, '2026-01-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8575573-f62f-4cf1-9ea1-118918e22bc6', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 3, '2026-02-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0b0b4154-d610-4f87-bebe-8dbde77f75d3', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 4, '2026-03-24', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac7b587b-b571-4114-992a-770e0d2e375f', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 5, '2026-04-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('831283b7-0d4c-478b-ba7d-0df733bb5e2a', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 6, '2026-05-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81634e51-8a22-453b-8363-ac32aa288ad1', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 7, '2026-06-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d976317a-48a3-4d63-bbbf-c87cd5c9adb8', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 8, '2026-07-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('36dab59a-2d47-42ee-b809-ec4cec665314', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 9, '2026-08-21', 80000.0, 0, 80000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d11ca580-2229-4853-b7b3-84476f754ad4', '83b0a53c-e156-4779-bee3-8c6efa044ca6', 10, '2026-09-20', 80000.0, 0, 80000.0, 0, NULL, 'unpaid');

-- Member: VERDHIKA WIDIARJO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c506c1cd-7c04-4a35-91d5-116c81d143c7', 'member174@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'VERDHIKA WIDIARJO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8f1cd18b-4caa-4429-8947-eb6c9330c059', 'c506c1cd-7c04-4a35-91d5-116c81d143c7', '169', '169', 'VERDHIKA WIDIARJO', 'NIK-169', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bd0e45c1-2c13-44a5-b664-d8839b87c5ea', 'SAV-1-169', '8f1cd18b-4caa-4429-8947-eb6c9330c059', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4419006e-c155-411d-a0a7-94398387964c', 'SAV-2-169', '8f1cd18b-4caa-4429-8947-eb6c9330c059', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('74d6ba55-bd76-49ca-a5a1-360704d216db', 'SAV-3-169', '8f1cd18b-4caa-4429-8947-eb6c9330c059', 3, 0.0, true);

-- Member: IMELSARA WIJATMOKO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('666f2840-b529-4672-8d66-b8d76e9707fa', 'member175@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IMELSARA WIJATMOKO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e0790d17-1967-4efd-b5c9-cf8e11eebb94', '666f2840-b529-4672-8d66-b8d76e9707fa', '170', '170', 'IMELSARA WIJATMOKO', 'NIK-170', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('06271d1a-9a2e-4ebd-833b-05df6da2c8ff', 'SAV-1-170', 'e0790d17-1967-4efd-b5c9-cf8e11eebb94', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d3251e28-4027-49ba-9d39-cc6dd62d90dd', 'SAV-2-170', 'e0790d17-1967-4efd-b5c9-cf8e11eebb94', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a38432db-7a50-477b-ae75-2913475d94b8', 'SAV-3-170', 'e0790d17-1967-4efd-b5c9-cf8e11eebb94', 3, 0.0, true);

-- Member: SUNARSO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('48e33ed4-9d7f-4403-9959-173f851e785e', 'member176@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUNARSO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6fa30d60-387b-40e0-aad3-61fde9d0dc7a', '48e33ed4-9d7f-4403-9959-173f851e785e', '171', '171', 'SUNARSO', 'NIK-171', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0999146b-ba19-4b12-80e7-fbff7946dcfe', 'SAV-1-171', '6fa30d60-387b-40e0-aad3-61fde9d0dc7a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d2539443-5f28-4094-b310-a385024205b0', 'SAV-2-171', '6fa30d60-387b-40e0-aad3-61fde9d0dc7a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0c914ade-f756-4666-9703-91b71680ca2a', 'TRX-WAJIB-171', 'd2539443-5f28-4094-b310-a385024205b0', '6fa30d60-387b-40e0-aad3-61fde9d0dc7a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0063ce6c-1851-425f-82ed-3471f6110f62', 'SAV-3-171', '6fa30d60-387b-40e0-aad3-61fde9d0dc7a', 3, 0.0, true);

-- Member: HAIRUL SOLEH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7cc16ba0-ac2d-4a4e-92a4-6cd70f8560b2', 'member177@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HAIRUL SOLEH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fd3b45d4-ce53-45a0-8781-a6af64887b0e', '7cc16ba0-ac2d-4a4e-92a4-6cd70f8560b2', '172', '172', 'HAIRUL SOLEH', 'NIK-172', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('10c356aa-ad29-405c-bf3e-e46a234142ee', 'SAV-1-172', 'fd3b45d4-ce53-45a0-8781-a6af64887b0e', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8fcf524e-b0e8-4a86-9842-04391fae2a43', 'SAV-2-172', 'fd3b45d4-ce53-45a0-8781-a6af64887b0e', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('21a9c0f2-7846-4762-b497-38e75ab3b7ce', 'TRX-WAJIB-172', '8fcf524e-b0e8-4a86-9842-04391fae2a43', 'fd3b45d4-ce53-45a0-8781-a6af64887b0e', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('abd71c0c-a11d-44ca-a585-a80e8f460e2f', 'SAV-3-172', 'fd3b45d4-ce53-45a0-8781-a6af64887b0e', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('29d43627-4604-4235-b3d8-cce2d60f57d7', 'TRX-SUKARELA-172', 'abd71c0c-a11d-44ca-a585-a80e8f460e2f', 'fd3b45d4-ce53-45a0-8781-a6af64887b0e', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');

-- Member: SITI JULAEHA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('03382305-b8ca-45f7-aad5-9b1e62f520b2', 'member178@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SITI JULAEHA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('27ecdba1-ece9-4919-a705-8e5e0076fcde', '03382305-b8ca-45f7-aad5-9b1e62f520b2', '173', '173', 'SITI JULAEHA', 'NIK-173', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2f44192c-c973-4b2d-bab0-58bc7842d475', 'SAV-1-173', '27ecdba1-ece9-4919-a705-8e5e0076fcde', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f17d1a5f-df4a-4c56-a6b2-e14b73f004df', 'SAV-2-173', '27ecdba1-ece9-4919-a705-8e5e0076fcde', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1fdb7886-c5ff-4ef1-870f-6a5ffc46ad26', 'TRX-WAJIB-173', 'f17d1a5f-df4a-4c56-a6b2-e14b73f004df', '27ecdba1-ece9-4919-a705-8e5e0076fcde', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d482e4df-0272-4fd0-b0fa-531e40c3b546', 'SAV-3-173', '27ecdba1-ece9-4919-a705-8e5e0076fcde', 3, 1000000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e0f9b8bb-5f82-41a2-8324-506c573795c7', 'TRX-SUKARELA-173', 'd482e4df-0272-4fd0-b0fa-531e40c3b546', '27ecdba1-ece9-4919-a705-8e5e0076fcde', 'deposit', 1000000.0, 0, 1000000.0, 'Saldo Awal Migrasi');

-- Member: ABDUL RAHMAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6d3d3e47-aef7-42ac-80e0-0220864b5c70', 'member179@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ABDUL RAHMAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d958fae1-02ec-44d9-b5a0-d28cc393385a', '6d3d3e47-aef7-42ac-80e0-0220864b5c70', '174', '174', 'ABDUL RAHMAN', 'NIK-174', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fa135a21-a2e9-4a51-bf38-a17730c09ad6', 'SAV-1-174', 'd958fae1-02ec-44d9-b5a0-d28cc393385a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d1bc8340-7476-4b3b-a28f-9c5e42e46f18', 'SAV-2-174', 'd958fae1-02ec-44d9-b5a0-d28cc393385a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('887e8eda-50f5-4a9d-a12a-44c1a60c5576', 'TRX-WAJIB-174', 'd1bc8340-7476-4b3b-a28f-9c5e42e46f18', 'd958fae1-02ec-44d9-b5a0-d28cc393385a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f628e497-fb69-4a87-8916-fdf2a1c2300d', 'SAV-3-174', 'd958fae1-02ec-44d9-b5a0-d28cc393385a', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bb1b2fae-81a5-474d-8663-f3d039348162', 'TRX-SUKARELA-174', 'f628e497-fb69-4a87-8916-fdf2a1c2300d', 'd958fae1-02ec-44d9-b5a0-d28cc393385a', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: IRFAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('dec874da-4b9b-47d5-bf44-d9a07cdb9683', 'member180@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IRFAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f1ee0e9e-3ad8-4092-b438-4461f326f034', 'dec874da-4b9b-47d5-bf44-d9a07cdb9683', '175', '175', 'IRFAN', 'NIK-175', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b41338c3-153f-49b8-8cf4-716911922e7c', 'SAV-1-175', 'f1ee0e9e-3ad8-4092-b438-4461f326f034', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1677852d-0833-43c5-a9b1-a21dbfb347cb', 'SAV-2-175', 'f1ee0e9e-3ad8-4092-b438-4461f326f034', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a06433f8-47f8-4502-bea2-6b7b4b27d662', 'TRX-WAJIB-175', '1677852d-0833-43c5-a9b1-a21dbfb347cb', 'f1ee0e9e-3ad8-4092-b438-4461f326f034', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('19a3a93b-3d84-4c6e-af33-0d95294e54fc', 'SAV-3-175', 'f1ee0e9e-3ad8-4092-b438-4461f326f034', 3, 25000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ab58fefd-4a1d-4350-9937-2c518fb7ec85', 'TRX-SUKARELA-175', '19a3a93b-3d84-4c6e-af33-0d95294e54fc', 'f1ee0e9e-3ad8-4092-b438-4461f326f034', 'deposit', 25000.0, 0, 25000.0, 'Saldo Awal Migrasi');

-- Member: GAMAL DINURAKSA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('54bafb1d-4035-46ad-b361-c3f356aaaa0a', 'member181@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'GAMAL DINURAKSA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', '54bafb1d-4035-46ad-b361-c3f356aaaa0a', '176', '176', 'GAMAL DINURAKSA', 'NIK-176', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8b06c1c5-4ea3-4ce2-b0aa-0ed976d74bb2', 'SAV-1-176', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d697a63d-ac8d-42a1-aa87-90ee2dcf7913', 'SAV-2-176', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2532e263-6165-462a-ade3-00a266892361', 'TRX-WAJIB-176', 'd697a63d-ac8d-42a1-aa87-90ee2dcf7913', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('285c5005-23cf-4d0e-a4e7-183c20c303bc', 'SAV-3-176', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('66e87a52-5259-4e7c-897a-ca309396a0fc', 'TRX-SUKARELA-176', '285c5005-23cf-4d0e-a4e7-183c20c303bc', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('d67e682d-9149-463e-adc1-aff29aa3f526', 'ORD-176-b61bc94d', '2c32d3c3-6f0b-4e0c-b04b-2b27eeda90d4', 432500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: HANAPI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8954cf8a-9431-4a93-a692-dfdbcd458a3b', 'member182@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HANAPI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('200b1f5e-00ed-4617-a9fa-663548b68566', '8954cf8a-9431-4a93-a692-dfdbcd458a3b', '177', '177', 'HANAPI', 'NIK-177', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0002c3fb-9326-4605-9910-705b21fe7b42', 'SAV-1-177', '200b1f5e-00ed-4617-a9fa-663548b68566', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b1c3a04e-4e87-42ae-8158-4f474df57cc6', 'SAV-2-177', '200b1f5e-00ed-4617-a9fa-663548b68566', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dd93b95a-80fb-4c40-acab-0347277a51e7', 'TRX-WAJIB-177', 'b1c3a04e-4e87-42ae-8158-4f474df57cc6', '200b1f5e-00ed-4617-a9fa-663548b68566', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('75f1dbd8-041f-4193-a2ec-b50165e8ff35', 'SAV-3-177', '200b1f5e-00ed-4617-a9fa-663548b68566', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1ab13610-67f1-482a-8495-c755ded4ddc5', 'TRX-SUKARELA-177', '75f1dbd8-041f-4193-a2ec-b50165e8ff35', '200b1f5e-00ed-4617-a9fa-663548b68566', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: SLAMET SUPONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ecedf4f2-4f0d-4870-bb01-60e1aedc8308', 'member183@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SLAMET SUPONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 'ecedf4f2-4f0d-4870-bb01-60e1aedc8308', '178', '178', 'SLAMET SUPONO', 'NIK-178', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0be3bd6d-ef20-400d-a85c-fae25da8819d', 'SAV-1-178', '5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d47358cd-75fc-40b0-be06-7bf763e61ae6', 'SAV-2-178', '5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('02fc7179-d1f8-4f54-b70d-f44fa48585ab', 'TRX-WAJIB-178', 'd47358cd-75fc-40b0-be06-7bf763e61ae6', '5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3fec8ec4-618b-457b-9413-c69beb030375', 'SAV-3-178', '5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 3, 0.0, true);
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('283ed2b4-6a23-46c8-9fad-003c3bccbab0', 'ORD-178-a169d5d6', '5b28bf20-2c98-4b05-ad11-fcfa7ca9992b', 289500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ISMANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('9a46cd90-9580-486c-a3b9-dede29a77331', 'member184@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ISMANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2c0515e4-1800-4fec-9c3a-13f5dce1cfab', '9a46cd90-9580-486c-a3b9-dede29a77331', '179', '179', 'ISMANTO', 'NIK-179', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6067cfda-5825-424f-b48a-2f20b63435be', 'SAV-1-179', '2c0515e4-1800-4fec-9c3a-13f5dce1cfab', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d7ec37cc-e29c-4d19-94eb-a21ed2d0fdb0', 'SAV-2-179', '2c0515e4-1800-4fec-9c3a-13f5dce1cfab', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('88755ae8-4b42-4714-bf31-cc9a5a7182da', 'TRX-WAJIB-179', 'd7ec37cc-e29c-4d19-94eb-a21ed2d0fdb0', '2c0515e4-1800-4fec-9c3a-13f5dce1cfab', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('226b420d-55d0-407b-9b0c-8fa16fad288d', 'SAV-3-179', '2c0515e4-1800-4fec-9c3a-13f5dce1cfab', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6ed79a85-2ae1-40b7-85b0-84ab23d3f5a6', 'TRX-SUKARELA-179', '226b420d-55d0-407b-9b0c-8fa16fad288d', '2c0515e4-1800-4fec-9c3a-13f5dce1cfab', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: DIAN HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('dd2a46b2-e7a0-4ada-af14-82d5419e1d54', 'member185@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DIAN HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('58e8ba8d-a52f-4954-9b49-79c67c17c146', 'dd2a46b2-e7a0-4ada-af14-82d5419e1d54', '180', '180', 'DIAN HIDAYAT', 'NIK-180', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('93679e9f-e7d7-484a-957c-d0514ec7e0f4', 'SAV-1-180', '58e8ba8d-a52f-4954-9b49-79c67c17c146', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ede3f43-a70f-4011-ad43-4207cdc10a2a', 'SAV-2-180', '58e8ba8d-a52f-4954-9b49-79c67c17c146', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0a79a9c1-e7ab-4fa9-b54b-eba9e48ab663', 'TRX-WAJIB-180', '0ede3f43-a70f-4011-ad43-4207cdc10a2a', '58e8ba8d-a52f-4954-9b49-79c67c17c146', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4a637a47-a4d7-44ea-9eaf-e9b0240fadbd', 'SAV-3-180', '58e8ba8d-a52f-4954-9b49-79c67c17c146', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bba4f953-b120-4e8f-b809-92fd4072457f', 'TRX-SUKARELA-180', '4a637a47-a4d7-44ea-9eaf-e9b0240fadbd', '58e8ba8d-a52f-4954-9b49-79c67c17c146', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: SOPIAN HADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c6951abf-f1f2-423f-af77-215a7c2a7850', 'member186@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SOPIAN HADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('60cf4bf1-7e4d-46c2-9239-4521a1188e36', 'c6951abf-f1f2-423f-af77-215a7c2a7850', '181', '181', 'SOPIAN HADI', 'NIK-181', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('78bb685e-b936-4a40-864a-cd28cc797bf4', 'SAV-1-181', '60cf4bf1-7e4d-46c2-9239-4521a1188e36', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('590470b3-3af6-46d1-a126-167ae33cf7d1', 'SAV-2-181', '60cf4bf1-7e4d-46c2-9239-4521a1188e36', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d7ec86e3-1073-4b59-88b9-a3b926d7e806', 'TRX-WAJIB-181', '590470b3-3af6-46d1-a126-167ae33cf7d1', '60cf4bf1-7e4d-46c2-9239-4521a1188e36', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1397a222-e351-45f6-acbe-b3123a899248', 'SAV-3-181', '60cf4bf1-7e4d-46c2-9239-4521a1188e36', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('75898f3b-6b7d-4440-80ff-2c4bbaf2f4ff', 'TRX-SUKARELA-181', '1397a222-e351-45f6-acbe-b3123a899248', '60cf4bf1-7e4d-46c2-9239-4521a1188e36', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: REGY FEBRIYANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7e05d4f0-8ffc-4ab2-9c7e-bc0f12f4c6a4', 'member187@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'REGY FEBRIYANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3a0a7e3c-853c-494e-a312-33ae87ad8ffd', '7e05d4f0-8ffc-4ab2-9c7e-bc0f12f4c6a4', '182', '182', 'REGY FEBRIYANTO', 'NIK-182', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fed7b429-91de-4e49-943a-eb22717ec120', 'SAV-1-182', '3a0a7e3c-853c-494e-a312-33ae87ad8ffd', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dd7033d2-ebd7-4e32-9ef1-7087fbad4e76', 'SAV-2-182', '3a0a7e3c-853c-494e-a312-33ae87ad8ffd', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62b546e3-93ed-4350-892b-6b174560470a', 'TRX-WAJIB-182', 'dd7033d2-ebd7-4e32-9ef1-7087fbad4e76', '3a0a7e3c-853c-494e-a312-33ae87ad8ffd', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('60dbae26-e4a4-4c56-ac44-5554ed72e83b', 'SAV-3-182', '3a0a7e3c-853c-494e-a312-33ae87ad8ffd', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b8f87c89-e3ee-4738-94c7-705157b3e969', 'TRX-SUKARELA-182', '60dbae26-e4a4-4c56-ac44-5554ed72e83b', '3a0a7e3c-853c-494e-a312-33ae87ad8ffd', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: AHMAD SOPYAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('575e8b97-56b5-425a-9324-95c7a70ba296', 'member188@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AHMAD SOPYAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8e733417-9a36-4e6b-a404-f8ae4ad86847', '575e8b97-56b5-425a-9324-95c7a70ba296', '183', '183', 'AHMAD SOPYAN', 'NIK-183', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('41c6f985-9551-4ce4-954b-e4dfcada5ef8', 'SAV-1-183', '8e733417-9a36-4e6b-a404-f8ae4ad86847', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('35c7521e-5fff-41d8-8cab-877070595b2a', 'SAV-2-183', '8e733417-9a36-4e6b-a404-f8ae4ad86847', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5ad8b77a-5204-497f-8939-ddee5c36eb30', 'TRX-WAJIB-183', '35c7521e-5fff-41d8-8cab-877070595b2a', '8e733417-9a36-4e6b-a404-f8ae4ad86847', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1bab76a4-e683-4f90-a1a0-db84d4fa940e', 'SAV-3-183', '8e733417-9a36-4e6b-a404-f8ae4ad86847', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e3aa7790-daab-4ab3-be8b-c6490a64990a', 'TRX-SUKARELA-183', '1bab76a4-e683-4f90-a1a0-db84d4fa940e', '8e733417-9a36-4e6b-a404-f8ae4ad86847', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');

-- Member: RAMA TRI ARDIANT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4c3bfb47-2933-4db7-b609-9c7d20824126', 'member189@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RAMA TRI ARDIANT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('cc060f7c-601a-478a-be45-2a0a3104cacc', '4c3bfb47-2933-4db7-b609-9c7d20824126', '184', '184', 'RAMA TRI ARDIANT', 'NIK-184', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a587d121-5543-4f87-af2f-915f30ae10ff', 'SAV-1-184', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e36f4972-5cba-4247-8914-40eb9bdc5c13', 'SAV-2-184', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3be43a48-afa7-4316-92b8-764b35b34da7', 'TRX-WAJIB-184', 'e36f4972-5cba-4247-8914-40eb9bdc5c13', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8442cf9-48a4-4361-b45d-dfbf23f77f9a', 'SAV-3-184', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 3, 150000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2012b229-1ea2-430d-aa60-232d50f3173a', 'TRX-SUKARELA-184', 'd8442cf9-48a4-4361-b45d-dfbf23f77f9a', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 'deposit', 150000.0, 0, 150000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b713f434-b57d-4048-b0a2-7db606d00c3c', 'LOAN-184-01851924', 'cc060f7c-601a-478a-be45-2a0a3104cacc', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 42999984.0, 36, 'Migrasi Data', 'disbursed', 42999984.0, 42999984.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e811cadf-3f41-4598-93f4-bc4bd8ca1c8d', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 1, '2026-01-23', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a41486b-754f-420b-8251-bdf822895a7e', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 2, '2026-02-22', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dfd1c0de-92c2-490e-9ee7-495f971e37cf', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 3, '2026-03-24', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efbf098b-e2a2-4861-bece-817047b89b46', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 4, '2026-04-23', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1767c108-f6cc-4dc0-b9cc-04cc921a173f', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 5, '2026-05-23', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4208055b-51a7-48d3-96f4-0810d9b2047c', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 6, '2026-06-22', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f56351c3-10c1-4f30-80ba-5e337d2795f0', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 7, '2026-07-22', 1194444.0, 602000.0, 1796444.0, 1194444.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bbfeffcb-9c0b-407c-b512-b1a2ad7f1a5a', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 8, '2026-08-21', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b9bfc1b3-5dc6-417e-a740-70de2439e8c4', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 9, '2026-09-20', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f446179-f414-45ab-95df-0239becb0040', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 10, '2026-10-20', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('637d5af8-b5ef-4902-97b9-98c776605b2f', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 11, '2026-11-19', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cdacfc0d-1924-4577-9758-e8fb8ac22b41', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 12, '2026-12-19', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('37aa492e-87dc-4828-82ce-6030c65d7323', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 13, '2027-01-18', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d457633b-87f5-4eae-a779-91fc32fe50d0', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 14, '2027-02-17', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89a23745-6f57-45b1-a7f5-78f19889164d', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 15, '2027-03-19', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b53c2b2a-6fdb-4623-bcba-aecfcc1d08fc', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 16, '2027-04-18', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('226a45f8-7979-4ca7-b617-5aaf0ac72a1f', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 17, '2027-05-18', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3593b5f-23d8-4f86-a909-c490c543a5e6', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 18, '2027-06-17', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc455907-ae20-43e7-ae90-b3496c41a377', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 19, '2027-07-17', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('468cce1b-2d6f-45c6-b065-a4155508c509', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 20, '2027-08-16', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe854dff-39f5-433f-be7d-de30cf33792a', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 21, '2027-09-15', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('18c5fcee-a0f3-43f7-aa22-5ca00f1b1ceb', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 22, '2027-10-15', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a41c82c7-00d6-45a7-a15d-ca99570efda8', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 23, '2027-11-14', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a36b47d8-6c98-41c8-8fcb-0c602bea3199', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 24, '2027-12-14', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('951b0fb8-925d-48eb-a9a8-620480fecd3c', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 25, '2028-01-13', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d404d1e6-fd0f-4b97-a91d-2b2af8e659fb', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 26, '2028-02-12', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ceaedcce-bd75-49ef-9a0d-f4c66284808c', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 27, '2028-03-13', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('428a8f6f-4169-4931-a4ab-b1de364dfd8e', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 28, '2028-04-12', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f854fcf0-20a2-48c3-8d1d-287f864562ef', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 29, '2028-05-12', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09b6537b-17fd-48b1-9104-2a36a1c5fa27', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 30, '2028-06-11', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48e59f62-f183-4d5b-8188-a3106b5642ea', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 31, '2028-07-11', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0185bca1-6283-44cd-8b9a-2e1afa71b277', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 32, '2028-08-10', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81ec3144-0f9f-4d2b-94d2-8e7d29d917ef', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 33, '2028-09-09', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e6fb42f-5411-411d-bce6-24834a129fdf', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 34, '2028-10-09', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f6bdc02-27e6-4e15-ad75-6b5240e4b041', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 35, '2028-11-08', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('298d5ec4-22ac-43cb-86a9-5931c7bcbbdd', 'b713f434-b57d-4048-b0a2-7db606d00c3c', 36, '2028-12-08', 1194444.0, 602000.0, 1796444.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('c0b418bf-88fb-47e4-82f5-f57a536fd60a', 'ORD-184-2e5b40f5', 'cc060f7c-601a-478a-be45-2a0a3104cacc', 31000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: BACHTIAR
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('17332c97-27e6-4740-afe2-45c48faa4bf8', 'member190@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BACHTIAR', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('619b77d6-4a40-472d-8199-8760dc09f57c', '17332c97-27e6-4740-afe2-45c48faa4bf8', '185', '185', 'BACHTIAR', 'NIK-185', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8f13db4-ccb9-4f2d-bd57-c0554d5fde76', 'SAV-1-185', '619b77d6-4a40-472d-8199-8760dc09f57c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e22ed8d5-30ce-4d3a-8a69-deba32fe3049', 'SAV-2-185', '619b77d6-4a40-472d-8199-8760dc09f57c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d7eb583d-1b56-4560-a65d-e34b58fd5ffa', 'TRX-WAJIB-185', 'e22ed8d5-30ce-4d3a-8a69-deba32fe3049', '619b77d6-4a40-472d-8199-8760dc09f57c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('75558a84-9b70-4ca2-b17c-bb9b7c453be0', 'SAV-3-185', '619b77d6-4a40-472d-8199-8760dc09f57c', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('45cbe7b4-0b3f-491d-89e6-d689e0a833fc', 'TRX-SUKARELA-185', '75558a84-9b70-4ca2-b17c-bb9b7c453be0', '619b77d6-4a40-472d-8199-8760dc09f57c', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');

-- Member: RADEN RAHMAT HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('5c47673a-b686-4482-b20e-2c18545a106f', 'member191@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RADEN RAHMAT HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('de0b9f18-69f4-40d8-aa65-3c7722184df1', '5c47673a-b686-4482-b20e-2c18545a106f', '186', '186', 'RADEN RAHMAT HIDAYAT', 'NIK-186', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2ccdc0fa-c160-486c-93a8-40a3ee0816b2', 'SAV-1-186', 'de0b9f18-69f4-40d8-aa65-3c7722184df1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dcb674a4-ab31-40b6-bda9-a051c6271849', 'SAV-2-186', 'de0b9f18-69f4-40d8-aa65-3c7722184df1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ba98e34b-bb80-43a4-a0ae-bbaf8a418ced', 'TRX-WAJIB-186', 'dcb674a4-ab31-40b6-bda9-a051c6271849', 'de0b9f18-69f4-40d8-aa65-3c7722184df1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6c53117d-cf63-4901-b731-494c4d14ccbe', 'SAV-3-186', 'de0b9f18-69f4-40d8-aa65-3c7722184df1', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a5ad7e40-5f32-4736-99ed-01a833a24c61', 'TRX-SUKARELA-186', '6c53117d-cf63-4901-b731-494c4d14ccbe', 'de0b9f18-69f4-40d8-aa65-3c7722184df1', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');

-- Member: RIO BAGUS SAPUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8fcf1139-dbe3-451f-88c0-a0014c49f9d9', 'member192@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIO BAGUS SAPUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('94f449d2-68ed-418e-93c7-34ca1144113d', '8fcf1139-dbe3-451f-88c0-a0014c49f9d9', '187', '187', 'RIO BAGUS SAPUTRA', 'NIK-187', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('72dfe7ac-a491-4eb6-ad90-aefa68627e20', 'SAV-1-187', '94f449d2-68ed-418e-93c7-34ca1144113d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a646f0b2-e2b3-4ab5-93d9-257c58e88445', 'SAV-2-187', '94f449d2-68ed-418e-93c7-34ca1144113d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1aada019-ba3d-426c-a1d0-dd7f9a442a06', 'TRX-WAJIB-187', 'a646f0b2-e2b3-4ab5-93d9-257c58e88445', '94f449d2-68ed-418e-93c7-34ca1144113d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2f11feec-b246-463b-b0a3-abcb1d0186bd', 'SAV-3-187', '94f449d2-68ed-418e-93c7-34ca1144113d', 3, 250000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9965a875-9ab9-4baa-ab3e-a85e5d32e272', 'TRX-SUKARELA-187', '2f11feec-b246-463b-b0a3-abcb1d0186bd', '94f449d2-68ed-418e-93c7-34ca1144113d', 'deposit', 250000.0, 0, 250000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b94a935f-0d21-44e9-a519-5f03210cb924', 'LOAN-187-040aa755', '94f449d2-68ed-418e-93c7-34ca1144113d', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 1000000.0, 10, 'Migrasi Data', 'disbursed', 1000000.0, 1000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f3f96839-e252-4c24-9def-654c2895674b', 'b94a935f-0d21-44e9-a519-5f03210cb924', 1, '2025-12-24', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d5dd8641-666a-466c-b028-d80a57e76941', 'b94a935f-0d21-44e9-a519-5f03210cb924', 2, '2026-01-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2bb7a59-7262-47d0-a47a-8766d6d73c78', 'b94a935f-0d21-44e9-a519-5f03210cb924', 3, '2026-02-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a97dc9ec-10ba-4ff5-a26f-88790a7c680d', 'b94a935f-0d21-44e9-a519-5f03210cb924', 4, '2026-03-24', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f882526b-cd44-49de-b995-85957d3b3a95', 'b94a935f-0d21-44e9-a519-5f03210cb924', 5, '2026-04-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95367302-ad33-47f5-88cb-2a4146dda2fc', 'b94a935f-0d21-44e9-a519-5f03210cb924', 6, '2026-05-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47c89740-1e1c-4b78-87b8-c8674f4bb560', 'b94a935f-0d21-44e9-a519-5f03210cb924', 7, '2026-06-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5438cd5a-8654-4b44-83b2-8cb781f6908e', 'b94a935f-0d21-44e9-a519-5f03210cb924', 8, '2026-07-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a72a590b-ffc1-49ed-8669-7f226b7677af', 'b94a935f-0d21-44e9-a519-5f03210cb924', 9, '2026-08-21', 100000.0, 0, 100000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8793e059-c684-447d-8dea-f397c98317ee', 'b94a935f-0d21-44e9-a519-5f03210cb924', 10, '2026-09-20', 100000.0, 0, 100000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('85b89889-6181-4a47-9ab2-1b2e6e9ac67b', 'ORD-187-a5a31062', '94f449d2-68ed-418e-93c7-34ca1144113d', 7500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: DESSY MALVIANTY
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0d5b2033-3816-4365-ab6a-d78c019b60a6', 'member193@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DESSY MALVIANTY', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('02147ed5-0923-4020-b4b1-b3126ec795ff', '0d5b2033-3816-4365-ab6a-d78c019b60a6', '188', '188', 'DESSY MALVIANTY', 'NIK-188', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b6b423a4-72eb-4b5b-8df7-bcf7ee89766d', 'SAV-1-188', '02147ed5-0923-4020-b4b1-b3126ec795ff', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1dedc15f-48dd-4fc2-851f-d0fecd5fb660', 'SAV-2-188', '02147ed5-0923-4020-b4b1-b3126ec795ff', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c458183d-c66a-4a79-9594-c76101ff0948', 'SAV-3-188', '02147ed5-0923-4020-b4b1-b3126ec795ff', 3, 0.0, true);

-- Member: NIA KURNIASIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f11d0548-378c-46a5-bb0b-48e883b520a8', 'member194@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NIA KURNIASIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 'f11d0548-378c-46a5-bb0b-48e883b520a8', '189', '189', 'NIA KURNIASIH', 'NIK-189', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1f16f0c5-b785-4952-82b8-205878612012', 'SAV-1-189', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f47421c6-e6ea-458c-aeea-eee927c6da02', 'TRX-POKOK-189', '1f16f0c5-b785-4952-82b8-205878612012', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f93a8185-571d-46a7-a131-8860e313eefa', 'SAV-2-189', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c7859e0c-bd7a-4145-99c9-ef3a182ea604', 'TRX-WAJIB-189', 'f93a8185-571d-46a7-a131-8860e313eefa', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fa1a137b-11eb-4ebf-90d5-4d8953501378', 'SAV-3-189', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b2962778-82ab-4c9b-bbf7-a15cfed60097', 'TRX-SUKARELA-189', 'fa1a137b-11eb-4ebf-90d5-4d8953501378', '0a3ce0b3-f1d3-41a2-93dc-a4576e186a6a', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: RINI PURWANINGSIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4287d3e6-72ac-4f54-ba08-351637538ceb', 'member195@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RINI PURWANINGSIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('fb75e8ba-f6f7-461d-ae53-17ce9cd90798', '4287d3e6-72ac-4f54-ba08-351637538ceb', '190', '190', 'RINI PURWANINGSIH', 'NIK-190', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('72d1396b-07ce-40e6-bc53-564da1cb130f', 'SAV-1-190', 'fb75e8ba-f6f7-461d-ae53-17ce9cd90798', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('572d7cc5-6e47-4c48-8311-71a091ffede8', 'SAV-2-190', 'fb75e8ba-f6f7-461d-ae53-17ce9cd90798', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0ede5697-70d3-4aef-b092-6f2cac11948c', 'SAV-3-190', 'fb75e8ba-f6f7-461d-ae53-17ce9cd90798', 3, 0.0, true);

-- Member: PAMILIYADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('10bf09db-5a60-487f-a519-efa1a64b19a0', 'member196@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PAMILIYADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('abef8456-d537-4919-84a6-2e896a285a22', '10bf09db-5a60-487f-a519-efa1a64b19a0', '191', '191', 'PAMILIYADI', 'NIK-191', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('86081ddd-47a7-4d19-913a-bb3eaca5a0cb', 'SAV-1-191', 'abef8456-d537-4919-84a6-2e896a285a22', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4706e255-9c10-4bb3-b7d0-fa9aac7f7e00', 'SAV-2-191', 'abef8456-d537-4919-84a6-2e896a285a22', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2953f354-9d95-4f54-9f34-b39396622e53', 'TRX-WAJIB-191', '4706e255-9c10-4bb3-b7d0-fa9aac7f7e00', 'abef8456-d537-4919-84a6-2e896a285a22', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c39acbb3-cfdb-48fb-bdd3-bfcbb520064d', 'SAV-3-191', 'abef8456-d537-4919-84a6-2e896a285a22', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b09fec60-f510-419b-95c0-9c7eb0c6fa12', 'LOAN-191-e3b9d4ba', 'abef8456-d537-4919-84a6-2e896a285a22', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 10, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f814b56-e05a-41ec-aeaa-056fea275e5f', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 1, '2026-06-22', 3000000.0, 450000.0, 3450000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('db5470d4-9d22-4596-939f-f68f0cf27463', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 2, '2026-07-22', 3000000.0, 450000.0, 3450000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab81d9b3-723c-4268-8f21-e80b88818cbb', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 3, '2026-08-21', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9091141a-666d-408e-8236-0e7c58fc0786', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 4, '2026-09-20', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d16a672-865d-45d7-adb8-477d8f9306ec', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 5, '2026-10-20', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b36c01ea-9dfe-4856-8c50-552071971a0c', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 6, '2026-11-19', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6aa2d7fc-2592-4b23-a73a-811446f29a1c', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 7, '2026-12-19', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7ad9875a-fea6-46f5-8dde-d678369c5f2c', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 8, '2027-01-18', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df3b2587-25f4-49f0-ba4e-de21c844fcc1', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 9, '2027-02-17', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d3dbeab-a333-49fe-ba4a-532df896ef8b', 'b09fec60-f510-419b-95c0-9c7eb0c6fa12', 10, '2027-03-19', 3000000.0, 450000.0, 3450000.0, 0, NULL, 'unpaid');

-- Member: MARDIKA AGUS WICAKSONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c0106387-b299-4daf-b01a-745f08a9e963', 'member197@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MARDIKA AGUS WICAKSONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a9f46514-1aa1-4b47-8fa0-08c9a36c6c03', 'c0106387-b299-4daf-b01a-745f08a9e963', '192', '192', 'MARDIKA AGUS WICAKSONO', 'NIK-192', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f0f29a07-1245-4a87-a77c-ef5f75601959', 'SAV-1-192', 'a9f46514-1aa1-4b47-8fa0-08c9a36c6c03', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('740e2c99-b1b5-4e02-b61a-854382127a4d', 'SAV-2-192', 'a9f46514-1aa1-4b47-8fa0-08c9a36c6c03', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e0b7157a-3eb3-4538-91a2-20b534d0ba77', 'SAV-3-192', 'a9f46514-1aa1-4b47-8fa0-08c9a36c6c03', 3, 0.0, true);

-- Member: ISWANDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6652f471-ee98-4254-8a21-20c0e72ce8da', 'member198@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ISWANDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('077d3b0f-9c09-4c80-bfc3-62ab71991913', '6652f471-ee98-4254-8a21-20c0e72ce8da', '193', '193', 'ISWANDI', 'NIK-193', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6bcfabec-7672-4c47-9b40-bc8a3e80af75', 'SAV-1-193', '077d3b0f-9c09-4c80-bfc3-62ab71991913', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7cd72c47-7e45-4191-b78e-e7f0c6f89199', 'SAV-2-193', '077d3b0f-9c09-4c80-bfc3-62ab71991913', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('55cad88e-1d0b-47ec-ae9d-ec5002f53628', 'TRX-WAJIB-193', '7cd72c47-7e45-4191-b78e-e7f0c6f89199', '077d3b0f-9c09-4c80-bfc3-62ab71991913', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bc7645f7-6355-4e8b-ae95-bd97c3119b2d', 'SAV-3-193', '077d3b0f-9c09-4c80-bfc3-62ab71991913', 3, 0.0, true);

-- Member: ROSANTI MAYA LESTARI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('29c6a1cc-482a-47af-821e-de34df7ecda9', 'member199@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ROSANTI MAYA LESTARI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('60019b35-13fd-4ce6-89c9-87e709ee38e1', '29c6a1cc-482a-47af-821e-de34df7ecda9', '194', '194', 'ROSANTI MAYA LESTARI', 'NIK-194', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('05620f50-b356-4bce-81d2-cc450fd53c8d', 'SAV-1-194', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fc592fe4-0aa8-4043-b72b-70f38e52677f', 'SAV-2-194', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2ede57cd-8a4a-4e40-b6e5-466a2b862a60', 'TRX-WAJIB-194', 'fc592fe4-0aa8-4043-b72b-70f38e52677f', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9a0d7b5d-f319-43d2-adf4-a91d0d75fb13', 'SAV-3-194', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('dbeca6f6-a257-4866-8c27-5a06a6f5d52d', 'TRX-SUKARELA-194', '9a0d7b5d-f319-43d2-adf4-a91d0d75fb13', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 'LOAN-194-f243cd9b', '60019b35-13fd-4ce6-89c9-87e709ee38e1', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 750000.0, 10, 'Migrasi Data', 'disbursed', 750000.0, 750000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1bcff88d-4e95-4c9a-8319-12182e4bbe1f', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 1, '2025-12-24', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2ee7fd9e-b03c-4d8f-8d47-f5af5069e5f6', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 2, '2026-01-23', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('65d52333-6fa3-47fa-93be-10cf96f76a54', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 3, '2026-02-22', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('335f8083-ebbf-435e-af84-b164472ec8e5', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 4, '2026-03-24', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('61709ce3-2945-493c-9898-290d39da06a1', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 5, '2026-04-23', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('532bea42-486c-4ee6-bcb7-feeb25f22678', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 6, '2026-05-23', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43666312-e942-4e28-8428-956e40af5012', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 7, '2026-06-22', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af126221-6d3f-40c4-b88d-6e2c6fe1637c', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 8, '2026-07-22', 75000.0, 0, 75000.0, 75000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d5f43ee-c731-4982-acf8-96172f363a4b', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 9, '2026-08-21', 75000.0, 0, 75000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('01705cfd-688d-424f-8ad3-bef0cce5b77f', 'f6ca1abb-1d0c-40c3-90e7-3c4ecd464812', 10, '2026-09-20', 75000.0, 0, 75000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('f1f14e85-50f4-4357-8915-2f6af85089fe', 'ORD-194-3d766d43', '60019b35-13fd-4ce6-89c9-87e709ee38e1', 143500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: NURDIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4281da7d-90a8-4d5c-a9ff-16d9d4d3f3bf', 'member200@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURDIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8baea5e9-04ac-4078-bec1-7a14aa5c9094', '4281da7d-90a8-4d5c-a9ff-16d9d4d3f3bf', '195', '195', 'NURDIANSYAH', 'NIK-195', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3acf4d49-907c-466b-94fa-d4e54b80af93', 'SAV-1-195', '8baea5e9-04ac-4078-bec1-7a14aa5c9094', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0c8134c7-89d2-40e8-809e-15f5e3a15d91', 'SAV-2-195', '8baea5e9-04ac-4078-bec1-7a14aa5c9094', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ccfbbd7a-afb6-4725-a5e4-76172bc87096', 'TRX-WAJIB-195', '0c8134c7-89d2-40e8-809e-15f5e3a15d91', '8baea5e9-04ac-4078-bec1-7a14aa5c9094', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0eb98100-8015-4e99-85f6-8e7fbcc2c7db', 'SAV-3-195', '8baea5e9-04ac-4078-bec1-7a14aa5c9094', 3, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c82b05a5-a8a3-47a9-878f-070a1eecd6a6', 'TRX-SUKARELA-195', '0eb98100-8015-4e99-85f6-8e7fbcc2c7db', '8baea5e9-04ac-4078-bec1-7a14aa5c9094', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');

-- Member: NAHDA SYIFA FADIYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ca5ffb5b-312e-4ca7-a97a-ceaf092124e3', 'member201@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NAHDA SYIFA FADIYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('260f4115-af41-462b-b8b6-b2fccff2692f', 'ca5ffb5b-312e-4ca7-a97a-ceaf092124e3', '196', '196', 'NAHDA SYIFA FADIYAH', 'NIK-196', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('23aa31f5-4262-4b4f-b316-6731d7399c2d', 'SAV-1-196', '260f4115-af41-462b-b8b6-b2fccff2692f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4097b453-c359-4aed-9b51-124de886bd9f', 'SAV-2-196', '260f4115-af41-462b-b8b6-b2fccff2692f', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5158e839-207a-4675-b9f7-c4f7599135a5', 'SAV-3-196', '260f4115-af41-462b-b8b6-b2fccff2692f', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('173afade-adf6-4e34-910a-16d940f774c5', 'LOAN-196-ad061192', '260f4115-af41-462b-b8b6-b2fccff2692f', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 800000.0, 10, 'Migrasi Data', 'disbursed', 800000.0, 800000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('41234f8f-588c-4c15-8865-34b24d400b80', '173afade-adf6-4e34-910a-16d940f774c5', 1, '2025-12-24', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e9b6a7f-049a-40fc-be38-c2d6d9dfdd47', '173afade-adf6-4e34-910a-16d940f774c5', 2, '2026-01-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('584eacff-88d0-4a54-92d7-3749d04453e0', '173afade-adf6-4e34-910a-16d940f774c5', 3, '2026-02-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('180350d1-cd3a-4d5f-8d86-1a18527086f4', '173afade-adf6-4e34-910a-16d940f774c5', 4, '2026-03-24', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('135d1fa7-a0bc-47dd-bfe1-2a0d9a84fb9f', '173afade-adf6-4e34-910a-16d940f774c5', 5, '2026-04-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1ed36cd-585a-474f-826c-9483d34b2ac0', '173afade-adf6-4e34-910a-16d940f774c5', 6, '2026-05-23', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b36e4cbe-3418-475e-840a-98a45118010f', '173afade-adf6-4e34-910a-16d940f774c5', 7, '2026-06-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('346a4c56-c326-467d-b5ef-c5fb5ee02dae', '173afade-adf6-4e34-910a-16d940f774c5', 8, '2026-07-22', 80000.0, 0, 80000.0, 80000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('00c9de3a-3b29-4eac-ae25-54e13318bacf', '173afade-adf6-4e34-910a-16d940f774c5', 9, '2026-08-21', 80000.0, 0, 80000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('50d4b229-e489-4d35-9b4e-7968f50cdc13', '173afade-adf6-4e34-910a-16d940f774c5', 10, '2026-09-20', 80000.0, 0, 80000.0, 0, NULL, 'unpaid');

-- Member: NUR LAILA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('cc138346-2e53-416c-9f14-1e91dba9eace', 'member202@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NUR LAILA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('27ed9530-fc6d-4503-b76d-4ea08466253b', 'cc138346-2e53-416c-9f14-1e91dba9eace', '197', '197', 'NUR LAILA', 'NIK-197', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d32ca974-2f06-4865-b347-f6d0a1d8d8f6', 'SAV-1-197', '27ed9530-fc6d-4503-b76d-4ea08466253b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('26cd8179-4cba-414e-8832-833991ceebe9', 'SAV-2-197', '27ed9530-fc6d-4503-b76d-4ea08466253b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4ecfb6d1-9384-4e8f-aee2-539c6886990f', 'TRX-WAJIB-197', '26cd8179-4cba-414e-8832-833991ceebe9', '27ed9530-fc6d-4503-b76d-4ea08466253b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bfd12aa0-6157-43b5-a983-30dd38392816', 'SAV-3-197', '27ed9530-fc6d-4503-b76d-4ea08466253b', 3, 135000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('44ed31bd-20aa-40e6-9b48-536480fa3b76', 'TRX-SUKARELA-197', 'bfd12aa0-6157-43b5-a983-30dd38392816', '27ed9530-fc6d-4503-b76d-4ea08466253b', 'deposit', 135000.0, 0, 135000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('3f33a874-62e4-4f96-81bb-5367b70d491b', 'LOAN-197-07a1a164', '27ed9530-fc6d-4503-b76d-4ea08466253b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 66250000.0, 20, 'Migrasi Data', 'disbursed', 66250000.0, 66250000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08c77cae-12ed-48b8-87d0-e7111cdad495', '3f33a874-62e4-4f96-81bb-5367b70d491b', 1, '2026-02-22', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1b7b464-8160-4190-aea9-9efd071963c2', '3f33a874-62e4-4f96-81bb-5367b70d491b', 2, '2026-03-24', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ad81268-7315-45f4-9863-bb514f049a59', '3f33a874-62e4-4f96-81bb-5367b70d491b', 3, '2026-04-23', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('16e2b710-36b2-4487-9435-9dd99a052371', '3f33a874-62e4-4f96-81bb-5367b70d491b', 4, '2026-05-23', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f5df075-0a95-4938-a2f7-3cc211d733d1', '3f33a874-62e4-4f96-81bb-5367b70d491b', 5, '2026-06-22', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e95c504f-ec2b-464c-b69c-0c88a7372331', '3f33a874-62e4-4f96-81bb-5367b70d491b', 6, '2026-07-22', 3312500.0, 993750.0, 4306250.0, 3312500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('838034c9-145b-479d-ac80-8d0b0d242244', '3f33a874-62e4-4f96-81bb-5367b70d491b', 7, '2026-08-21', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7267d425-a958-484f-a403-25d48e00c1cc', '3f33a874-62e4-4f96-81bb-5367b70d491b', 8, '2026-09-20', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2a0c9a3-b544-4224-beb6-dd3b2d85cb11', '3f33a874-62e4-4f96-81bb-5367b70d491b', 9, '2026-10-20', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4da7299c-1ada-4050-9800-b58fb99790bb', '3f33a874-62e4-4f96-81bb-5367b70d491b', 10, '2026-11-19', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('04062aec-a421-4df0-95b9-e56dfeb9fae1', '3f33a874-62e4-4f96-81bb-5367b70d491b', 11, '2026-12-19', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19659f16-aded-466b-9786-e40aaa577058', '3f33a874-62e4-4f96-81bb-5367b70d491b', 12, '2027-01-18', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6bf1580-fbbb-436d-aafe-1aaad5e03157', '3f33a874-62e4-4f96-81bb-5367b70d491b', 13, '2027-02-17', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('72216095-7110-4a13-b09d-2bec92b29ad4', '3f33a874-62e4-4f96-81bb-5367b70d491b', 14, '2027-03-19', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d8eebb0-08e1-4c0a-81c7-2bb3231f5e68', '3f33a874-62e4-4f96-81bb-5367b70d491b', 15, '2027-04-18', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f777face-0806-4ed7-b483-918aeb7e140f', '3f33a874-62e4-4f96-81bb-5367b70d491b', 16, '2027-05-18', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8a74788-5d3d-4c8d-a864-2c4d0ff6ce2d', '3f33a874-62e4-4f96-81bb-5367b70d491b', 17, '2027-06-17', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5502d17-47e1-4b62-be35-5887eba36c3e', '3f33a874-62e4-4f96-81bb-5367b70d491b', 18, '2027-07-17', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a593954a-c557-4a70-925c-4b334cf4bbab', '3f33a874-62e4-4f96-81bb-5367b70d491b', 19, '2027-08-16', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b2351b8-45e1-44f0-b456-025e76eca905', '3f33a874-62e4-4f96-81bb-5367b70d491b', 20, '2027-09-15', 3312500.0, 993750.0, 4306250.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 'LOAN-197-5dcc36d2', '27ed9530-fc6d-4503-b76d-4ea08466253b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 10, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47f408b6-34b1-4c6e-b658-84995067f0ee', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 1, '2026-04-23', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e575753a-b850-4bd1-b6e3-9b9e7a91e5b7', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 2, '2026-05-23', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a12cd4a-fe06-4474-9c6e-9be3cb051e41', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 3, '2026-06-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee95a397-99b9-40dd-ab3f-d9cb95d9ac93', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 4, '2026-07-22', 1000000.0, 150000.0, 1150000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7c7d2fc7-7122-4580-98db-f9abb0b3b75d', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 5, '2026-08-21', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56061d70-5ee4-4f59-886f-656cbfb3725e', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 6, '2026-09-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3939b103-34ae-4eca-a75e-74dbd1131ba0', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 7, '2026-10-20', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4a52c00-c2ee-471d-b0de-baf78e000854', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 8, '2026-11-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('560da665-f2a8-4c16-a7c6-ba60340827ad', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 9, '2026-12-19', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf2ed8b9-10ec-490e-b510-cc4b5dfd5770', '40121cbf-9cfe-4f95-8dee-261f5b8eb55e', 10, '2027-01-18', 1000000.0, 150000.0, 1150000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('245438d2-4b0d-48a0-94b2-e829238d1ef0', 'LOAN-197-0431e2ee', '27ed9530-fc6d-4503-b76d-4ea08466253b', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 1550000.0, 10, 'Migrasi Data', 'disbursed', 1550000.0, 1550000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b02ee312-8fa5-46a0-8537-bc269b86e294', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 1, '2025-12-24', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7e08b512-2064-4ba1-a31c-f775e7d55f58', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 2, '2026-01-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a2b0e60d-87de-4059-b9b5-029bb8772670', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 3, '2026-02-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1210dbea-3628-4c9c-8697-d90757fd84df', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 4, '2026-03-24', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('768f9ba9-8428-4342-ac51-fdabcf3987e4', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 5, '2026-04-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24f2e117-77d1-431f-907a-729922daf010', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 6, '2026-05-23', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f2e6a5d9-ad8d-4b10-b2de-04077a590636', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 7, '2026-06-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ed8f7a6-1cde-483a-a1eb-f794494b8b7d', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 8, '2026-07-22', 155000.0, 0, 155000.0, 155000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e3b976a-2260-413b-93d1-798a80579d6e', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 9, '2026-08-21', 155000.0, 0, 155000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5148633b-e586-4a2a-86be-5e3e1b2a6fbd', '245438d2-4b0d-48a0-94b2-e829238d1ef0', 10, '2026-09-20', 155000.0, 0, 155000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('07561e87-2552-4e25-b57d-7f5eefc51c84', 'ORD-197-541dd6c2', '27ed9530-fc6d-4503-b76d-4ea08466253b', 124000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: RAHMAT HIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b6ffba7b-4b60-4fb3-9b8e-f153d93dccb2', 'member203@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RAHMAT HIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 'b6ffba7b-4b60-4fb3-9b8e-f153d93dccb2', '198', '198', 'RAHMAT HIDAYAT', 'NIK-198', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e1de6795-93e4-4a0c-986a-c2a39bb28056', 'SAV-1-198', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1727399e-31f6-4931-bcdd-43b9d9ade8a8', 'SAV-2-198', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c4e0a2d2-65f7-4995-9550-09714aec5dc8', 'TRX-WAJIB-198', '1727399e-31f6-4931-bcdd-43b9d9ade8a8', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7ecdb11d-b54b-480c-a0e9-9eeb9762d47f', 'SAV-3-198', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('52106a5f-c272-403d-9b79-5aafacb754b5', 'LOAN-198-d74764b1', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('394d4bb2-51a7-4a6f-9be0-72f1bab743f7', '52106a5f-c272-403d-9b79-5aafacb754b5', 1, '2026-01-23', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a72aba7f-465c-4ec5-a04c-a67ae910db28', '52106a5f-c272-403d-9b79-5aafacb754b5', 2, '2026-02-22', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff0b73eb-0f12-4e6e-83ab-6d8b388ecc49', '52106a5f-c272-403d-9b79-5aafacb754b5', 3, '2026-03-24', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b687bea-2edc-41f5-8008-c05754d144c2', '52106a5f-c272-403d-9b79-5aafacb754b5', 4, '2026-04-23', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8e0e7da-4473-42d1-a246-882a6a8a003c', '52106a5f-c272-403d-9b79-5aafacb754b5', 5, '2026-05-23', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('afc3d2d5-47ce-49ed-bc70-87207c7ce7ff', '52106a5f-c272-403d-9b79-5aafacb754b5', 6, '2026-06-22', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e9454577-d275-47c6-af80-a153e0674809', '52106a5f-c272-403d-9b79-5aafacb754b5', 7, '2026-07-22', 500000.0, 60000.0, 560000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63b3591a-15e5-483a-8e14-9010fe65fbd8', '52106a5f-c272-403d-9b79-5aafacb754b5', 8, '2026-08-21', 500000.0, 60000.0, 560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('23bfa1fe-8232-4335-9691-108fb164514f', '52106a5f-c272-403d-9b79-5aafacb754b5', 9, '2026-09-20', 500000.0, 60000.0, 560000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4ae2d461-774e-45c4-a0b8-7b815c295cb1', '52106a5f-c272-403d-9b79-5aafacb754b5', 10, '2026-10-20', 500000.0, 60000.0, 560000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('f3984116-2e0a-48b9-80e4-29e03c2cd16d', 'ORD-198-d2407381', '2e25ec50-aaaf-48e1-b82f-d7eb4bae477f', 580000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: KUSWATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('758a5183-3aa0-4ade-9450-24a59f2791f8', 'member204@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KUSWATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('728cf61e-7c7b-4860-a097-7bc65301a7cf', '758a5183-3aa0-4ade-9450-24a59f2791f8', '199', '199', 'KUSWATI', 'NIK-199', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a9079c0f-515a-4a0c-8455-74de3dbdf85f', 'SAV-1-199', '728cf61e-7c7b-4860-a097-7bc65301a7cf', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('30c5ea9e-3920-4f7e-821f-190b72491e4d', 'SAV-2-199', '728cf61e-7c7b-4860-a097-7bc65301a7cf', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2b49825e-c08d-4949-bad4-3c81ebc25e1a', 'TRX-WAJIB-199', '30c5ea9e-3920-4f7e-821f-190b72491e4d', '728cf61e-7c7b-4860-a097-7bc65301a7cf', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1e8b971b-e7b6-4663-b845-547ece9d71e4', 'SAV-3-199', '728cf61e-7c7b-4860-a097-7bc65301a7cf', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('983364ff-d3be-4b66-a607-f5d1518ed19b', 'TRX-SUKARELA-199', '1e8b971b-e7b6-4663-b845-547ece9d71e4', '728cf61e-7c7b-4860-a097-7bc65301a7cf', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('1ca51d26-4fd0-432d-9391-29ece9822875', 'LOAN-199-a7111fb4', '728cf61e-7c7b-4860-a097-7bc65301a7cf', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 2000000.0, 10, 'Migrasi Data', 'disbursed', 2000000.0, 2000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49e0a422-acba-4694-a4e8-0bcf3d3530a5', '1ca51d26-4fd0-432d-9391-29ece9822875', 1, '2025-12-24', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44edcd99-5120-4f42-9c7d-b51486216e04', '1ca51d26-4fd0-432d-9391-29ece9822875', 2, '2026-01-23', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('146f3dd6-ee40-4602-a66f-99623fbd3d18', '1ca51d26-4fd0-432d-9391-29ece9822875', 3, '2026-02-22', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2a99bf4a-076e-4e01-a4f4-057dd73e4edb', '1ca51d26-4fd0-432d-9391-29ece9822875', 4, '2026-03-24', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1ffaf7b2-1e9d-4c59-bf9f-36bd7942a85e', '1ca51d26-4fd0-432d-9391-29ece9822875', 5, '2026-04-23', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7bc703b9-2a51-4123-bd2b-0064bd2f9272', '1ca51d26-4fd0-432d-9391-29ece9822875', 6, '2026-05-23', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0af1be88-ca94-449c-bc8b-b37ffdbd1ca0', '1ca51d26-4fd0-432d-9391-29ece9822875', 7, '2026-06-22', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('83acd3da-dc88-4ec5-a6a4-8057453633fb', '1ca51d26-4fd0-432d-9391-29ece9822875', 8, '2026-07-22', 200000.0, 0, 200000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ddda803-c486-4574-bf0a-2aad0dca7757', '1ca51d26-4fd0-432d-9391-29ece9822875', 9, '2026-08-21', 200000.0, 0, 200000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c6e05008-a2d5-4681-9100-762aa1ebdeb1', '1ca51d26-4fd0-432d-9391-29ece9822875', 10, '2026-09-20', 200000.0, 0, 200000.0, 0, NULL, 'unpaid');

-- Member: DESY MULIAWATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('9170f647-295c-4f6d-9be8-6176b81e17dd', 'member205@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DESY MULIAWATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('1a18622f-ef36-4b39-b023-075ec314eea2', '9170f647-295c-4f6d-9be8-6176b81e17dd', '200', '200', 'DESY MULIAWATI', 'NIK-200', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('82035a66-5705-4438-9029-c291d73f4ffe', 'SAV-1-200', '1a18622f-ef36-4b39-b023-075ec314eea2', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7135f39b-39bb-4e92-9565-64776b24d2c4', 'SAV-2-200', '1a18622f-ef36-4b39-b023-075ec314eea2', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f76dab66-2b1c-4c48-884a-203552dd6fe0', 'TRX-WAJIB-200', '7135f39b-39bb-4e92-9565-64776b24d2c4', '1a18622f-ef36-4b39-b023-075ec314eea2', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('28239d02-bfb8-49bb-960b-567cf616e8c9', 'SAV-3-200', '1a18622f-ef36-4b39-b023-075ec314eea2', 3, 120000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b9f1bb6a-4f60-4834-a0bf-34ab0bc37d86', 'TRX-SUKARELA-200', '28239d02-bfb8-49bb-960b-567cf616e8c9', '1a18622f-ef36-4b39-b023-075ec314eea2', 'deposit', 120000.0, 0, 120000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('c125267d-1a4d-45b0-a394-7e9e22e55a0d', 'LOAN-200-df28bfb9', '1a18622f-ef36-4b39-b023-075ec314eea2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 8250000.0, 10, 'Migrasi Data', 'disbursed', 8250000.0, 8250000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24f05c31-5a9d-43be-a8bd-726dc49b19b2', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 1, '2026-08-21', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8d8a581-c884-41ba-a711-c5beee35f935', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 2, '2026-09-20', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4691ed5b-94ba-4d3a-9e68-b5fb2fda6ec4', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 3, '2026-10-20', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('74f0bdc3-dadf-4e1a-b9bc-8200425f554f', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 4, '2026-11-19', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3a38f07-5ee6-4d20-90b9-c8d901568ab4', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 5, '2026-12-19', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ccf7e042-a86d-4f59-86e7-9184569b9134', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 6, '2027-01-18', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80667853-fed6-460f-a4e3-af0c64640094', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 7, '2027-02-17', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed5d0661-c973-482c-99ae-eef82393a14e', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 8, '2027-03-19', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85fbd28f-f80e-41b5-ac54-65c0a32102ba', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 9, '2027-04-18', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f88b27f-00bd-4b61-8fd9-d47ded53be7c', 'c125267d-1a4d-45b0-a394-7e9e22e55a0d', 10, '2027-05-18', 825000.0, 0, 825000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('18772e4f-e502-4e32-be5c-560a561890b3', 'LOAN-200-0062b449', '1a18622f-ef36-4b39-b023-075ec314eea2', (SELECT id FROM loan_products WHERE code = 'BNK-01'), 600000.0, 10, 'Migrasi Data', 'disbursed', 600000.0, 600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a180c0c5-bc53-4ed3-a993-4c8ff18b58af', '18772e4f-e502-4e32-be5c-560a561890b3', 1, '2025-12-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53ef6e85-7440-4c40-b235-76663112ec5e', '18772e4f-e502-4e32-be5c-560a561890b3', 2, '2026-01-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63eeda0b-98a8-453a-b640-b6aa50e3a256', '18772e4f-e502-4e32-be5c-560a561890b3', 3, '2026-02-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12a2e6c9-5e4d-44db-997a-fb8e3db98b70', '18772e4f-e502-4e32-be5c-560a561890b3', 4, '2026-03-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d354e14-f903-441f-a91a-99ab4b18dab0', '18772e4f-e502-4e32-be5c-560a561890b3', 5, '2026-04-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10951e25-1ea4-49be-8030-e69f9be6dddd', '18772e4f-e502-4e32-be5c-560a561890b3', 6, '2026-05-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9335c4ed-bc5a-4084-9431-a2068dd2911a', '18772e4f-e502-4e32-be5c-560a561890b3', 7, '2026-06-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eca549eb-d18e-42a3-9f4f-897d023c9e51', '18772e4f-e502-4e32-be5c-560a561890b3', 8, '2026-07-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d7fd0c6-0652-4d09-903f-3803148dda22', '18772e4f-e502-4e32-be5c-560a561890b3', 9, '2026-08-21', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('577b0ff5-d6ba-4f83-ac54-0325ca68e009', '18772e4f-e502-4e32-be5c-560a561890b3', 10, '2026-09-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('9a0a36cf-4b48-4033-ab79-8dbf18b374ce', 'ORD-200-039a3122', '1a18622f-ef36-4b39-b023-075ec314eea2', 98500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: KAHFI KAILANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('91164f9a-69e8-45e5-abee-a3907bb214ab', 'member206@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'KAHFI KAILANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8694b201-0e29-45df-b7d0-1f6045c6caa2', '91164f9a-69e8-45e5-abee-a3907bb214ab', '201', '201', 'KAHFI KAILANI', 'NIK-201', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a8a0eefa-74e3-4a63-a874-4fc1609cc0e9', 'SAV-1-201', '8694b201-0e29-45df-b7d0-1f6045c6caa2', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('45db3eb5-0948-4122-99f0-e9351fc906a9', 'SAV-2-201', '8694b201-0e29-45df-b7d0-1f6045c6caa2', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('efef1456-c1b1-488e-9af6-f0289aff24b1', 'TRX-WAJIB-201', '45db3eb5-0948-4122-99f0-e9351fc906a9', '8694b201-0e29-45df-b7d0-1f6045c6caa2', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6ad2418b-0cdd-44df-aa1a-1281248ee7ec', 'SAV-3-201', '8694b201-0e29-45df-b7d0-1f6045c6caa2', 3, 35000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3d0b4585-56b8-4a75-8d24-e2b97a48fe42', 'TRX-SUKARELA-201', '6ad2418b-0cdd-44df-aa1a-1281248ee7ec', '8694b201-0e29-45df-b7d0-1f6045c6caa2', 'deposit', 35000.0, 0, 35000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('a2f5cce1-5dcd-4620-826c-d3a854c31532', 'LOAN-201-c955b788', '8694b201-0e29-45df-b7d0-1f6045c6caa2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 267000000.0, 60, 'Migrasi Data', 'disbursed', 267000000.0, 267000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97122708-119d-4064-b353-0b73b11a7709', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 1, '2025-08-26', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d46c5a13-8a20-480f-aead-033880aca8ee', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 2, '2025-09-25', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f30dbe27-fe7a-4bc7-80cd-d78dd2ea36bc', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 3, '2025-10-25', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77c65dbb-7d56-47b4-a750-b4810f1fd4ea', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 4, '2025-11-24', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3f8171c-507b-43a7-a6ba-b9952eea3415', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 5, '2025-12-24', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84f5e018-257a-4bd9-8d0b-a55cb0a1d50e', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 6, '2026-01-23', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ad545b9-b3d2-4234-a5f4-ddb8893c3bb0', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 7, '2026-02-22', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fbecf8e2-4b1a-4834-a461-a30e3f96c32e', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 8, '2026-03-24', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b5274b3f-3ca1-4dd3-b455-9f8acd1cf668', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 9, '2026-04-23', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7bb2a86f-7cc1-47ee-97ee-81deff8c2b63', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 10, '2026-05-23', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31d16b03-7436-4bf6-8179-321f804be15d', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 11, '2026-06-22', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f00b5bee-09a8-4592-b205-e10bf5cf4f41', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 12, '2026-07-22', 4450000.0, 3204000.0, 7654000.0, 4450000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62b8f3e3-8df3-43ca-a18c-13873859bfdb', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 13, '2026-08-21', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a058c728-90de-4c19-bacf-5d9faa90cde3', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 14, '2026-09-20', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b6d7df0-a431-4260-a3e8-93cac903e411', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 15, '2026-10-20', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e538f064-c528-4f8b-9a11-fa71f427399b', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 16, '2026-11-19', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('430bcf74-3551-4a45-938a-ac17c8934b6b', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 17, '2026-12-19', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ecfbdc91-a805-4c7c-8895-99a5d3cc293e', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 18, '2027-01-18', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22878321-1975-41fc-9537-54ca6f5af70f', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 19, '2027-02-17', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('70e8e852-fde8-4c17-94b7-fffa61d96429', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 20, '2027-03-19', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63490145-daea-46a7-b600-e289d83976bd', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 21, '2027-04-18', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad335e7a-eb04-4523-9bc4-36ba20035210', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 22, '2027-05-18', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c41d9412-b46f-4fa5-b0c8-616cf8e36d39', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 23, '2027-06-17', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7377febd-8572-41f2-b873-e1583047d220', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 24, '2027-07-17', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ff83c9f3-8eb9-4f9d-9cc7-3040d0489664', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 25, '2027-08-16', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6404a889-05a3-4317-8a85-7ec3efe86839', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 26, '2027-09-15', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('34c3a90e-5dda-4fb1-a538-3d855d6eba8c', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 27, '2027-10-15', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('986ef4ea-6aa1-4222-8dd4-7bba12c7e7df', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 28, '2027-11-14', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b5a2d6bd-e313-4167-a3fc-01e1e3e78fa1', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 29, '2027-12-14', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('465004c5-6b89-4326-9cb0-f476b02c20a1', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 30, '2028-01-13', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97767491-d1e1-479e-94a0-9627ccac86ef', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 31, '2028-02-12', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b0ac64e-0688-4cdf-a774-4e71fdeaaedb', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 32, '2028-03-13', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('891f4af2-2d69-4d90-bbc3-deb33351019f', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 33, '2028-04-12', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3fcab5dc-1c1a-40e6-9869-8e25019315ff', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 34, '2028-05-12', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8cb63062-c67d-4127-b6ca-db0d4262e627', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 35, '2028-06-11', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a576aa23-5d9e-4615-85ee-2625ec0464ef', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 36, '2028-07-11', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44ee82ec-6ff9-483c-904e-7c3e5f670ab9', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 37, '2028-08-10', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09381a5a-8076-4cc8-ba20-a9dca224e00f', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 38, '2028-09-09', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('389da2a6-a602-4bb7-89bb-bb20405ca82b', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 39, '2028-10-09', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b1392eb-0f42-4e67-9a1e-f4c6775ad255', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 40, '2028-11-08', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c0937e52-2739-4af9-8eab-a81094601895', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 41, '2028-12-08', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31af08c3-2a45-40bd-a645-408059b98bed', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 42, '2029-01-07', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e870dad-4485-4cb0-a30c-e40ae920a824', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 43, '2029-02-06', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f91ce801-601d-4c13-adf8-fe5e9c9328b9', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 44, '2029-03-08', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2dcd5948-1f87-4173-9afb-5a90b8d8b51d', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 45, '2029-04-07', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d8f5013-12b0-40f6-a7b3-2cd7bfa43203', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 46, '2029-05-07', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56353c70-83d7-4cf3-a574-efe4316ae5d4', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 47, '2029-06-06', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0754f544-52ad-4106-98cd-874cfb448dd1', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 48, '2029-07-06', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9ce94b8-72f3-40f0-a967-8375f2c9dac3', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 49, '2029-08-05', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6523b2c8-3f76-4093-bdc6-0f109328fb57', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 50, '2029-09-04', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7224b2b4-a53d-44bc-93ff-ddb13af5a07c', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 51, '2029-10-04', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('644e737d-7f39-4840-a580-f9e162c92418', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 52, '2029-11-03', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d320e34a-da79-41f6-b37c-c8d0a4beb84d', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 53, '2029-12-03', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7aa2ff05-b2ff-4b9a-b7d3-a4ece6c3af31', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 54, '2030-01-02', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5cec44e7-6779-492c-a75c-cd7a113195d6', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 55, '2030-02-01', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9af7931-9085-48d9-bb46-63b849f2a8c4', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 56, '2030-03-03', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5bb19351-99db-4bef-9302-d2cfb335135b', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 57, '2030-04-02', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c14becdd-c78a-4984-ad97-2cb3667b810b', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 58, '2030-05-02', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5373e8c-a2b6-4023-8795-465f65628527', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 59, '2030-06-01', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('667cac27-e5f6-4c56-a3c3-4eb818be3551', 'a2f5cce1-5dcd-4620-826c-d3a854c31532', 60, '2030-07-01', 4450000.0, 3204000.0, 7654000.0, 0, NULL, 'unpaid');

-- Member: GANJAR NUGRAHA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7fb7fb69-fb36-47ab-af87-2f0f89ac3fed', 'member207@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'GANJAR NUGRAHA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6330e93a-bbe0-449a-af9e-274b6b796047', '7fb7fb69-fb36-47ab-af87-2f0f89ac3fed', '202', '202', 'GANJAR NUGRAHA', 'NIK-202', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('15fa8108-707d-4594-8d49-b3cf9535c235', 'SAV-1-202', '6330e93a-bbe0-449a-af9e-274b6b796047', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7952bd68-365a-4a51-8dd2-082bdc0c2da9', 'SAV-2-202', '6330e93a-bbe0-449a-af9e-274b6b796047', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('777cecfe-791f-4b76-b2f0-6dbd412f4265', 'TRX-WAJIB-202', '7952bd68-365a-4a51-8dd2-082bdc0c2da9', '6330e93a-bbe0-449a-af9e-274b6b796047', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8029830e-5b0a-40b7-b54e-5f6812354a04', 'SAV-3-202', '6330e93a-bbe0-449a-af9e-274b6b796047', 3, 85000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a53a4768-005f-4552-9a90-64ba96f7ae1c', 'TRX-SUKARELA-202', '8029830e-5b0a-40b7-b54e-5f6812354a04', '6330e93a-bbe0-449a-af9e-274b6b796047', 'deposit', 85000.0, 0, 85000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 'LOAN-202-03e1b8b1', '6330e93a-bbe0-449a-af9e-274b6b796047', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 30000000.0, 20, 'Migrasi Data', 'disbursed', 30000000.0, 30000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e030df9f-4dcc-492b-b4c9-f51415ec8af1', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 1, '2026-05-23', 1500000.0, 450000.0, 1950000.0, 1500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b4339bf-cf37-4557-b89c-fc3aa04e32aa', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 2, '2026-06-22', 1500000.0, 450000.0, 1950000.0, 1500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee6be915-6d50-4f48-9c38-48dc67862933', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 3, '2026-07-22', 1500000.0, 450000.0, 1950000.0, 1500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5cb9377a-1e88-4297-b092-033b879ba9e6', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 4, '2026-08-21', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a7c6100-ea90-47aa-a0e6-9377d2b1684d', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 5, '2026-09-20', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a54fd26-6f71-46e7-8076-ce98f8bf60eb', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 6, '2026-10-20', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f47ba7b-6ae9-4d33-9322-f41625d0071b', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 7, '2026-11-19', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2ebda861-32e1-44f0-ac21-e58d00974bcd', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 8, '2026-12-19', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c44a11d-edaf-46d9-a33a-75b112a00309', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 9, '2027-01-18', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa601ff1-c8be-44af-bb39-2ff4d8a6c08d', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 10, '2027-02-17', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7af668bd-8ae0-45c6-8a5d-46108fa420d0', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 11, '2027-03-19', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd2a0d59-2b67-492f-9e3d-71b46fb0fa3a', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 12, '2027-04-18', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cf7aeb27-1e87-40ad-895f-759bef5f9c1e', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 13, '2027-05-18', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cb0ded61-7aa9-4aac-ba69-2fe647e0062f', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 14, '2027-06-17', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d1f5bdb-b29c-4ad4-b268-8c35134ddaf4', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 15, '2027-07-17', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dea885a4-3e73-4403-9557-9eecb42570f7', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 16, '2027-08-16', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1848c25d-54a4-480b-a954-5f8f9580a50e', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 17, '2027-09-15', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('686865c7-7a28-426a-8ebe-6e01756a0155', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 18, '2027-10-15', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c0fc3637-46ff-40b7-a540-365d5a19f870', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 19, '2027-11-14', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca39c302-38a1-4b8d-b000-656fb5203c09', 'df3e25fb-e16b-46cb-bfd1-66c45af3a4e1', 20, '2027-12-14', 1500000.0, 450000.0, 1950000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('5b2c152b-b536-4d82-b7a9-a3b739a0301f', 'ORD-202-49c13812', '6330e93a-bbe0-449a-af9e-274b6b796047', 407500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ASTRI WIDYANINGRUM
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7e94c7ae-b8a6-44bf-9b1a-639f7a569e21', 'member208@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ASTRI WIDYANINGRUM', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('25dcf0cf-1053-419b-933d-644ea1da390d', '7e94c7ae-b8a6-44bf-9b1a-639f7a569e21', '203', '203', 'ASTRI WIDYANINGRUM', 'NIK-203', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9e59e405-4463-4f13-970d-cdc0de8c5698', 'SAV-1-203', '25dcf0cf-1053-419b-933d-644ea1da390d', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('009a9f59-2d71-468f-9bc7-508247bbbe35', 'TRX-POKOK-203', '9e59e405-4463-4f13-970d-cdc0de8c5698', '25dcf0cf-1053-419b-933d-644ea1da390d', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f30286c-7f55-433f-b2ff-aa43a82fba2c', 'SAV-2-203', '25dcf0cf-1053-419b-933d-644ea1da390d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ab0baaa9-801e-4ab2-a11d-7bb4bac108fa', 'TRX-WAJIB-203', '3f30286c-7f55-433f-b2ff-aa43a82fba2c', '25dcf0cf-1053-419b-933d-644ea1da390d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('63352b12-18f4-4739-b6d1-4a053342f24c', 'SAV-3-203', '25dcf0cf-1053-419b-933d-644ea1da390d', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('34aa7fab-a631-43eb-b7bc-9e3b10168ee1', 'TRX-SUKARELA-203', '63352b12-18f4-4739-b6d1-4a053342f24c', '25dcf0cf-1053-419b-933d-644ea1da390d', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');

-- Member: ENY KURNIAWATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('24b75720-fd33-44a5-a31f-70557cf50226', 'member209@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ENY KURNIAWATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9b9b86a4-bb6b-4219-a00e-04e60f1939d1', '24b75720-fd33-44a5-a31f-70557cf50226', '204', '204', 'ENY KURNIAWATI', 'NIK-204', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bea23b08-1c80-4c43-8910-4730440dc378', 'SAV-1-204', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('94a61f57-6e6a-484f-80bd-ba2b75e0d41a', 'TRX-POKOK-204', 'bea23b08-1c80-4c43-8910-4730440dc378', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e805057a-061f-48e4-a2bf-d399a41abd71', 'SAV-2-204', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('fbfeafe9-e674-4bf5-9321-5e18f20dd1c8', 'TRX-WAJIB-204', 'e805057a-061f-48e4-a2bf-d399a41abd71', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('32970aa4-1df7-4a9d-b18b-6ca0d7b748ac', 'SAV-3-204', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 3, 220000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6edc3928-b045-4973-9d59-955d23fb0481', 'TRX-SUKARELA-204', '32970aa4-1df7-4a9d-b18b-6ca0d7b748ac', '9b9b86a4-bb6b-4219-a00e-04e60f1939d1', 'deposit', 220000.0, 0, 220000.0, 'Saldo Awal Migrasi');

-- Member: DIAH VERLINTA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a24d3018-45ce-4414-bf97-8dc5f77c9bfe', 'member210@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DIAH VERLINTA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('c90c25a4-3e4d-49de-a30b-cd96555b8384', 'a24d3018-45ce-4414-bf97-8dc5f77c9bfe', '205', '205', 'DIAH VERLINTA', 'NIK-205', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('564a143b-5fe4-4fb4-8e47-168ec3a32b4b', 'SAV-1-205', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0c53d6a6-cdb3-420f-9a3a-80fca88d3949', 'TRX-POKOK-205', '564a143b-5fe4-4fb4-8e47-168ec3a32b4b', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('19bc37cc-0914-4050-ac59-93f53c24e230', 'SAV-2-205', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('74eb8b71-b3e7-4a4d-97ab-a3eef75fd37b', 'TRX-WAJIB-205', '19bc37cc-0914-4050-ac59-93f53c24e230', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4517e89d-0d2a-4f5d-91a0-4ac7a3e67103', 'SAV-3-205', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('abcebde1-2b51-4398-9c5c-1388e957f812', 'TRX-SUKARELA-205', '4517e89d-0d2a-4f5d-91a0-4ac7a3e67103', 'c90c25a4-3e4d-49de-a30b-cd96555b8384', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: WIWIK DWI WAHYUNI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('5da688c2-ca81-45fe-8a92-9cf0afb588be', 'member211@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WIWIK DWI WAHYUNI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ae4696e5-8023-4370-8e24-0e12983f8444', '5da688c2-ca81-45fe-8a92-9cf0afb588be', '206', '206', 'WIWIK DWI WAHYUNI', 'NIK-206', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f35add0-fc36-4f31-b01e-59c828f3e5da', 'SAV-1-206', 'ae4696e5-8023-4370-8e24-0e12983f8444', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4990741e-b696-4881-a3fb-7615801c161c', 'SAV-2-206', 'ae4696e5-8023-4370-8e24-0e12983f8444', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('027ee514-e460-4e91-bb78-1ea344880e35', 'TRX-WAJIB-206', '4990741e-b696-4881-a3fb-7615801c161c', 'ae4696e5-8023-4370-8e24-0e12983f8444', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f71965e2-843f-4661-93b8-dade97c2f2fb', 'SAV-3-206', 'ae4696e5-8023-4370-8e24-0e12983f8444', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8e53b4be-cf42-4318-b379-fad84ba78c98', 'TRX-SUKARELA-206', 'f71965e2-843f-4661-93b8-dade97c2f2fb', 'ae4696e5-8023-4370-8e24-0e12983f8444', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('c21944c8-6667-46bf-82c0-a369a6aabc98', 'ORD-206-157c84ab', 'ae4696e5-8023-4370-8e24-0e12983f8444', 332000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: HARYADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7a6d1bc7-29be-4d1e-9e69-d17a3c574ca3', 'member212@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HARYADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('36560398-b42d-43c5-9961-226d706da3b5', '7a6d1bc7-29be-4d1e-9e69-d17a3c574ca3', '207', '207', 'HARYADI', 'NIK-207', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aa20a4bc-2b3b-437a-9bbd-12ef554ff20b', 'SAV-1-207', '36560398-b42d-43c5-9961-226d706da3b5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bec13a29-cdaf-47e0-a8dc-e13eee55574d', 'SAV-2-207', '36560398-b42d-43c5-9961-226d706da3b5', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('aa936f78-368f-4828-97cc-4c890cd16140', 'TRX-WAJIB-207', 'bec13a29-cdaf-47e0-a8dc-e13eee55574d', '36560398-b42d-43c5-9961-226d706da3b5', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('73963ac1-bd74-48b6-81f4-79aaf55d96cb', 'SAV-3-207', '36560398-b42d-43c5-9961-226d706da3b5', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cc232cbc-9ca5-4f69-b4c0-1d0ccca5a773', 'TRX-SUKARELA-207', '73963ac1-bd74-48b6-81f4-79aaf55d96cb', '36560398-b42d-43c5-9961-226d706da3b5', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');

-- Member: UJANG BUDI SUMARNA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('69efe923-d910-4142-984c-6ab1694239e0', 'member213@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'UJANG BUDI SUMARNA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d8bd45f6-63b1-4744-a01e-03e64d7788de', '69efe923-d910-4142-984c-6ab1694239e0', '208', '208', 'UJANG BUDI SUMARNA', 'NIK-208', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('64937a96-bf77-4672-9796-0101600ad5d3', 'SAV-1-208', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dfa3c85a-6bdf-4c2f-be04-6d1c01df8f45', 'SAV-2-208', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cc8092fd-8e34-4c0e-a9de-7f98f8753dc3', 'TRX-WAJIB-208', 'dfa3c85a-6bdf-4c2f-be04-6d1c01df8f45', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b644314e-238e-44d9-bcb9-cbb24e3ed288', 'SAV-3-208', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bc6f12e4-1178-4e86-a972-fe9ba0501463', 'TRX-SUKARELA-208', 'b644314e-238e-44d9-bcb9-cbb24e3ed288', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('3e43760f-aef2-4d9a-86fa-ed89ae515222', 'LOAN-208-23480419', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 25149990.0, 30, 'Migrasi Data', 'disbursed', 25149990.0, 25149990.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f937f3bf-58d1-40ad-a6e5-0bac2cb20547', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 1, '2026-02-22', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f954ed8-1f7e-46ad-a040-ba5b8860c772', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 2, '2026-03-24', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a35b0a5b-09af-43db-abb5-e06f5e2a4cf9', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 3, '2026-04-23', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('304f1eb7-d4d0-4922-8413-e2d270565402', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 4, '2026-05-23', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7bf51f4-c93f-4d1b-b7f6-6fcd68f6eab9', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 5, '2026-06-22', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2da01e09-7ce9-4cbf-a5cb-2243cb2f63b3', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 6, '2026-07-22', 838333.0, 377250.0, 1215583.0, 838333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('607d6810-1eb7-4d12-8829-517bb65a5ea5', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 7, '2026-08-21', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0d9e279b-1e70-4ec5-a67c-b7e23c1f5563', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 8, '2026-09-20', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f04d79bc-a22b-40ba-b872-48c233b760d1', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 9, '2026-10-20', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eaed63a7-9416-4d11-9f09-ebf93319683e', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 10, '2026-11-19', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('05eeb31f-89eb-483f-85c5-e6483e7633b0', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 11, '2026-12-19', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('834bfb8c-0686-4dfe-862f-5d932eb42fc1', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 12, '2027-01-18', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cea317a9-9602-42da-88d5-8b2908949452', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 13, '2027-02-17', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2bfc0f2-c3fa-4568-8446-08a04987ad2d', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 14, '2027-03-19', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d4a12532-8ac2-4ff6-9e5a-6bfe86ce5ac8', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 15, '2027-04-18', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1360231f-66f7-4ecb-8513-6f174ed536b1', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 16, '2027-05-18', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('914ce11f-7e07-41ad-8b0f-44d3b1f2c98a', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 17, '2027-06-17', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a982839b-d475-4052-b38c-9e18834bb4bf', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 18, '2027-07-17', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f68fea9a-2d72-43e5-a852-772e0290292b', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 19, '2027-08-16', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d84fba2-b27e-43d2-995e-7bc8def435c4', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 20, '2027-09-15', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9c8116e-f981-4270-9e39-64c0f4616dbb', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 21, '2027-10-15', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9f7e56e-a8a7-4f92-8577-f046252c71f3', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 22, '2027-11-14', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c129b14b-ab70-4bdf-8b13-07c045a27767', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 23, '2027-12-14', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bfb4193d-f0b3-4b96-a2ac-614adfc3f016', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 24, '2028-01-13', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c41898e5-8ba1-4bd8-bd27-621667c4a750', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 25, '2028-02-12', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89213d66-fb69-45ee-8b04-444d3743cc33', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 26, '2028-03-13', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d604935c-d9cd-4b7d-b981-53590f2a6994', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 27, '2028-04-12', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('50ca6a5c-7b29-45a2-ae7f-70ce314ff44c', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 28, '2028-05-12', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efe5d948-5a18-4269-b853-c779aef6d0b6', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 29, '2028-06-11', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8db3ec66-c509-4f9d-ad8c-75d5d4ea899e', '3e43760f-aef2-4d9a-86fa-ed89ae515222', 30, '2028-07-11', 838333.0, 377250.0, 1215583.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 'LOAN-208-7408cbc9', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 6000000.0, 30, 'Migrasi Data', 'disbursed', 6000000.0, 6000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0942f42-57ea-4c1a-85ce-29cbbc85ccb7', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 1, '2026-03-24', 200000.0, 90000.0, 290000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a6327bc1-fe3c-4272-8a73-a1bb85e1da9e', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 2, '2026-04-23', 200000.0, 90000.0, 290000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('62399ad5-a03d-46cf-96b1-a6850314efa1', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 3, '2026-05-23', 200000.0, 90000.0, 290000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a7c0adb1-6b8c-4071-89d6-da4cf0e8ffb0', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 4, '2026-06-22', 200000.0, 90000.0, 290000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b520141-3f74-4756-a7a0-75cbaa966cfa', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 5, '2026-07-22', 200000.0, 90000.0, 290000.0, 200000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e272dffb-1f2b-4ea9-bd57-76f2c0ccbd72', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 6, '2026-08-21', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('06ee86d4-e247-448f-8689-d4fe7f8ccd34', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 7, '2026-09-20', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9c97a286-951e-478b-b813-c83431a39d53', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 8, '2026-10-20', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de8b74b9-01a7-4870-8665-d0e7a0f2b5dd', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 9, '2026-11-19', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc01dd38-5f9f-4240-be88-550b1e5c35d8', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 10, '2026-12-19', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6db498d-677b-4756-8ad2-2f5ca4248e2c', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 11, '2027-01-18', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f668cf2-3cd2-4163-8540-48bf8b0eeaba', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 12, '2027-02-17', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7fe91d3-9a3e-462a-8269-ecff2fbbcd93', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 13, '2027-03-19', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33653345-9df4-4ffd-9000-9011fbc3fac4', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 14, '2027-04-18', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5776e93c-50d1-48de-9a8d-00924678dcb9', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 15, '2027-05-18', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc51d0d1-453a-4c70-bed1-22b3dd3926e8', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 16, '2027-06-17', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31b248c8-8b3f-40f3-87a7-7b4fc9fa15f5', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 17, '2027-07-17', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('309b2631-946b-480d-bc05-988b8f409b8c', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 18, '2027-08-16', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4632bf80-0694-4358-9c60-93dfc4a2387c', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 19, '2027-09-15', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed2ac0f5-75b0-4271-8f25-7bfd28e24363', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 20, '2027-10-15', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3477c1b9-094e-421b-afe5-947804604f58', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 21, '2027-11-14', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f3a420c-cf31-4325-bc71-63b02a2de3c9', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 22, '2027-12-14', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d904885-d95f-4d58-b7f5-e8c58e7d6646', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 23, '2028-01-13', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1e1049c-a363-4aa3-9230-2bfe4227d0ee', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 24, '2028-02-12', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc47eecf-0340-4990-bdd4-aa35e7482623', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 25, '2028-03-13', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b7d62fb-516c-4da7-aeb4-aa91c2804db7', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 26, '2028-04-12', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d18287b7-a202-4a43-ab5e-4400667b03f9', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 27, '2028-05-12', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69137dcb-7fc5-4edd-abe4-dbf32a1bf21e', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 28, '2028-06-11', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1e43b2a6-cb66-48af-b8af-10bdd878162f', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 29, '2028-07-11', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa3402e9-b989-4b09-8af0-863f1f10e585', '89a1616e-a5fe-44cc-95ae-ce9a2e67082b', 30, '2028-08-10', 200000.0, 90000.0, 290000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('cf7eba92-682e-4221-af37-4de8b40ac93a', 'LOAN-208-866f0d5e', 'd8bd45f6-63b1-4744-a01e-03e64d7788de', (SELECT id FROM loan_products WHERE code = 'BNK-01'), 1000000.0, 10, 'Migrasi Data', 'disbursed', 1000000.0, 1000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f49ea03c-f1cb-463d-a0b2-7735b279c82b', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 1, '2025-12-24', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('728c7107-c07b-4e79-a86a-91103fe40025', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 2, '2026-01-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2af73365-fb57-4c09-a030-6cb6eaf6266a', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 3, '2026-02-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6dc98f33-cd6b-46f0-90f5-3dfd81ae17f6', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 4, '2026-03-24', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d3b7e752-9774-4d7d-badc-319d6a86e15c', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 5, '2026-04-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cac819db-2290-4b98-9da9-8311d8652d80', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 6, '2026-05-23', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('13994be9-d76b-4a84-8f14-640ebcf06906', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 7, '2026-06-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3528a81c-9fdc-4e38-9d5d-90b996c51af3', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 8, '2026-07-22', 100000.0, 0, 100000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b01b48db-8f41-4e53-87bd-ab38fa481174', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 9, '2026-08-21', 100000.0, 0, 100000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b43b882f-ccda-47b0-9d68-f7c64178852f', 'cf7eba92-682e-4221-af37-4de8b40ac93a', 10, '2026-09-20', 100000.0, 0, 100000.0, 0, NULL, 'unpaid');

-- Member: AGUSTINAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('89dff63d-7a4b-4d00-9a54-9a7604294b76', 'member214@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUSTINAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5bca6985-8e51-4edb-b776-ab274ee45167', '89dff63d-7a4b-4d00-9a54-9a7604294b76', '209', '209', 'AGUSTINAH', 'NIK-209', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6e50651e-c5d7-469e-9097-bd7dbf7799cf', 'SAV-1-209', '5bca6985-8e51-4edb-b776-ab274ee45167', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7f530178-cff6-4e59-ba0e-880da90a6b2d', 'SAV-2-209', '5bca6985-8e51-4edb-b776-ab274ee45167', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('292d4a1b-edc5-40d8-b20e-9eb1bfe7ac7a', 'TRX-WAJIB-209', '7f530178-cff6-4e59-ba0e-880da90a6b2d', '5bca6985-8e51-4edb-b776-ab274ee45167', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1a43d686-6217-425c-a4a3-a7703e8be1cd', 'SAV-3-209', '5bca6985-8e51-4edb-b776-ab274ee45167', 3, 35000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2ac9bb43-5026-4e37-a3bd-5c5bbe963623', 'TRX-SUKARELA-209', '1a43d686-6217-425c-a4a3-a7703e8be1cd', '5bca6985-8e51-4edb-b776-ab274ee45167', 'deposit', 35000.0, 0, 35000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('133266ae-2758-47ca-a2b4-a79d9137556b', 'LOAN-209-c3afbb30', '5bca6985-8e51-4edb-b776-ab274ee45167', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5500000.0, 10, 'Migrasi Data', 'disbursed', 5500000.0, 5500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('371bcdd3-2b0a-4cba-975d-b46d8a26e5e4', '133266ae-2758-47ca-a2b4-a79d9137556b', 1, '2026-08-21', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7723ad6f-bbfc-4041-8b4e-d8bfd1af8c24', '133266ae-2758-47ca-a2b4-a79d9137556b', 2, '2026-09-20', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9cbd6d57-8546-4570-82a0-38a68ff4a54c', '133266ae-2758-47ca-a2b4-a79d9137556b', 3, '2026-10-20', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e6dc113-5832-43b4-8b2a-69d2eba7c58b', '133266ae-2758-47ca-a2b4-a79d9137556b', 4, '2026-11-19', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a656b25b-5590-46f5-a047-c5fec5cc10ad', '133266ae-2758-47ca-a2b4-a79d9137556b', 5, '2026-12-19', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ac2a7c0-9989-49d5-a48f-1f418aabcc27', '133266ae-2758-47ca-a2b4-a79d9137556b', 6, '2027-01-18', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6faadf43-faa6-4016-a30a-e8d7376709f3', '133266ae-2758-47ca-a2b4-a79d9137556b', 7, '2027-02-17', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cd1b03df-5c81-48d4-8da1-30d52830f6f5', '133266ae-2758-47ca-a2b4-a79d9137556b', 8, '2027-03-19', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3499ff4-e300-494b-885b-1267282b81be', '133266ae-2758-47ca-a2b4-a79d9137556b', 9, '2027-04-18', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('860d5062-2a45-41eb-a8ee-3b483ee74955', '133266ae-2758-47ca-a2b4-a79d9137556b', 10, '2027-05-18', 550000.0, 0, 550000.0, 0, NULL, 'unpaid');

-- Member: NURLELA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('50bb6f76-f151-499c-b354-cb2039c36002', 'member215@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURLELA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('95ffb30b-79e0-4244-9527-35dbc66b8e9c', '50bb6f76-f151-499c-b354-cb2039c36002', '210', '210', 'NURLELA', 'NIK-210', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('48ff9fdd-354b-4055-a06b-25b76e286f35', 'SAV-1-210', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5fed262c-01b0-4238-b0bf-315849e39438', 'SAV-2-210', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b2bbc2c1-d299-4f02-94ba-6a56be70cea4', 'TRX-WAJIB-210', '5fed262c-01b0-4238-b0bf-315849e39438', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8ed77073-f808-40dc-a643-5117e8c97adf', 'SAV-3-210', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 3, 85000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bd8f5489-d692-4fdb-b5da-45577c93f8a8', 'TRX-SUKARELA-210', '8ed77073-f808-40dc-a643-5117e8c97adf', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 'deposit', 85000.0, 0, 85000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('a5016695-c1e4-4f6e-9eb2-17cdc43b513d', 'ORD-210-194066d3', '95ffb30b-79e0-4244-9527-35dbc66b8e9c', 117500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: WIDHO BAGUS DWIYANTAMA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('51ae5070-ccea-4590-8110-4fa573cb2c8c', 'member216@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WIDHO BAGUS DWIYANTAMA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('4644ae7f-0bf3-47df-8ec3-34d28c89256a', '51ae5070-ccea-4590-8110-4fa573cb2c8c', '211', '211', 'WIDHO BAGUS DWIYANTAMA', 'NIK-211', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9e9ee9d2-c310-42c1-ae35-1856bfe773cd', 'SAV-1-211', '4644ae7f-0bf3-47df-8ec3-34d28c89256a', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('697f76d8-4f24-4dd5-b517-64019fa0bfe0', 'SAV-2-211', '4644ae7f-0bf3-47df-8ec3-34d28c89256a', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3ba20d1b-1e50-4f40-90c6-d7ab4c05f5f7', 'TRX-WAJIB-211', '697f76d8-4f24-4dd5-b517-64019fa0bfe0', '4644ae7f-0bf3-47df-8ec3-34d28c89256a', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8881295-8f44-4788-aef1-b6584f9015ca', 'SAV-3-211', '4644ae7f-0bf3-47df-8ec3-34d28c89256a', 3, 20000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4f51730d-5e4c-4845-ad94-48f453c5446f', 'TRX-SUKARELA-211', 'd8881295-8f44-4788-aef1-b6584f9015ca', '4644ae7f-0bf3-47df-8ec3-34d28c89256a', 'deposit', 20000.0, 0, 20000.0, 'Saldo Awal Migrasi');

-- Member: YUNITA WULANDARI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ca8d5fdc-6a3d-4cb1-9a39-3a04a00415a9', 'member217@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YUNITA WULANDARI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2b841083-ac94-45bd-81a7-b0b77e3819d9', 'ca8d5fdc-6a3d-4cb1-9a39-3a04a00415a9', '212', '212', 'YUNITA WULANDARI', 'NIK-212', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('80bdd419-2a00-47f7-aeda-353e810b6ead', 'SAV-1-212', '2b841083-ac94-45bd-81a7-b0b77e3819d9', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fa057158-b414-4102-aef6-7bb147dc41e8', 'SAV-2-212', '2b841083-ac94-45bd-81a7-b0b77e3819d9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('adf62e1d-4a19-4f78-8ca6-520c2cb6959f', 'TRX-WAJIB-212', 'fa057158-b414-4102-aef6-7bb147dc41e8', '2b841083-ac94-45bd-81a7-b0b77e3819d9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c9a26165-a5a9-46be-808e-4c04a65f6f6c', 'SAV-3-212', '2b841083-ac94-45bd-81a7-b0b77e3819d9', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c1f83028-f9b7-4daf-b735-863734839283', 'TRX-SUKARELA-212', 'c9a26165-a5a9-46be-808e-4c04a65f6f6c', '2b841083-ac94-45bd-81a7-b0b77e3819d9', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: NUR AZIZA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b463e491-4c31-44ea-8773-52f96cc471ac', 'member218@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NUR AZIZA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f0e4a7e7-18fa-4175-a13d-208afb9164ef', 'b463e491-4c31-44ea-8773-52f96cc471ac', '213', '213', 'NUR AZIZA', 'NIK-213', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bf48652d-6b9c-4254-91fe-397a487d44bf', 'SAV-1-213', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3f7ff6e5-58d4-4385-9859-e34d86db90fe', 'TRX-POKOK-213', 'bf48652d-6b9c-4254-91fe-397a487d44bf', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('46180941-59ee-49db-8fdd-8e6cb4df2c61', 'SAV-2-213', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('13fe7e2f-e043-499a-987f-012394b4cb6e', 'TRX-WAJIB-213', '46180941-59ee-49db-8fdd-8e6cb4df2c61', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('57c335d0-ac89-4cbb-abc3-4c6b1ce50cc9', 'SAV-3-213', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d23f3e8c-5c4d-42c7-b96e-945241c1ef48', 'TRX-SUKARELA-213', '57c335d0-ac89-4cbb-abc3-4c6b1ce50cc9', 'f0e4a7e7-18fa-4175-a13d-208afb9164ef', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: WINA ARMILA PUTRI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('407b67d6-d131-4a18-8c74-0ccc772d34bf', 'member219@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'WINA ARMILA PUTRI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('737c5b2d-2707-495d-8c07-b8df58784744', '407b67d6-d131-4a18-8c74-0ccc772d34bf', '214', '214', 'WINA ARMILA PUTRI', 'NIK-214', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('34baff6d-719c-4d92-80f1-42ed9d85b68b', 'SAV-1-214', '737c5b2d-2707-495d-8c07-b8df58784744', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d0d40a2b-d7fe-4b35-853e-e7dceed2d1cc', 'TRX-POKOK-214', '34baff6d-719c-4d92-80f1-42ed9d85b68b', '737c5b2d-2707-495d-8c07-b8df58784744', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('43c34fd7-20a6-44e9-856c-11881b3a4ec3', 'SAV-2-214', '737c5b2d-2707-495d-8c07-b8df58784744', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('cec0616d-fcd8-43bb-b8fe-fc735f66a303', 'TRX-WAJIB-214', '43c34fd7-20a6-44e9-856c-11881b3a4ec3', '737c5b2d-2707-495d-8c07-b8df58784744', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('18328ea9-a9a8-4919-ab0a-34d36b6d8ce7', 'SAV-3-214', '737c5b2d-2707-495d-8c07-b8df58784744', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bf164fdb-4902-40d5-b214-6a95b19c8103', 'TRX-SUKARELA-214', '18328ea9-a9a8-4919-ab0a-34d36b6d8ce7', '737c5b2d-2707-495d-8c07-b8df58784744', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('59fc98bd-588f-4e79-a902-1ba3ec5f5045', 'LOAN-214-2a4a001b', '737c5b2d-2707-495d-8c07-b8df58784744', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 600000.0, 10, 'Migrasi Data', 'disbursed', 600000.0, 600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4fd385d-9f48-4b37-9ac7-d6b8a03b4426', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 1, '2025-12-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('69d08bc2-7730-482c-bd90-ebf5fb959e61', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 2, '2026-01-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7551cc4-2111-45b1-9dee-41da5bc465c6', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 3, '2026-02-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e440234-1d99-40d9-829c-31c4081cc019', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 4, '2026-03-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85c50b0b-0bfe-450e-9519-c90a76fd36d0', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 5, '2026-04-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cdca96fa-d28e-4efe-9453-1b434264cc7f', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 6, '2026-05-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a7049fa-3034-4705-9609-b34cfd4f63fe', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 7, '2026-06-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a055540d-6fe0-4226-89ac-dc742e3a6b47', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 8, '2026-07-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf653fc3-7735-4664-be08-d7ea1c62f413', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 9, '2026-08-21', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5da91f5-156d-4a96-b214-9b862f3f368c', '59fc98bd-588f-4e79-a902-1ba3ec5f5045', 10, '2026-09-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');

-- Member: SAHRUL GUNAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('8066eef7-69dc-4327-9639-2fbe6bffb9d8', 'member220@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SAHRUL GUNAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('103100d3-299e-4680-8f79-c59b3e0d376f', '8066eef7-69dc-4327-9639-2fbe6bffb9d8', '215', '215', 'SAHRUL GUNAWAN', 'NIK-215', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a71c322c-f984-4b8d-88b1-9f9754467aa1', 'SAV-1-215', '103100d3-299e-4680-8f79-c59b3e0d376f', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bc50b680-1478-4a3d-a2a0-c72a472055f7', 'TRX-POKOK-215', 'a71c322c-f984-4b8d-88b1-9f9754467aa1', '103100d3-299e-4680-8f79-c59b3e0d376f', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('39411e97-181e-4fc4-b7d2-c5652bc1c559', 'SAV-2-215', '103100d3-299e-4680-8f79-c59b3e0d376f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2fa68899-3596-42ed-ba7f-25bd6a603dd1', 'TRX-WAJIB-215', '39411e97-181e-4fc4-b7d2-c5652bc1c559', '103100d3-299e-4680-8f79-c59b3e0d376f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('da63d92c-e415-45f1-a1fa-864ef1adf083', 'SAV-3-215', '103100d3-299e-4680-8f79-c59b3e0d376f', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b57c20da-7128-470b-a07f-bdf06472bcc7', 'TRX-SUKARELA-215', 'da63d92c-e415-45f1-a1fa-864ef1adf083', '103100d3-299e-4680-8f79-c59b3e0d376f', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: RONALD SOEBRATA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('84deb5cb-50c4-46f0-bb25-28b600f8be35', 'member221@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RONALD SOEBRATA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('69d07fcb-b8bc-48e5-8386-402e6069eee0', '84deb5cb-50c4-46f0-bb25-28b600f8be35', '216', '216', 'RONALD SOEBRATA', 'NIK-216', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2743663e-a85a-48f9-bf1b-d6eec50c44ad', 'SAV-1-216', '69d07fcb-b8bc-48e5-8386-402e6069eee0', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f0d2073f-2cc2-499e-acbf-dfab24db09ae', 'SAV-2-216', '69d07fcb-b8bc-48e5-8386-402e6069eee0', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a6b4ea19-35eb-4fd5-8f07-ff496c93df27', 'TRX-WAJIB-216', 'f0d2073f-2cc2-499e-acbf-dfab24db09ae', '69d07fcb-b8bc-48e5-8386-402e6069eee0', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e199dfde-933b-4130-82a3-f02d9f3dd298', 'SAV-3-216', '69d07fcb-b8bc-48e5-8386-402e6069eee0', 3, 10000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('43e1fa51-92c6-4f37-874a-ffbc8e2e1750', 'TRX-SUKARELA-216', 'e199dfde-933b-4130-82a3-f02d9f3dd298', '69d07fcb-b8bc-48e5-8386-402e6069eee0', 'deposit', 10000.0, 0, 10000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('d8a9ecf8-a66f-46e4-a153-13948a075081', 'LOAN-216-f0c797da', '69d07fcb-b8bc-48e5-8386-402e6069eee0', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 495000.0, 10, 'Migrasi Data', 'disbursed', 495000.0, 495000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b577e2e2-3c39-4d44-b980-42ac46aa6dff', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 1, '2025-11-24', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7f731d4-4c15-4089-a986-8afcf79089c5', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 2, '2025-12-24', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd2aab82-03b3-41b6-b21e-57289d7fa0be', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 3, '2026-01-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e93e44e-9c62-4dfa-a6b8-85e6c067d691', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 4, '2026-02-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4f290c2-9bea-42ad-8102-38ca14510653', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 5, '2026-03-24', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5ae27f1f-470d-4bdc-9261-bf332cc6f0cf', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 6, '2026-04-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('38e3d58c-febc-44f7-9c1f-18fbe629e770', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 7, '2026-05-23', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ccb29252-80c7-44a2-9a4d-1e1641a94cfd', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 8, '2026-06-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f92ebced-ab55-43a6-b131-4ecc03be835b', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 9, '2026-07-22', 49500.0, 0, 49500.0, 49500.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3b33ff0-9f70-4c8e-a47b-919570433ff6', 'd8a9ecf8-a66f-46e4-a153-13948a075081', 10, '2026-08-21', 49500.0, 0, 49500.0, 0, NULL, 'unpaid');

-- Member: IRSADUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a54f7bc4-9b03-4b9d-af39-f7e959cbb9a4', 'member222@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IRSADUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d8abbc10-f3a7-40ca-9b83-f8cc173762e6', 'a54f7bc4-9b03-4b9d-af39-f7e959cbb9a4', '217', '217', 'IRSADUDIN', 'NIK-217', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('581e477c-57e5-4bee-9b41-e9f76b3bc6a8', 'SAV-1-217', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ed4a4ef4-3be6-4723-a524-ba0a669e65bc', 'SAV-2-217', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5dd092cd-b87e-4950-89a3-a4db0d3f2d66', 'TRX-WAJIB-217', 'ed4a4ef4-3be6-4723-a524-ba0a669e65bc', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('793f4c44-c315-4bcb-9762-6e9015e52e25', 'SAV-3-217', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 3, 5000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('3e0b320b-251e-44f0-a6da-3006966a88d0', 'TRX-SUKARELA-217', '793f4c44-c315-4bcb-9762-6e9015e52e25', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 'deposit', 5000.0, 0, 5000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('675268ee-d8eb-419c-bcc1-2e4ed2ee8630', 'ORD-217-23128bac', 'd8abbc10-f3a7-40ca-9b83-f8cc173762e6', 5000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: YUDI YUKARDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c7b74437-ce30-4c54-8957-7ca2aa456532', 'member223@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YUDI YUKARDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 'c7b74437-ce30-4c54-8957-7ca2aa456532', '218', '218', 'YUDI YUKARDI', 'NIK-218', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0d480304-a75c-4dfb-81f2-2a05275826b3', 'SAV-1-218', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('36d59748-7485-4cd7-b6cf-0334cfbe82ad', 'SAV-2-218', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('795f08d1-4a21-4474-8fd0-069dd87ae7fd', 'TRX-WAJIB-218', '36d59748-7485-4cd7-b6cf-0334cfbe82ad', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('62423e4f-4fb3-4dd8-8e79-38a8a7c445c8', 'SAV-3-218', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 3, 200000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('716703b2-a5a8-46b9-83d6-bd8a4baaa114', 'TRX-SUKARELA-218', '62423e4f-4fb3-4dd8-8e79-38a8a7c445c8', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 'deposit', 200000.0, 0, 200000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('9d7c9f5f-e2b7-4b18-bfd0-c0f8cf4b0e8a', 'ORD-218-cbbd68ee', '80fe545a-d2b8-4d44-a1a2-6bd5cff7a2f4', 78500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SULTAN RAMADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('81b004af-0d33-4a04-9c55-350a5f7e35e8', 'member224@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SULTAN RAMADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('6ae962e1-58fa-4c80-ae95-819a48035ca6', '81b004af-0d33-4a04-9c55-350a5f7e35e8', '219', '219', 'SULTAN RAMADI', 'NIK-219', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dd8b3de1-f6f2-44cc-9f84-375bb5df914f', 'SAV-1-219', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d3c4455f-e9e2-4144-937a-bd68b6b4f410', 'SAV-2-219', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ffc88f2e-9c48-4e35-b024-5fb974d4b8df', 'TRX-WAJIB-219', 'd3c4455f-e9e2-4144-937a-bd68b6b4f410', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('61172398-a981-4038-ac24-5aa79c35fb31', 'SAV-3-219', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('71111282-1ac2-4589-b40a-1b04aeecb3ce', 'TRX-SUKARELA-219', '61172398-a981-4038-ac24-5aa79c35fb31', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('ebe2161d-2bc8-4c20-8037-939c916f0117', 'ORD-219-4030efcc', '6ae962e1-58fa-4c80-ae95-819a48035ca6', 17500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SY AMANDA TITANNA TAUFANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('ac2139ff-e7a3-4b69-bda2-863485d2b05d', 'member225@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SY AMANDA TITANNA TAUFANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('dae055c4-977d-4aec-8861-bd4643f8d698', 'ac2139ff-e7a3-4b69-bda2-863485d2b05d', '220', '220', 'SY AMANDA TITANNA TAUFANI', 'NIK-220', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d03b20ea-329f-4f7d-93e2-3ba6198ed750', 'SAV-1-220', 'dae055c4-977d-4aec-8861-bd4643f8d698', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('33fc4ef8-c400-4150-b24a-dd81f58717b2', 'SAV-2-220', 'dae055c4-977d-4aec-8861-bd4643f8d698', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1139c021-0165-4cfa-8137-6ab28c5209da', 'TRX-WAJIB-220', '33fc4ef8-c400-4150-b24a-dd81f58717b2', 'dae055c4-977d-4aec-8861-bd4643f8d698', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('813be790-47cd-496c-99b7-5d9b70818498', 'SAV-3-220', 'dae055c4-977d-4aec-8861-bd4643f8d698', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('09226316-767a-4c8b-9bc7-d57742cdb971', 'TRX-SUKARELA-220', '813be790-47cd-496c-99b7-5d9b70818498', 'dae055c4-977d-4aec-8861-bd4643f8d698', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('37c82a36-73f1-429a-bf02-8cb8b22325d5', 'LOAN-220-60494f47', 'dae055c4-977d-4aec-8861-bd4643f8d698', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 650000.0, 10, 'Migrasi Data', 'disbursed', 650000.0, 650000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f590d8f6-d91b-4daa-9fc5-85318dcbfa03', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 1, '2025-12-24', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81c886ad-f1f9-4f63-a150-55ab4c2b26dd', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 2, '2026-01-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7528a546-b520-4f0e-a672-f283efcaf85b', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 3, '2026-02-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15cd0788-56f1-4bfb-a3fc-e1dd65c43410', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 4, '2026-03-24', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1331f56f-c404-4102-8589-4b80d9dae815', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 5, '2026-04-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c02df329-34bd-4d8a-bac1-5568cf4ef650', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 6, '2026-05-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('259e9590-aea1-4698-a786-a846fdc7423a', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 7, '2026-06-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('310ee2d5-6a60-4b24-993c-5221c141b78a', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 8, '2026-07-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('978e021f-7dd1-4b55-bd05-84e3ff92bf27', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 9, '2026-08-21', 65000.0, 0, 65000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e99e86d5-7695-43e6-b4a5-2d28ee71ea18', '37c82a36-73f1-429a-bf02-8cb8b22325d5', 10, '2026-09-20', 65000.0, 0, 65000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('a0f61beb-8de3-4a68-a535-4c47888e9fc9', 'ORD-220-7f47a3f1', 'dae055c4-977d-4aec-8861-bd4643f8d698', 179000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: AGUS WALUYO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('bea335e2-055e-4245-afe6-7268e5f56b3a', 'member226@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS WALUYO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('8ffebf18-3d19-4c06-ae16-abe7af314aad', 'bea335e2-055e-4245-afe6-7268e5f56b3a', '222', '222', 'AGUS WALUYO', 'NIK-222', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('172407b2-316a-4f82-b2c5-be5d32b25d75', 'SAV-1-222', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('655e7be7-7fef-4ea3-a048-771f952f4b50', 'SAV-2-222', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('995b372b-b2ce-4fd9-8682-b909587856c2', 'TRX-WAJIB-222', '655e7be7-7fef-4ea3-a048-771f952f4b50', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('51f9dc08-3414-4997-853b-bc94bd540851', 'SAV-3-222', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7761bb3f-795e-4ace-a213-7ff16b078202', 'TRX-SUKARELA-222', '51f9dc08-3414-4997-853b-bc94bd540851', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('909c9ba4-cd72-4a4b-8fc1-b77ae0d8b1d6', 'ORD-222-14472415', '8ffebf18-3d19-4c06-ae16-abe7af314aad', 222000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: NASRULLOH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3a41465e-8cb4-425c-8569-21cda73f2c10', 'member227@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NASRULLOH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('21df1930-9a6a-4056-ad30-ae6f42893379', '3a41465e-8cb4-425c-8569-21cda73f2c10', '223', '223', 'NASRULLOH', 'NIK-223', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bab0c5ed-0a71-4fe6-ad8e-eb6afcd02166', 'SAV-1-223', '21df1930-9a6a-4056-ad30-ae6f42893379', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5d56eb96-623b-444c-8365-7e450c86aa9c', 'SAV-2-223', '21df1930-9a6a-4056-ad30-ae6f42893379', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a8bcd691-de3d-44e1-b281-c7399b2851d4', 'TRX-WAJIB-223', '5d56eb96-623b-444c-8365-7e450c86aa9c', '21df1930-9a6a-4056-ad30-ae6f42893379', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('60bdd003-439b-4a1a-9be6-7bd8e048079f', 'SAV-3-223', '21df1930-9a6a-4056-ad30-ae6f42893379', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 'LOAN-223-1cd32ef6', '21df1930-9a6a-4056-ad30-ae6f42893379', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 34156640.0, 40, 'Migrasi Data', 'disbursed', 34156640.0, 34156640.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4e381ff-16ef-4fbd-a2eb-02c88899ff87', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 1, '2026-02-22', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e86c01cb-8f6b-4d7d-bbea-e778651d40ed', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 2, '2026-03-24', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a49a619f-65f8-40f4-b388-ed630434f4cf', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 3, '2026-04-23', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e1bc110-9377-4b88-9fc8-9308732278dc', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 4, '2026-05-23', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0cf21f9a-15ba-4b65-acb0-455a617bc103', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 5, '2026-06-22', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee3bb35b-1424-4e92-9cbf-d3fa17f36664', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 6, '2026-07-22', 853916.0, 478194.0, 1332110.0, 853916.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f31407b-bbad-4895-82cf-16928c85709f', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 7, '2026-08-21', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15bc7783-d734-42d0-be58-c430340fd00f', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 8, '2026-09-20', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c517dfb6-ea29-4b2c-a203-5057ed22db32', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 9, '2026-10-20', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19f4ee2c-f841-4bb3-b184-3120108d8ef1', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 10, '2026-11-19', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('784bb334-62cf-4ffc-b2df-d73e3266f6cf', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 11, '2026-12-19', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f75c1c1d-b569-4211-ad90-4ceeb1e82e90', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 12, '2027-01-18', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7949c937-c363-46ca-b323-f91a7e444041', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 13, '2027-02-17', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1d2865f-a1c2-4873-9a69-b0339d686df5', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 14, '2027-03-19', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2b7dfa1-f1fc-4fdf-adf3-5b6a625e8f42', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 15, '2027-04-18', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('93d7d1e1-d9d8-407d-8e4a-89bdc38f912f', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 16, '2027-05-18', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac532a84-de1c-4470-a27d-4e142678e8a2', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 17, '2027-06-17', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('231188d1-b6e1-4e23-9089-6ba5807b418a', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 18, '2027-07-17', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1930c415-0074-44e6-95ad-66a8dae3022e', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 19, '2027-08-16', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81dc20f7-d055-48c3-aeec-64b6a39f1c51', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 20, '2027-09-15', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8fe09e37-adac-4721-acd9-0c6282aebb1b', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 21, '2027-10-15', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc7544e0-4de7-42a0-9e0c-edb96b7a1a45', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 22, '2027-11-14', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b7c9140-b79b-431a-806d-0bc30b08ece0', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 23, '2027-12-14', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2072d50b-3d23-4530-82bf-dc85e5663914', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 24, '2028-01-13', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f873ecc2-5c46-48f5-a985-3ba2bce9f0a0', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 25, '2028-02-12', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('166e51e2-4917-4bef-97e7-365603e4dce8', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 26, '2028-03-13', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09adc80d-887a-44b1-b8b1-ea7b3e3abc2e', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 27, '2028-04-12', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('16aeb2df-c53f-442d-978a-42b9dc4ce82e', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 28, '2028-05-12', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ae1d7ce-1783-4d0d-8bde-6757367e5fa6', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 29, '2028-06-11', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a1fdb5fd-95d9-47f5-88e1-abc9838c4025', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 30, '2028-07-11', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c5ad8e7-e1fa-4330-bae3-23ed176f2a04', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 31, '2028-08-10', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49562d04-9ab7-4b89-99f1-fb5f7c24b0bc', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 32, '2028-09-09', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('98c75077-b143-47ee-86ed-18a6546bd8dc', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 33, '2028-10-09', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33133b4f-3310-4d54-b457-e47be3cdbcdd', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 34, '2028-11-08', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a64c733f-5adc-46bc-99ae-0153342e0ee8', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 35, '2028-12-08', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47e07623-2822-41ea-a5ee-74f484dd0be0', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 36, '2029-01-07', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15233501-d25e-4995-a491-8c70a5db72e1', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 37, '2029-02-06', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('908fc93e-1d0f-43a8-bb1c-2b5e08670e48', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 38, '2029-03-08', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('54dd77b4-86b4-4f8a-a20e-69ff7a82365e', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 39, '2029-04-07', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b89a5daa-a2b8-44f8-affa-a77ee9648e93', '5ea8fe6f-1a33-4b4d-9a3c-939a405d5cfd', 40, '2029-05-07', 853916.0, 478194.0, 1332110.0, 0, NULL, 'unpaid');

-- Member: MOCHAMAD ARIO PRAKOSO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('208d249f-0822-4bce-9869-2964e8ba42e2', 'member228@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOCHAMAD ARIO PRAKOSO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('42abf78d-6d6b-4338-941b-586556389f9f', '208d249f-0822-4bce-9869-2964e8ba42e2', '224', '224', 'MOCHAMAD ARIO PRAKOSO', 'NIK-224', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('befc8e26-2bc0-4d00-bb7b-cadccc521495', 'SAV-1-224', '42abf78d-6d6b-4338-941b-586556389f9f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2d30ffef-3921-415a-8252-e3f3939e121d', 'SAV-2-224', '42abf78d-6d6b-4338-941b-586556389f9f', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c07a7959-37a5-4efd-88ac-be37030671d0', 'SAV-3-224', '42abf78d-6d6b-4338-941b-586556389f9f', 3, 0.0, true);

-- Member: EKAJATI NOVIANTONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('d9226f26-519b-4430-bae7-7ca147860433', 'member229@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'EKAJATI NOVIANTONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 'd9226f26-519b-4430-bae7-7ca147860433', '225', '225', 'EKAJATI NOVIANTONO', 'NIK-225', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('be5af87e-3705-4d96-a339-e760a582d4f1', 'SAV-1-225', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c572f486-b8e6-4ab2-a199-662b2d006daa', 'SAV-2-225', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8774847c-1a72-43ca-b008-81434ede8525', 'TRX-WAJIB-225', 'c572f486-b8e6-4ab2-a199-662b2d006daa', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('82f81c66-bb18-4c9f-8811-b82bb61c3909', 'SAV-3-225', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b157fc6c-ae1c-4919-93a0-190a25f4ccce', 'LOAN-225-c326b92a', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3100000.0, 10, 'Migrasi Data', 'disbursed', 3100000.0, 3100000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c295d3ce-59f4-4dce-a083-3391fd7bcb18', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 1, '2026-02-22', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7c34bede-a4b1-46de-99b3-438c88a0acdc', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 2, '2026-03-24', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c1ef0b26-27f7-4072-b211-f7832cdeaa56', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 3, '2026-04-23', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae484a4b-5017-42d6-8f1b-4f61dcddc396', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 4, '2026-05-23', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e210f86a-d9ed-4f25-92a4-1af1208f90c5', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 5, '2026-06-22', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aeaff8e8-305f-49b2-9d12-5c3c32bfa504', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 6, '2026-07-22', 310000.0, 46500.0, 356500.0, 310000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b683daac-2529-4d65-b27a-b402c7417719', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 7, '2026-08-21', 310000.0, 46500.0, 356500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a902d17b-3f84-482a-b4c2-bb148b046995', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 8, '2026-09-20', 310000.0, 46500.0, 356500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('768aaccb-51b3-4485-adbb-f386df4e99db', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 9, '2026-10-20', 310000.0, 46500.0, 356500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4774ef6-0219-4d7a-963a-c150648748f1', 'b157fc6c-ae1c-4919-93a0-190a25f4ccce', 10, '2026-11-19', 310000.0, 46500.0, 356500.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('45c4de7d-c994-4184-88b8-ac9e34ef77dd', 'ORD-225-38caddbb', '9b53adcf-67d7-4abf-9eb2-e0ac3d59e91e', 88000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: NURFITRIAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('74b92c03-f47c-4f63-b07b-497b6b6d0312', 'member230@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURFITRIAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('abeb0f1b-1ac3-473a-a7d8-46a684278d46', '74b92c03-f47c-4f63-b07b-497b6b6d0312', '226', '226', 'NURFITRIAH', 'NIK-226', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('841f8f45-5fbe-4415-92d5-1e4d31d1c501', 'SAV-1-226', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5716a5c4-ac34-4ff1-a85b-1e0bfee1b92e', 'SAV-2-226', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5a2a9fcb-cd68-4bfc-b5ed-66d82a28defc', 'TRX-WAJIB-226', '5716a5c4-ac34-4ff1-a85b-1e0bfee1b92e', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('82b1f797-936e-4f52-b686-9a02fecb0ca0', 'SAV-3-226', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 3, 35000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b4a6d87b-d8d9-4c25-aa5f-4c249ac4b4fc', 'TRX-SUKARELA-226', '82b1f797-936e-4f52-b686-9a02fecb0ca0', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 'deposit', 35000.0, 0, 35000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('4831cb56-db11-423a-a4a0-7b60a2a34344', 'LOAN-226-16082372', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15000000.0, 20, 'Migrasi Data', 'disbursed', 15000000.0, 15000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7480738a-7840-4adc-aea9-ddb1fefeb6a7', '4831cb56-db11-423a-a4a0-7b60a2a34344', 1, '2026-02-22', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa40a05b-3bb8-47d3-bd5b-54a7646e7146', '4831cb56-db11-423a-a4a0-7b60a2a34344', 2, '2026-03-24', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9b297c51-8a25-424d-9254-0b98f892ac80', '4831cb56-db11-423a-a4a0-7b60a2a34344', 3, '2026-04-23', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1dd3da7c-a3be-42c7-94af-a74d685c5e1b', '4831cb56-db11-423a-a4a0-7b60a2a34344', 4, '2026-05-23', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b098b2e-11bb-4764-a8f4-4cebd6408382', '4831cb56-db11-423a-a4a0-7b60a2a34344', 5, '2026-06-22', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c652fca2-e1de-40cc-98f1-5575398ff9a1', '4831cb56-db11-423a-a4a0-7b60a2a34344', 6, '2026-07-22', 750000.0, 225000.0, 975000.0, 750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de58f1cc-e681-4b7e-83fe-32c3d5dec8ac', '4831cb56-db11-423a-a4a0-7b60a2a34344', 7, '2026-08-21', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eca0955f-869d-444a-9700-66be76e3af3c', '4831cb56-db11-423a-a4a0-7b60a2a34344', 8, '2026-09-20', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5f4a126b-2e87-4642-af40-d5b0f1577e32', '4831cb56-db11-423a-a4a0-7b60a2a34344', 9, '2026-10-20', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('04e813fa-ad05-4d51-811b-dd8aba3126fc', '4831cb56-db11-423a-a4a0-7b60a2a34344', 10, '2026-11-19', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5995d050-afdb-4c51-9422-c04af6bc6157', '4831cb56-db11-423a-a4a0-7b60a2a34344', 11, '2026-12-19', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9257e0fd-464f-455b-88e2-498e6d36d7c2', '4831cb56-db11-423a-a4a0-7b60a2a34344', 12, '2027-01-18', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('969fc9f3-f23f-472f-9026-800cf6db6757', '4831cb56-db11-423a-a4a0-7b60a2a34344', 13, '2027-02-17', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e04e9bb4-4c28-48c4-9372-ad35223c5b07', '4831cb56-db11-423a-a4a0-7b60a2a34344', 14, '2027-03-19', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d18045a5-1163-4d30-84ac-f54c180e6b1c', '4831cb56-db11-423a-a4a0-7b60a2a34344', 15, '2027-04-18', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de57e0aa-5a50-4ce8-a93c-56df1b4c3857', '4831cb56-db11-423a-a4a0-7b60a2a34344', 16, '2027-05-18', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad5a812d-9130-47a6-8818-ebf86633d043', '4831cb56-db11-423a-a4a0-7b60a2a34344', 17, '2027-06-17', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('11ad10aa-ae41-429d-91ab-859fad204bca', '4831cb56-db11-423a-a4a0-7b60a2a34344', 18, '2027-07-17', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73d0a8c5-2753-4602-bc81-269819526f27', '4831cb56-db11-423a-a4a0-7b60a2a34344', 19, '2027-08-16', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2aebbb09-bf82-4ef8-9910-98db08054fa8', '4831cb56-db11-423a-a4a0-7b60a2a34344', 20, '2027-09-15', 750000.0, 225000.0, 975000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('abadb1ea-2bdc-496b-9a26-bab7a4784f8f', 'ORD-226-ae587034', 'abeb0f1b-1ac3-473a-a7d8-46a684278d46', 79500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: HUSEN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('e00e7e45-cf9b-40df-bf8b-d7ee77b91f58', 'member231@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HUSEN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('296fdcfe-dec2-4723-b740-f2c532646a8b', 'e00e7e45-cf9b-40df-bf8b-d7ee77b91f58', '227', '227', 'HUSEN', 'NIK-227', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('452a7442-d498-4c97-bd0f-70753cee6700', 'SAV-1-227', '296fdcfe-dec2-4723-b740-f2c532646a8b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c287e68e-a7d4-4abd-8127-630467b56a96', 'SAV-2-227', '296fdcfe-dec2-4723-b740-f2c532646a8b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('030ccef1-8c7a-4177-8d52-b310b0a82e8b', 'TRX-WAJIB-227', 'c287e68e-a7d4-4abd-8127-630467b56a96', '296fdcfe-dec2-4723-b740-f2c532646a8b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('af06724d-b40a-4592-bdc3-04889808ace3', 'SAV-3-227', '296fdcfe-dec2-4723-b740-f2c532646a8b', 3, 0.0, true);

-- Member: HARI TARIYADI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('5c96314d-edcc-42f5-90b2-af2ca7c7d6ae', 'member232@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HARI TARIYADI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ae9d5b0d-09b1-4379-b14e-c1b4184f3ca5', '5c96314d-edcc-42f5-90b2-af2ca7c7d6ae', '228', '228', 'HARI TARIYADI', 'NIK-228', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0a048057-c228-4de9-875c-31e9957b7400', 'SAV-1-228', 'ae9d5b0d-09b1-4379-b14e-c1b4184f3ca5', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fe1473c5-02f7-4038-9acb-fe4d8fa9cf4d', 'SAV-2-228', 'ae9d5b0d-09b1-4379-b14e-c1b4184f3ca5', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('15eb1e6d-04c3-42b3-bcb2-a252267d3ec2', 'SAV-3-228', 'ae9d5b0d-09b1-4379-b14e-c1b4184f3ca5', 3, 0.0, true);

-- Member: ASEP
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('56a08397-aeb9-4356-bd8b-cb1bf2241ef7', 'member233@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ASEP', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f84b3346-12eb-42ac-b670-75e07e44e13c', '56a08397-aeb9-4356-bd8b-cb1bf2241ef7', '229', '229', 'ASEP', 'NIK-229', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('91860fc3-fc21-49c2-b30a-2493b7a1a45d', 'SAV-1-229', 'f84b3346-12eb-42ac-b670-75e07e44e13c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4de916bb-97dc-4c61-84df-dcce435acc13', 'SAV-2-229', 'f84b3346-12eb-42ac-b670-75e07e44e13c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('48503381-1c23-4547-a049-28444515ecc0', 'TRX-WAJIB-229', '4de916bb-97dc-4c61-84df-dcce435acc13', 'f84b3346-12eb-42ac-b670-75e07e44e13c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6a2f4275-7887-4a31-bcf9-0612f4d4021c', 'SAV-3-229', 'f84b3346-12eb-42ac-b670-75e07e44e13c', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2cc4b66c-2c19-4b51-b99b-aadbd259af33', 'TRX-SUKARELA-229', '6a2f4275-7887-4a31-bcf9-0612f4d4021c', 'f84b3346-12eb-42ac-b670-75e07e44e13c', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');

-- Member: HERIYANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b2f14a6b-1c1b-44d9-afe7-dcde376886a7', 'member234@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERIYANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 'b2f14a6b-1c1b-44d9-afe7-dcde376886a7', '230', '230', 'HERIYANTO', 'NIK-230', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3a56cb65-89be-4924-a2fb-4a6dee1c4936', 'SAV-1-230', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ba51edf1-f7a1-48c4-924d-727c7ad6ab97', 'SAV-2-230', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('62d0494f-bd99-4d02-8647-a424e1fa337e', 'TRX-WAJIB-230', 'ba51edf1-f7a1-48c4-924d-727c7ad6ab97', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('f61c9ddd-9125-4d1c-97d7-aeb51de1d4f6', 'SAV-3-230', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f0a720ed-2dea-4d13-a9b9-b90b081d7d75', 'TRX-SUKARELA-230', 'f61c9ddd-9125-4d1c-97d7-aeb51de1d4f6', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('22ecceb6-0584-4804-ade3-a868e84e5e13', 'LOAN-230-23493010', 'aee660b8-0e12-4ac1-8c8e-8afe50762cf9', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 5000000.0, 10, 'Migrasi Data', 'disbursed', 5000000.0, 5000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc4a35ce-1404-4c2c-9634-aa7e83199c57', '22ecceb6-0584-4804-ade3-a868e84e5e13', 1, '2026-06-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dcd16bc7-7023-4f95-95e6-4f9412a009a7', '22ecceb6-0584-4804-ade3-a868e84e5e13', 2, '2026-07-22', 500000.0, 75000.0, 575000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1c1efdc0-50a5-486d-abed-456e4e90de1e', '22ecceb6-0584-4804-ade3-a868e84e5e13', 3, '2026-08-21', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('41bbd83a-4ac5-4348-a98b-6eb5fff3f5d3', '22ecceb6-0584-4804-ade3-a868e84e5e13', 4, '2026-09-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ceefae4d-d8cf-47e4-bdc7-cd1fa76f858f', '22ecceb6-0584-4804-ade3-a868e84e5e13', 5, '2026-10-20', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e069d63-7b57-48b6-91a2-6e9b1cf7e1a1', '22ecceb6-0584-4804-ade3-a868e84e5e13', 6, '2026-11-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0152670d-1c19-46bf-b4eb-49b813484c64', '22ecceb6-0584-4804-ade3-a868e84e5e13', 7, '2026-12-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f5c251da-734f-4ed4-b332-66ff102447a1', '22ecceb6-0584-4804-ade3-a868e84e5e13', 8, '2027-01-18', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59665dd9-f2b1-488a-8e16-4c751b672cb3', '22ecceb6-0584-4804-ade3-a868e84e5e13', 9, '2027-02-17', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f2aaa271-2db7-4249-bcd1-360a863206a9', '22ecceb6-0584-4804-ade3-a868e84e5e13', 10, '2027-03-19', 500000.0, 75000.0, 575000.0, 0, NULL, 'unpaid');

-- Member: ZHANAYA GALUH MUTIARA DEWI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6f987abe-79c5-4d78-9de3-37c593780905', 'member235@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ZHANAYA GALUH MUTIARA DEWI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2af03bf4-32ea-4d2c-bb6a-d71b9223af41', '6f987abe-79c5-4d78-9de3-37c593780905', '231', '231', 'ZHANAYA GALUH MUTIARA DEWI', 'NIK-231', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4fbdec7d-95d5-4f03-bc2d-51c2b90538d5', 'SAV-1-231', '2af03bf4-32ea-4d2c-bb6a-d71b9223af41', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('01bf80f9-200c-4fa7-bf44-9f82baa49672', 'SAV-2-231', '2af03bf4-32ea-4d2c-bb6a-d71b9223af41', 2, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e88d833e-3bef-417e-84ff-ea217b7e54b2', 'SAV-3-231', '2af03bf4-32ea-4d2c-bb6a-d71b9223af41', 3, 0.0, true);

-- Member: JAROT SUPRIYANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a69e5a70-ca03-4eb8-90e9-9eea5bc88141', 'member236@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'JAROT SUPRIYANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('df50b247-ee3e-46d7-bafb-268f6c21d48c', 'a69e5a70-ca03-4eb8-90e9-9eea5bc88141', '233', '233', 'JAROT SUPRIYANTO', 'NIK-233', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d9738364-d3ae-42ce-985b-d53565c29323', 'SAV-1-233', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0640c11f-e901-4136-9506-c93a4a472c51', 'SAV-2-233', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('2b9f5652-cbd4-44a8-bdd0-9c5d920526eb', 'TRX-WAJIB-233', '0640c11f-e901-4136-9506-c93a4a472c51', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4296054c-481e-46a6-8e9d-5b8ada16d177', 'SAV-3-233', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b13cdee2-59d5-4b9e-9ddf-b70919b35984', 'LOAN-233-ac5967dc', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 109866660.0, 30, 'Migrasi Data', 'disbursed', 109866660.0, 109866660.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('13e09be8-cb29-4b98-8a46-1c257e0203a8', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 1, '2026-02-22', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('279b2035-22c7-4b88-914e-6de5ca60c4df', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 2, '2026-03-24', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35cd0283-b1cc-4e47-86bb-4bd0887f26a7', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 3, '2026-04-23', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b858015-d85d-45f7-8d3a-ca623c94050d', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 4, '2026-05-23', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84156862-b495-4f3c-995d-90c6be8a95b8', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 5, '2026-06-22', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9c9c993f-6a30-4f99-a866-60df92a0d994', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 6, '2026-07-22', 3662222.0, 1648000.0, 5310222.0, 3662222.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c111df5a-9de8-4fc8-86bc-2e4b7ee9edf7', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 7, '2026-08-21', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e110a878-5c06-4b43-a173-871459c40f66', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 8, '2026-09-20', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33732083-e222-47a3-8bec-916ddd8ee3e2', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 9, '2026-10-20', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ab001797-10a7-44e6-8349-17696bbaf2b5', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 10, '2026-11-19', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2f24c3dd-482d-4337-90d6-b5ba8b982fa6', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 11, '2026-12-19', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f71eb478-507b-4a64-8c3e-ee64c16acfc0', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 12, '2027-01-18', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5dfe0c3d-59be-489d-8ddb-9a70d9104c57', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 13, '2027-02-17', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0bd8f089-04a6-4da7-818d-2f9060bc3683', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 14, '2027-03-19', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ee688516-529b-4e96-b19f-5364911e5f02', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 15, '2027-04-18', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('389d4f97-16c2-49ff-8dd4-c6345f9cb204', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 16, '2027-05-18', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d3a48acc-7be6-4fdc-9adc-2d1037765159', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 17, '2027-06-17', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('479b69fd-f72e-43fb-8203-1303f895b8d4', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 18, '2027-07-17', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('06f9b37a-1bdd-45ac-bfbc-7fdea57d44f1', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 19, '2027-08-16', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fe82b960-ba87-4254-be1c-d148b7fd911e', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 20, '2027-09-15', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d7acc3f-3b02-400d-8c23-db3e1e911ed4', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 21, '2027-10-15', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9d8b192-4a87-48c0-bb6b-36f984831610', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 22, '2027-11-14', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f43fd3cf-93ab-41ec-952b-b4c00e1da9d9', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 23, '2027-12-14', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba2e12e6-7162-4c45-a222-e39bc2e49ccd', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 24, '2028-01-13', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8329bdb4-16dc-4449-8e20-4caa5c4a3366', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 25, '2028-02-12', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0270111f-023c-4363-ad1b-dc7cd4abfbd4', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 26, '2028-03-13', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('584ba1d9-7485-4f94-b051-ee27c8e22a4e', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 27, '2028-04-12', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b35fbdc3-3aa4-4eee-9334-3fdf22016c3c', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 28, '2028-05-12', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66813525-0a09-46d7-b686-7198faefc696', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 29, '2028-06-11', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56b3f15d-b28e-4f63-9f10-e5053f995f4a', 'b13cdee2-59d5-4b9e-9ddf-b70919b35984', 30, '2028-07-11', 3662222.0, 1648000.0, 5310222.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 'LOAN-233-ae1055de', 'df50b247-ee3e-46d7-bafb-268f6c21d48c', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 1000000.0, 10, 'Migrasi Data', 'disbursed', 1000000.0, 1000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cda871b5-e0f4-4441-93dd-bde7d9503923', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 1, '2026-07-22', 100000.0, 12500.0, 112500.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('34c422f0-857d-414e-abaf-fc9c7c5b7698', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 2, '2026-08-21', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b4b18ed-5e41-4048-b123-c6ccad41e96a', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 3, '2026-09-20', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25193af0-c713-4083-b5e3-c5909c3365d0', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 4, '2026-10-20', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2336202b-134c-4396-8ac6-ddd1c5dd73b4', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 5, '2026-11-19', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('92ac214e-b4fd-49eb-a753-17cb28a857b1', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 6, '2026-12-19', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6bf26d7e-2532-44fc-9fa5-0e0c0574e59a', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 7, '2027-01-18', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e277727-3e8d-4572-aeab-f617a4c1ec1c', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 8, '2027-02-17', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45dc11ac-8a60-4545-ae42-5aa4df4146c4', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 9, '2027-03-19', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1a576002-79dd-4f7d-90ac-0ea28d57cd11', '2bc65b5e-153d-49cb-864f-e2b6c1f6705b', 10, '2027-04-18', 100000.0, 12500.0, 112500.0, 0, NULL, 'unpaid');

-- Member: DEDEN JAYA SUKMANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0866e305-ad59-45d9-8a4f-c3d6b48fc981', 'member237@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DEDEN JAYA SUKMANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('726552e5-a975-4b34-b2bb-ab409ae5d245', '0866e305-ad59-45d9-8a4f-c3d6b48fc981', '234', '234', 'DEDEN JAYA SUKMANA', 'NIK-234', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2f1e4346-7ba0-4c92-ae57-ccdb7e9b14e5', 'SAV-1-234', '726552e5-a975-4b34-b2bb-ab409ae5d245', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c3730e5b-e8df-41eb-8982-4c162e7bdd0d', 'SAV-2-234', '726552e5-a975-4b34-b2bb-ab409ae5d245', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('47418ffe-0af0-4b5c-a5cf-7867984dd159', 'TRX-WAJIB-234', 'c3730e5b-e8df-41eb-8982-4c162e7bdd0d', '726552e5-a975-4b34-b2bb-ab409ae5d245', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('833198e0-5c1f-400e-b9ab-f97b3961f0b8', 'SAV-3-234', '726552e5-a975-4b34-b2bb-ab409ae5d245', 3, 0.0, true);

-- Member: ISMAIL
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('128f6e8a-2d58-4aad-a8ef-0b29805a9c35', 'member238@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ISMAIL', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5040703a-fa12-4632-9f6f-89051bc33a57', '128f6e8a-2d58-4aad-a8ef-0b29805a9c35', '235', '235', 'ISMAIL', 'NIK-235', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6864ef3a-1c3d-4926-a15e-c6d7e22066c8', 'SAV-1-235', '5040703a-fa12-4632-9f6f-89051bc33a57', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9df0b7ec-6746-4a82-9da7-7a91a8c99c58', 'SAV-2-235', '5040703a-fa12-4632-9f6f-89051bc33a57', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('89f6642e-dc9a-488f-b639-b9905a3f6e8d', 'TRX-WAJIB-235', '9df0b7ec-6746-4a82-9da7-7a91a8c99c58', '5040703a-fa12-4632-9f6f-89051bc33a57', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e7ddd7f6-4c37-4163-ab6a-0c4a98a85b6e', 'SAV-3-235', '5040703a-fa12-4632-9f6f-89051bc33a57', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 'LOAN-235-24d79435', '5040703a-fa12-4632-9f6f-89051bc33a57', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 76000000.0, 20, 'Migrasi Data', 'disbursed', 76000000.0, 76000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95be279b-8926-4cad-b21c-e02e691f297c', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 1, '2026-02-22', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('855b1d16-d673-44e2-9848-4ea9c746aa37', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 2, '2026-03-24', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53ab26c6-30f2-4790-a5b3-1aa268c1fb10', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 3, '2026-04-23', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('359e119b-76f1-41a2-a673-6524ae982892', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 4, '2026-05-23', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5f0cdc2-b6be-4fac-8fb0-aed9fac296cb', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 5, '2026-06-22', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a5c0736-d0ec-46a5-91a8-ee3821db9adf', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 6, '2026-07-22', 3800000.0, 1140000.0, 4940000.0, 3800000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32c21bac-08b1-44f4-b131-c29908546f1a', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 7, '2026-08-21', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9314bca-20bc-4772-a55e-80e2f8e6c0cd', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 8, '2026-09-20', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a4bb1d3-1c58-406d-bafb-e79881a4dd3f', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 9, '2026-10-20', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17ae7ce6-e642-4040-af64-756b53ef9894', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 10, '2026-11-19', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0701aad2-94ec-44ca-b560-292cf8d9e8e0', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 11, '2026-12-19', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31b4ec2c-c7c6-42f8-9e16-5c7dcbc0233e', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 12, '2027-01-18', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bde6f862-42ea-4b61-9437-44bf159ccd73', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 13, '2027-02-17', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1893e706-b58e-4d26-8e0d-39dfe3ce97e5', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 14, '2027-03-19', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8ebe8c9-4434-4f80-8c13-8dcb935347d9', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 15, '2027-04-18', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f04fb782-6943-4706-b7b4-63e1eaffcbda', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 16, '2027-05-18', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('90cf0743-6f93-4b0d-b359-ea8ce1e00bdb', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 17, '2027-06-17', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0163ec7-28d3-40e7-bb0d-d1aa5b05dab4', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 18, '2027-07-17', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('af287a8d-b5c7-4751-b2a8-ba2d6b8270c6', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 19, '2027-08-16', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f46d2f81-45c7-4f40-9d97-d8af7bb61c00', '8c5b4c5b-3ded-4110-bd2e-66a0b73b1a95', 20, '2027-09-15', 3800000.0, 1140000.0, 4940000.0, 0, NULL, 'unpaid');

-- Member: AGUS SUSANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b7a508bc-4298-4439-9fd1-a0f4ba21889e', 'member239@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AGUS SUSANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('61b7537d-75e3-49eb-a6ec-3cf044583f7b', 'b7a508bc-4298-4439-9fd1-a0f4ba21889e', '236', '236', 'AGUS SUSANTO', 'NIK-236', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('10723de5-c0f8-45b3-9fe9-043135b66386', 'SAV-1-236', '61b7537d-75e3-49eb-a6ec-3cf044583f7b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c032fe8f-3fb4-4071-a6be-83d6af57f29d', 'SAV-2-236', '61b7537d-75e3-49eb-a6ec-3cf044583f7b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4819b526-c51f-4ce2-ad3e-0def42bd827d', 'TRX-WAJIB-236', 'c032fe8f-3fb4-4071-a6be-83d6af57f29d', '61b7537d-75e3-49eb-a6ec-3cf044583f7b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('da3d6362-c3ba-4471-8761-63e118dff229', 'SAV-3-236', '61b7537d-75e3-49eb-a6ec-3cf044583f7b', 3, 0.0, true);

-- Member: ENDANG JAELANI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c585a968-680c-416d-89fd-5120255756cb', 'member240@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ENDANG JAELANI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bc69c997-ece4-4b41-a9c9-bcfaa16969a9', 'c585a968-680c-416d-89fd-5120255756cb', '237', '237', 'ENDANG JAELANI', 'NIK-237', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b33b47f7-b128-4754-9710-167d6d151081', 'SAV-1-237', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('5b1b4360-70bb-4c28-99a2-de4d911a32c0', 'SAV-2-237', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('1c9da102-92db-431c-ab9d-ccd84b5477cb', 'TRX-WAJIB-237', '5b1b4360-70bb-4c28-99a2-de4d911a32c0', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('57b88e4c-b9e8-4915-9126-3c2bb148b0e5', 'SAV-3-237', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('e9e49f6e-28ee-4697-a7a4-60e104492bb1', 'LOAN-237-bf8c3730', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 33500000.0, 20, 'Migrasi Data', 'disbursed', 33500000.0, 33500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cbcee0b2-1e18-404d-90f1-2d6e2407580e', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 1, '2026-02-22', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('006205f6-4e1b-448b-9da3-30a5f6bc54d5', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 2, '2026-03-24', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e6403b6a-9c1b-4624-a8c5-966080e89c8b', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 3, '2026-04-23', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea988e7f-f4df-4dfe-9265-9995527d221d', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 4, '2026-05-23', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f842e85-246f-4fc9-b761-411d88eed633', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 5, '2026-06-22', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84c44323-51a0-4731-a03b-82eddd3e815e', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 6, '2026-07-22', 1675000.0, 502500.0, 2177500.0, 1675000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('750f40d9-fe16-49f0-814f-5718c8b9f496', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 7, '2026-08-21', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49f6d9f0-2357-4089-9a12-b5f23c02108e', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 8, '2026-09-20', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2021762-0de4-4caf-a1ac-2fc1dc564d88', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 9, '2026-10-20', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('169c8838-3c7d-4435-96a9-1c5628079375', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 10, '2026-11-19', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d00d6058-3a24-445d-98fc-84d95972e933', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 11, '2026-12-19', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02acc235-ecd5-4840-89ae-968a5998a68d', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 12, '2027-01-18', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('288b8e97-72b5-40b3-b35d-adfff9465987', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 13, '2027-02-17', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('471901ea-0b62-4b73-89c6-da258d2dd576', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 14, '2027-03-19', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cbc7aa84-630e-4dd3-b883-c91c051a02e4', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 15, '2027-04-18', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9d46e25-48b0-4f24-8907-fb2625bfb503', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 16, '2027-05-18', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('656b0e16-c37b-4714-9834-67fc2d1c568c', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 17, '2027-06-17', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cc49f44-5d70-4c10-a355-8ea455a7824e', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 18, '2027-07-17', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a7039272-1215-441d-9d47-693812ce1d47', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 19, '2027-08-16', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1c4eb1fa-f71a-4931-987a-ba4942393f8a', 'e9e49f6e-28ee-4697-a7a4-60e104492bb1', 20, '2027-09-15', 1675000.0, 502500.0, 2177500.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 'LOAN-237-f34bf077', 'bc69c997-ece4-4b41-a9c9-bcfaa16969a9', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 9999990.0, 30, 'Migrasi Data', 'disbursed', 9999990.0, 9999990.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6b052d26-90c9-473a-b2ed-4af8ec6e94ed', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 1, '2026-03-24', 333333.0, 150000.0, 483333.0, 333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('beab5063-a919-402f-a28a-43903b43d820', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 2, '2026-04-23', 333333.0, 150000.0, 483333.0, 333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e343a67-84ad-4674-be1b-1c10f662ced3', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 3, '2026-05-23', 333333.0, 150000.0, 483333.0, 333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3531a993-262c-4d35-9ee8-bfc3c8880730', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 4, '2026-06-22', 333333.0, 150000.0, 483333.0, 333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('90f91fad-0993-4d49-9f10-2088842a7ec6', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 5, '2026-07-22', 333333.0, 150000.0, 483333.0, 333333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a18238f0-bd34-4ff7-96c8-9e317a19c686', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 6, '2026-08-21', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47adbd36-4996-4aa6-a6f2-3ccee456bba3', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 7, '2026-09-20', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73deb096-c36a-4078-b91a-6781cdef2205', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 8, '2026-10-20', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('593f6904-4af0-435e-963b-976abb6889b3', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 9, '2026-11-19', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('500c2d6a-e8f2-4c80-b033-bee7faced293', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 10, '2026-12-19', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bcfae5be-f854-4c26-b96e-d27b099d3423', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 11, '2027-01-18', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a8cda835-ec37-492f-a164-7e29d76a9cde', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 12, '2027-02-17', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2795c693-b9cd-4105-a8c8-a5c36c4011d3', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 13, '2027-03-19', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('88d9579c-869e-4a9e-a340-64d2aa0891d6', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 14, '2027-04-18', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26b01965-26d1-43cd-ba25-88771089303b', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 15, '2027-05-18', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59834c4c-8e51-4a1c-b110-929b556cb6d9', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 16, '2027-06-17', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc840d1a-7b21-46ee-a901-f05b3e301fba', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 17, '2027-07-17', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('727af3a3-d607-469a-b0f8-55a65f49e3c9', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 18, '2027-08-16', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc9cb84d-8052-44a9-b1b9-fe9dcc760319', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 19, '2027-09-15', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0eaea97f-0556-4139-a9e8-2d2b57e630cc', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 20, '2027-10-15', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('249b58f5-4058-4b1c-b084-a63095ccd25c', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 21, '2027-11-14', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b08f905-f8ea-4a69-8f10-6cf6cec7a93e', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 22, '2027-12-14', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9fe2b57f-447e-46d5-b005-553ee4b2107c', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 23, '2028-01-13', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c2a9229d-a2af-4490-b262-cb1dede16bac', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 24, '2028-02-12', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('125ae087-a92b-4119-b708-644f3f328f50', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 25, '2028-03-13', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e247f184-b493-453c-b438-21d3d4ef0a88', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 26, '2028-04-12', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fad905a4-c618-42bf-9f4f-3b5f968ad551', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 27, '2028-05-12', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7895a94-fc94-4815-8ab6-cfb92c307c8f', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 28, '2028-06-11', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6d80021c-ff5a-4387-a4cf-feb5b3cceb19', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 29, '2028-07-11', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8bb19b1d-047c-49a6-b2c3-ecdd1b0ef54c', '64d0d0e9-b5e0-43dc-b5cc-777f0205f0e3', 30, '2028-08-10', 333333.0, 150000.0, 483333.0, 0, NULL, 'unpaid');

-- Member: BUDIMAN.
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('647e6272-0a21-4a99-8bb8-d07f93b0d525', 'member241@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BUDIMAN.', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9d9b2b47-4c6b-4711-b52c-9ecf72018dce', '647e6272-0a21-4a99-8bb8-d07f93b0d525', '238', '238', 'BUDIMAN.', 'NIK-238', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c98f2f20-f915-4363-9566-b3716ffb9e3f', 'SAV-1-238', '9d9b2b47-4c6b-4711-b52c-9ecf72018dce', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('92c8662f-c899-4c75-8418-7f769fac4b32', 'SAV-2-238', '9d9b2b47-4c6b-4711-b52c-9ecf72018dce', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8f37f67a-a345-4e67-98e1-1f507552815d', 'TRX-WAJIB-238', '92c8662f-c899-4c75-8418-7f769fac4b32', '9d9b2b47-4c6b-4711-b52c-9ecf72018dce', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('31efe3c3-71af-4973-97c6-bb335e5be427', 'SAV-3-238', '9d9b2b47-4c6b-4711-b52c-9ecf72018dce', 3, 0.0, true);

-- Member: MUHAMAD HUSEN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('eac96810-8aeb-49e9-8bca-049cc2cdc61f', 'member242@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MUHAMAD HUSEN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e4b061c6-e3b5-41a8-9bfb-939ab2e2cb94', 'eac96810-8aeb-49e9-8bca-049cc2cdc61f', '239', '239', 'MUHAMAD HUSEN', 'NIK-239', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('845e853f-b1bc-4997-85a9-9f4027dfa9c6', 'SAV-1-239', 'e4b061c6-e3b5-41a8-9bfb-939ab2e2cb94', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cbaa22d6-4b45-49e8-9631-e102b47efa6d', 'SAV-2-239', 'e4b061c6-e3b5-41a8-9bfb-939ab2e2cb94', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('39ce6250-6681-4eec-ada3-121b51b1b122', 'TRX-WAJIB-239', 'cbaa22d6-4b45-49e8-9631-e102b47efa6d', 'e4b061c6-e3b5-41a8-9bfb-939ab2e2cb94', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('53720716-5534-41ce-84cd-d7409b2afd17', 'SAV-3-239', 'e4b061c6-e3b5-41a8-9bfb-939ab2e2cb94', 3, 0.0, true);

-- Member: PITRE DESIPARI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b1b3b81b-a3a2-453b-8607-5a58c8661717', 'member243@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'PITRE DESIPARI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('554767c0-e79f-434a-9e62-5391a240888f', 'b1b3b81b-a3a2-453b-8607-5a58c8661717', '240', '240', 'PITRE DESIPARI', 'NIK-240', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c96b3cd1-6fff-43d8-b567-9f3688fb93f5', 'SAV-1-240', '554767c0-e79f-434a-9e62-5391a240888f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('61e568d0-d0c7-4c94-ac51-490f3fe5be2f', 'SAV-2-240', '554767c0-e79f-434a-9e62-5391a240888f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c0d140a7-e046-49a7-84d2-e6daf12e4154', 'TRX-WAJIB-240', '61e568d0-d0c7-4c94-ac51-490f3fe5be2f', '554767c0-e79f-434a-9e62-5391a240888f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('63598abd-7a3f-4b17-8901-733ef2f65f35', 'SAV-3-240', '554767c0-e79f-434a-9e62-5391a240888f', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('7d24222b-b989-4529-a2ff-fc13a8e56074', 'LOAN-240-defdef1f', '554767c0-e79f-434a-9e62-5391a240888f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 59149980.0, 30, 'Migrasi Data', 'disbursed', 59149980.0, 59149980.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1972dda2-f287-43ba-ba7d-e19d95ffb569', '7d24222b-b989-4529-a2ff-fc13a8e56074', 1, '2026-02-22', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15a84cb7-7baa-46d7-9c56-9aa198049e7f', '7d24222b-b989-4529-a2ff-fc13a8e56074', 2, '2026-03-24', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f7d7d0aa-927f-469c-bc83-bcceaad179d6', '7d24222b-b989-4529-a2ff-fc13a8e56074', 3, '2026-04-23', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a37854e7-72e4-4030-91df-0f5c6b7ce81a', '7d24222b-b989-4529-a2ff-fc13a8e56074', 4, '2026-05-23', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('03f23183-c5af-404e-835e-72478b3e3eb0', '7d24222b-b989-4529-a2ff-fc13a8e56074', 5, '2026-06-22', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb9ce14b-5ffa-4193-a549-4d66c792e48d', '7d24222b-b989-4529-a2ff-fc13a8e56074', 6, '2026-07-22', 1971666.0, 887234.0, 2858900.0, 1971666.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82341c9e-92ce-4cd7-97d0-0d131617a40e', '7d24222b-b989-4529-a2ff-fc13a8e56074', 7, '2026-08-21', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d5ce994f-14fa-401f-87fa-8aa15739799f', '7d24222b-b989-4529-a2ff-fc13a8e56074', 8, '2026-09-20', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7181a4e2-91d2-4bdf-bd79-327745fe83a8', '7d24222b-b989-4529-a2ff-fc13a8e56074', 9, '2026-10-20', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ca42d63f-6e06-49d2-98e6-c770c7844b50', '7d24222b-b989-4529-a2ff-fc13a8e56074', 10, '2026-11-19', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc30b279-7ee5-46ad-b218-335acb13a0c5', '7d24222b-b989-4529-a2ff-fc13a8e56074', 11, '2026-12-19', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('90535847-ff64-4835-8fbc-c2123356bc3b', '7d24222b-b989-4529-a2ff-fc13a8e56074', 12, '2027-01-18', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12e5bf67-6e25-4640-a447-0d97e3ada7c4', '7d24222b-b989-4529-a2ff-fc13a8e56074', 13, '2027-02-17', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a9d03772-1652-4062-a940-f4a2b4907190', '7d24222b-b989-4529-a2ff-fc13a8e56074', 14, '2027-03-19', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cf46db72-5269-42c4-83c1-0d39c647bd50', '7d24222b-b989-4529-a2ff-fc13a8e56074', 15, '2027-04-18', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0bfad2be-09a2-4be2-ae36-219a5c072f5e', '7d24222b-b989-4529-a2ff-fc13a8e56074', 16, '2027-05-18', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('02dbba14-5529-484a-88d3-5c2f0aa0f497', '7d24222b-b989-4529-a2ff-fc13a8e56074', 17, '2027-06-17', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24b55d27-3d48-49f4-935e-a89914408ebc', '7d24222b-b989-4529-a2ff-fc13a8e56074', 18, '2027-07-17', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('381e4a77-711e-4a3a-91b8-85773e09d66b', '7d24222b-b989-4529-a2ff-fc13a8e56074', 19, '2027-08-16', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0833aac4-e5e4-47b3-a756-6c01c4a2f77a', '7d24222b-b989-4529-a2ff-fc13a8e56074', 20, '2027-09-15', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b2b92c4-01c0-4f1c-a959-f9d13868f087', '7d24222b-b989-4529-a2ff-fc13a8e56074', 21, '2027-10-15', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7721803-61ad-45e0-9bd8-b35e6734c322', '7d24222b-b989-4529-a2ff-fc13a8e56074', 22, '2027-11-14', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79b4d2b7-4bab-4de5-b977-35b0ea83b5d3', '7d24222b-b989-4529-a2ff-fc13a8e56074', 23, '2027-12-14', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68636ae5-1177-465d-98f7-fd1a48a178e3', '7d24222b-b989-4529-a2ff-fc13a8e56074', 24, '2028-01-13', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d5fc1e6f-5a35-404a-bbeb-0630715e1bd4', '7d24222b-b989-4529-a2ff-fc13a8e56074', 25, '2028-02-12', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20b17699-14ea-447c-aaef-8e69ec567991', '7d24222b-b989-4529-a2ff-fc13a8e56074', 26, '2028-03-13', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('65e9ae48-8ce0-4ffc-8aea-172922170459', '7d24222b-b989-4529-a2ff-fc13a8e56074', 27, '2028-04-12', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6f2e96d-7d6b-4bbf-8783-a2176846fde7', '7d24222b-b989-4529-a2ff-fc13a8e56074', 28, '2028-05-12', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('311737bf-1023-4ef1-8b19-4777a56bdabd', '7d24222b-b989-4529-a2ff-fc13a8e56074', 29, '2028-06-11', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4fb98737-15e4-470a-877a-166821e8ad3a', '7d24222b-b989-4529-a2ff-fc13a8e56074', 30, '2028-07-11', 1971666.0, 887234.0, 2858900.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 'LOAN-240-dfb90679', '554767c0-e79f-434a-9e62-5391a240888f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 25, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5775ce40-780d-464c-a8de-24af5a972ce7', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 1, '2026-07-22', 400000.0, 150000.0, 550000.0, 400000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc0bb55f-1923-4af1-9f96-e52b7fe26a14', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 2, '2026-08-21', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20e2fec7-0ed8-46a8-838d-b4fb8dd49ab9', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 3, '2026-09-20', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7052ab3e-d63a-448c-b46d-fa29ece47834', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 4, '2026-10-20', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('485ca295-be7a-42c3-ab92-b103b2c37cc2', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 5, '2026-11-19', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a2684ee-e836-472c-914b-f739cfb22d2f', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 6, '2026-12-19', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6662298-1334-451b-8335-7dac418cb948', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 7, '2027-01-18', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d42281ae-f19f-4d1e-aca6-f8654c64d90f', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 8, '2027-02-17', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0e29b0a-deee-48fd-b0c9-74df339747f8', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 9, '2027-03-19', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97df92c4-650f-4665-823b-939f94831b51', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 10, '2027-04-18', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1e3c4305-4414-43b8-96c5-5a4b91e1513b', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 11, '2027-05-18', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8be8745b-c126-482b-9450-2b3f679e820f', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 12, '2027-06-17', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('75270b81-9810-4844-9a14-40eefbf5b38b', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 13, '2027-07-17', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c878326e-cabe-4184-9b24-40e81e4f5d49', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 14, '2027-08-16', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e95436d1-e161-4092-9a77-d51735cee4f9', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 15, '2027-09-15', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4dac831a-7afa-4134-9cb4-3c4c38e2ebed', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 16, '2027-10-15', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('083ee16b-433f-4ae0-9ac6-8facc663c93d', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 17, '2027-11-14', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49e1eaf7-c1cb-488f-9f43-b43be130fcbe', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 18, '2027-12-14', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c8d2f752-876c-4680-95ba-a2d575088275', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 19, '2028-01-13', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6e7e84f-d1b7-4aac-a844-189707250a1f', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 20, '2028-02-12', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('653e7f28-eb00-4458-be11-9a7a09903a93', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 21, '2028-03-13', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d86a09d-5b6d-4f24-be4c-699838646a78', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 22, '2028-04-12', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2667b6b2-42fe-4707-a172-ab6cc4ec53c8', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 23, '2028-05-12', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80e5a19a-50d9-4728-b100-09a290d70b25', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 24, '2028-06-11', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19744857-bd08-4701-91b4-6b7b65e33677', 'ac0f477f-9b35-4b66-baf6-fff80a5a30d9', 25, '2028-07-11', 400000.0, 150000.0, 550000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('d9d343f3-cb89-4fec-a96a-9639ef9cacd8', 'ORD-240-8073ac42', '554767c0-e79f-434a-9e62-5391a240888f', 88000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: HAIRUDDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('538b8baf-1138-478b-ab76-ab3f929b6db0', 'member244@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HAIRUDDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e1862d90-49a3-44db-9af7-2442f016f474', '538b8baf-1138-478b-ab76-ab3f929b6db0', '241', '241', 'HAIRUDDIN', 'NIK-241', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c4445080-b555-4232-b494-4dbeb4cd3e7b', 'SAV-1-241', 'e1862d90-49a3-44db-9af7-2442f016f474', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ead7d957-9e7e-406a-819f-3b64d70cfa1b', 'SAV-2-241', 'e1862d90-49a3-44db-9af7-2442f016f474', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('aeb32c1b-a285-46d9-9b8d-044874ee54ba', 'TRX-WAJIB-241', 'ead7d957-9e7e-406a-819f-3b64d70cfa1b', 'e1862d90-49a3-44db-9af7-2442f016f474', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ac25f05e-38ed-410e-be82-2a3420f610aa', 'SAV-3-241', 'e1862d90-49a3-44db-9af7-2442f016f474', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('4c663489-1e9e-4cb8-8f5e-fd0a20d135aa', 'TRX-SUKARELA-241', 'ac25f05e-38ed-410e-be82-2a3420f610aa', 'e1862d90-49a3-44db-9af7-2442f016f474', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: IWAN HARDIAWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('e109575f-3300-419f-8805-6fbf628c60bd', 'member245@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IWAN HARDIAWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5ae45aa3-e103-41b6-8085-95a4555e6eed', 'e109575f-3300-419f-8805-6fbf628c60bd', '242', '242', 'IWAN HARDIAWAN', 'NIK-242', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3eed161d-f689-4cc7-a5eb-6531a3a49764', 'SAV-1-242', '5ae45aa3-e103-41b6-8085-95a4555e6eed', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ad1c22e3-3c41-4a95-b2ec-70e6bbd52b06', 'SAV-2-242', '5ae45aa3-e103-41b6-8085-95a4555e6eed', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bbf3b6ca-7799-4614-ac11-8e6dcea0e5c7', 'TRX-WAJIB-242', 'ad1c22e3-3c41-4a95-b2ec-70e6bbd52b06', '5ae45aa3-e103-41b6-8085-95a4555e6eed', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('abf3eb48-e968-4c79-bfd9-f0778847375a', 'SAV-3-242', '5ae45aa3-e103-41b6-8085-95a4555e6eed', 3, 0.0, true);

-- Member: RISKI ASHARI SIHOTANG
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('938231d2-22b6-4f59-9a33-09af2cb645c8', 'member246@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RISKI ASHARI SIHOTANG', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', '938231d2-22b6-4f59-9a33-09af2cb645c8', '243', '243', 'RISKI ASHARI SIHOTANG', 'NIK-243', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a982f513-d2d3-4c21-bf0b-452f04e1c117', 'SAV-1-243', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('de101963-7806-45bb-a299-210f83f5be67', 'SAV-2-243', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('f2b39264-bb77-4aac-84e1-d73b7864d4fe', 'TRX-WAJIB-243', 'de101963-7806-45bb-a299-210f83f5be67', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d0ca7eef-4435-47fb-9135-29e617fcf3eb', 'SAV-3-243', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('75cba94f-28d9-4c24-8a6d-d6899dc9ef87', 'TRX-SUKARELA-243', 'd0ca7eef-4435-47fb-9135-29e617fcf3eb', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('d42db230-a663-4938-80f1-822a59540665', 'ORD-243-abbd0d35', 'f44e6196-6c98-4f80-9d8a-0b2895ed8fa6', 23500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: ODY IKHWAN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('2cd8ef41-70c3-4fe1-87cb-b7e3bec79d05', 'member247@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'ODY IKHWAN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('22c978b1-512f-4ff7-a52b-4a57f2796213', '2cd8ef41-70c3-4fe1-87cb-b7e3bec79d05', '244', '244', 'ODY IKHWAN', 'NIK-244', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d8841508-488b-49f2-a3ac-21204c74fce4', 'SAV-1-244', '22c978b1-512f-4ff7-a52b-4a57f2796213', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('009b4e3f-d380-4712-983c-5180e7454f91', 'SAV-2-244', '22c978b1-512f-4ff7-a52b-4a57f2796213', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6ece3fe8-97d0-478d-a0a9-c783feb1dabd', 'TRX-WAJIB-244', '009b4e3f-d380-4712-983c-5180e7454f91', '22c978b1-512f-4ff7-a52b-4a57f2796213', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ae174fca-9420-49f6-bfc8-e0c4f9fcdad8', 'SAV-3-244', '22c978b1-512f-4ff7-a52b-4a57f2796213', 3, 15000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('83873b68-bcf9-449c-a30a-37cf3ca12a46', 'TRX-SUKARELA-244', 'ae174fca-9420-49f6-bfc8-e0c4f9fcdad8', '22c978b1-512f-4ff7-a52b-4a57f2796213', 'deposit', 15000.0, 0, 15000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('a7ca269d-1352-4030-b517-1b9ef511eb60', 'LOAN-244-da5cd6bd', '22c978b1-512f-4ff7-a52b-4a57f2796213', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 51849972.0, 36, 'Migrasi Data', 'disbursed', 51849972.0, 51849972.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5806ec7e-0149-494c-99d9-43b485bfa67c', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 1, '2025-09-25', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b5e307e0-9292-4ee1-a7c1-17aaab5642a3', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 2, '2025-10-25', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5961fe64-4e8d-4029-88b4-2844efc811df', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 3, '2025-11-24', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5dece9d4-d85f-4e3d-9d0b-10b5cb4dd63c', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 4, '2025-12-24', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('54434db1-6598-40b2-b65d-19833d77ac67', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 5, '2026-01-23', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d451771-fe26-4c79-a13a-4020b9f86070', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 6, '2026-02-22', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4f49d91c-04e2-4769-91af-2f915a4d9510', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 7, '2026-03-24', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9240f00b-352f-4f86-aaf8-f445899c60d9', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 8, '2026-04-23', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('722ff860-4ba4-4c19-a28f-9a23687e2c08', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 9, '2026-05-23', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3da4e3c1-4f2d-4edb-8a11-8ae483bae7b7', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 10, '2026-06-22', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97e409a0-de13-4030-84e2-3d804d3d61e0', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 11, '2026-07-22', 1440277.0, 720900.0, 2161177.0, 1440277.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e29245e-1a25-4ebe-bcdc-dc6f1d3f7216', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 12, '2026-08-21', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ddec6498-07ca-41f2-886f-a84138f39817', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 13, '2026-09-20', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bcb4a2e6-1305-4588-b10e-33fc09ce2fe9', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 14, '2026-10-20', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('98352000-e838-43ff-907a-c48da1802083', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 15, '2026-11-19', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4aa05c57-31c4-4cee-9fa8-7a83f44bb891', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 16, '2026-12-19', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d4c83cb-0f5c-4852-93a8-42cc9d987e2f', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 17, '2027-01-18', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e49b4221-638e-4844-baa4-af686f969070', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 18, '2027-02-17', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('570eb557-310b-4f16-a19d-2340b193790f', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 19, '2027-03-19', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('819a4e29-6cd7-4924-a392-c427c4bbd1b0', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 20, '2027-04-18', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('180a1172-53a0-4c4b-8382-a89e5e949f7a', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 21, '2027-05-18', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fa9049c6-ff7a-44b5-87f4-9a7959894e63', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 22, '2027-06-17', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aeeb9ee0-0c44-4b35-932f-f9c741612ab1', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 23, '2027-07-17', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56a818ad-363a-487d-9072-dfa579620c5a', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 24, '2027-08-16', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d50156fd-fb92-4864-9e12-cef4fc14a146', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 25, '2027-09-15', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('755224bf-1690-4359-87a4-3ddaffc8b885', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 26, '2027-10-15', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f8800e63-0689-40fa-b3f9-73e831bf611f', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 27, '2027-11-14', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b3214393-026a-4179-a8c2-1395dd371c03', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 28, '2027-12-14', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59273a34-37ea-4ec6-8ac4-9492e6077ada', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 29, '2028-01-13', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ce5c0b86-5b56-4109-a235-6248a4de5d13', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 30, '2028-02-12', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d3a9482-fd9b-48d7-9b2f-edc3400f22b9', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 31, '2028-03-13', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4129160-bd28-448d-a014-c3ba54459d77', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 32, '2028-04-12', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4afe17ac-b4c3-41f9-8a0e-a430fe451bf5', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 33, '2028-05-12', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('80ca68aa-3135-4638-8775-ee5f30826050', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 34, '2028-06-11', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('456c3b33-e8f2-445d-9942-cdef8b3ff032', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 35, '2028-07-11', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('98e700e9-9c32-4c36-8f4b-048327117406', 'a7ca269d-1352-4030-b517-1b9ef511eb60', 36, '2028-08-10', 1440277.0, 720900.0, 2161177.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ec85ab35-1fa7-4e14-b0f8-950a9382410e', 'LOAN-244-4071b6fc', '22c978b1-512f-4ff7-a52b-4a57f2796213', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15500000.0, 20, 'Migrasi Data', 'disbursed', 15500000.0, 15500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7bf30cb3-d728-4ece-99cf-4aacc048a487', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 1, '2026-02-22', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5cf685a5-0965-4787-a639-e850b6af3933', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 2, '2026-03-24', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a16fd3f9-a66e-4d48-b007-03ccd259588f', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 3, '2026-04-23', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('578e6b56-d5ad-48fa-9e99-c57679c52f85', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 4, '2026-05-23', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6bd2293-8fc0-45cd-ab7a-52208afa762e', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 5, '2026-06-22', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e351f41-8fd2-4f49-a73c-90964442fc1e', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 6, '2026-07-22', 775000.0, 232500.0, 1007500.0, 775000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('033a5f01-e506-4b62-8942-5565d0740c61', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 7, '2026-08-21', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c18c1ac8-120b-4e4b-a14e-adcdc57e14bc', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 8, '2026-09-20', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b7290471-d86b-498e-b8ba-65535ec5c135', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 9, '2026-10-20', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a2aa3166-251e-4110-a7de-4339436a3358', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 10, '2026-11-19', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e4265b04-ca3c-4d0b-bdc9-1648668041a1', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 11, '2026-12-19', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35fe34b4-386c-4564-851e-085edbeefce4', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 12, '2027-01-18', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f38dad6-278e-4442-9cf2-d13c29c0458c', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 13, '2027-02-17', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b95890c-7eb1-4a08-8896-44fa8315445f', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 14, '2027-03-19', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89e9c6b6-078f-45df-9da1-40bd1b12e319', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 15, '2027-04-18', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6a72f911-8de6-45ad-9341-477a5f30a249', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 16, '2027-05-18', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e7ef955-a35f-4f58-9a3b-3c2efc5afcca', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 17, '2027-06-17', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5462398d-4ae2-4325-88fe-c8973e26fae9', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 18, '2027-07-17', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6c7c18dd-e8fb-42db-917d-6ffea1497817', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 19, '2027-08-16', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('faee88d9-d9bc-497f-9c25-9a780fe25775', 'ec85ab35-1fa7-4e14-b0f8-950a9382410e', 20, '2027-09-15', 775000.0, 232500.0, 1007500.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 'LOAN-244-80159f70', '22c978b1-512f-4ff7-a52b-4a57f2796213', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 20, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cef22b6-e4cf-4d0e-94f4-a9e2fc35aa3b', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 1, '2026-03-24', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8c4f28f5-6c4b-4320-a9a9-857294845232', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 2, '2026-04-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('299dd7f7-bead-4a5a-9fef-a478f285ab2f', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 3, '2026-05-23', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9db236bb-009e-411b-9af1-374669ac0a6b', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 4, '2026-06-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8b9695c-db1f-4c0e-810b-f403fddc31f5', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 5, '2026-07-22', 500000.0, 150000.0, 650000.0, 500000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8e45ac0-ced6-4d2d-93e7-7902feeea741', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 6, '2026-08-21', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55a1f4ba-e911-42f6-8d2c-630c8a653f10', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 7, '2026-09-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('16f85fd3-b0b4-49af-9acb-ea048fcad585', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 8, '2026-10-20', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19f0ee45-9270-419f-9d85-6aa5c303cf56', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 9, '2026-11-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('08ca63ee-9f2b-4c3d-90d9-4871cb606786', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 10, '2026-12-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('871c2ae9-c566-443a-bbe4-f71e2c7457a6', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 11, '2027-01-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d4e9a4aa-5159-432e-ba5c-077559ee6198', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 12, '2027-02-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ea074fe1-fb4f-4d0d-83a1-7a34c240201f', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 13, '2027-03-19', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b54092a3-21eb-453a-925c-7d74c6fa076a', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 14, '2027-04-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4218c733-e65f-4d43-9394-997cfa06dc6e', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 15, '2027-05-18', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b9231b06-c31f-4932-a319-7d175ae538f9', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 16, '2027-06-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('12aa8b75-0bee-4a1c-b1b6-88ca14b4f640', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 17, '2027-07-17', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73d2d648-c8fc-442d-b4af-10be66a4c253', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 18, '2027-08-16', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2c10411e-9670-42b6-9580-71ce05c496f9', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 19, '2027-09-15', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c0f1e993-b273-478e-bdb5-9d3b31d2acb8', '65234fb1-55b2-4114-8ba7-a3f2e8e3cd7d', 20, '2027-10-15', 500000.0, 150000.0, 650000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('e0b206ed-ed2c-4469-90e3-96be1b6d5201', 'ORD-244-34826037', '22c978b1-512f-4ff7-a52b-4a57f2796213', 315000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: DJOKO PRAMONO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('c83fe24d-4ad5-47f1-ad31-1cf86043d40b', 'member248@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'DJOKO PRAMONO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('588036c5-d763-418b-9af6-78e12259abe4', 'c83fe24d-4ad5-47f1-ad31-1cf86043d40b', '245', '245', 'DJOKO PRAMONO', 'NIK-245', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b79ccbeb-a6f7-4c4c-a320-0099efe84052', 'SAV-1-245', '588036c5-d763-418b-9af6-78e12259abe4', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9d87a20d-e514-49ec-9868-8c550e3d186a', 'SAV-2-245', '588036c5-d763-418b-9af6-78e12259abe4', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ad4fcdf8-78a4-46db-b03d-f8834868ce54', 'TRX-WAJIB-245', '9d87a20d-e514-49ec-9868-8c550e3d186a', '588036c5-d763-418b-9af6-78e12259abe4', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('922395f5-e312-442c-8734-44bf11119565', 'SAV-3-245', '588036c5-d763-418b-9af6-78e12259abe4', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('af0c0901-4e42-452e-9987-561e21dad396', 'LOAN-245-bc0cfeeb', '588036c5-d763-418b-9af6-78e12259abe4', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 120925000.0, 40, 'Migrasi Data', 'disbursed', 120925000.0, 120925000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df42d79a-374c-4230-8aa0-7364da2e75fd', 'af0c0901-4e42-452e-9987-561e21dad396', 1, '2026-02-22', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('41be41c2-a5ae-437d-8629-0ab3a54d75b4', 'af0c0901-4e42-452e-9987-561e21dad396', 2, '2026-03-24', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a41d66a2-17ab-4742-80f7-25330b67b4b1', 'af0c0901-4e42-452e-9987-561e21dad396', 3, '2026-04-23', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('85def188-0009-49df-96c1-8cd98a055080', 'af0c0901-4e42-452e-9987-561e21dad396', 4, '2026-05-23', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('069a5e8c-8303-4468-b36a-c63b6d1ae8f2', 'af0c0901-4e42-452e-9987-561e21dad396', 5, '2026-06-22', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5e5b21ae-9cb8-429b-bf2c-6cf686dcc9aa', 'af0c0901-4e42-452e-9987-561e21dad396', 6, '2026-07-22', 3023125.0, 1692950.0, 4716075.0, 3023125.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0953aab-53dc-41cc-a530-a1cd2cf004d1', 'af0c0901-4e42-452e-9987-561e21dad396', 7, '2026-08-21', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ac877c99-f24e-4acb-af7d-9d8c72a6c9d1', 'af0c0901-4e42-452e-9987-561e21dad396', 8, '2026-09-20', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a9eef98-f1f6-4fee-9398-768f9dd11afa', 'af0c0901-4e42-452e-9987-561e21dad396', 9, '2026-10-20', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('86d2f850-1243-4a59-b8b8-85297d507e39', 'af0c0901-4e42-452e-9987-561e21dad396', 10, '2026-11-19', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9fe35852-8250-4a29-9713-8bd6a2c880de', 'af0c0901-4e42-452e-9987-561e21dad396', 11, '2026-12-19', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('448ff1a2-ca26-4ac4-bc35-13d17d82edeb', 'af0c0901-4e42-452e-9987-561e21dad396', 12, '2027-01-18', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f229dd43-3681-4794-b5c1-96609068b8da', 'af0c0901-4e42-452e-9987-561e21dad396', 13, '2027-02-17', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b0ae0b8-f44e-4f86-bb17-151255b319a3', 'af0c0901-4e42-452e-9987-561e21dad396', 14, '2027-03-19', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b98eaf4d-f730-43e4-bd3d-74358d8c2069', 'af0c0901-4e42-452e-9987-561e21dad396', 15, '2027-04-18', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('48315ae0-9047-4cdf-be7f-66d01b73b7a1', 'af0c0901-4e42-452e-9987-561e21dad396', 16, '2027-05-18', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1725c235-5191-4d73-a372-0ac12d22ce6c', 'af0c0901-4e42-452e-9987-561e21dad396', 17, '2027-06-17', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2ef8c018-c270-4d8f-a011-5ef056910bae', 'af0c0901-4e42-452e-9987-561e21dad396', 18, '2027-07-17', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1b9fc56d-bd65-4779-b32a-9ed4ff0f8ac5', 'af0c0901-4e42-452e-9987-561e21dad396', 19, '2027-08-16', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de8b58db-c9ca-44c6-9af7-1db1988ddfc3', 'af0c0901-4e42-452e-9987-561e21dad396', 20, '2027-09-15', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('40eac195-97a8-49b7-9707-f54eb52fe483', 'af0c0901-4e42-452e-9987-561e21dad396', 21, '2027-10-15', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84bd1a43-b123-4b36-bbc7-1e01d24ac444', 'af0c0901-4e42-452e-9987-561e21dad396', 22, '2027-11-14', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('42f3f343-1240-4ff4-948a-d9bf56b9a4bd', 'af0c0901-4e42-452e-9987-561e21dad396', 23, '2027-12-14', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('db9cd4f9-c867-4d51-bace-0651de50bae8', 'af0c0901-4e42-452e-9987-561e21dad396', 24, '2028-01-13', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('814e6f25-338f-422c-9bcc-5040bf419351', 'af0c0901-4e42-452e-9987-561e21dad396', 25, '2028-02-12', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('563e51a7-c226-4ffd-8470-3ca029223f1f', 'af0c0901-4e42-452e-9987-561e21dad396', 26, '2028-03-13', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8b517902-5f22-4ae6-bd6c-4177fe6d643e', 'af0c0901-4e42-452e-9987-561e21dad396', 27, '2028-04-12', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6a1b54af-1552-48b2-abaf-ea3292517e12', 'af0c0901-4e42-452e-9987-561e21dad396', 28, '2028-05-12', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae776b68-84e0-4025-89db-acfbc8316bdc', 'af0c0901-4e42-452e-9987-561e21dad396', 29, '2028-06-11', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5afa415a-e2a0-4baf-a229-eb37e4d52d8b', 'af0c0901-4e42-452e-9987-561e21dad396', 30, '2028-07-11', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('526ec4a8-5ae8-4e3c-8f86-3d0dd3f0df3e', 'af0c0901-4e42-452e-9987-561e21dad396', 31, '2028-08-10', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('53b85d46-1557-4ef4-949e-7ab4bec57ae2', 'af0c0901-4e42-452e-9987-561e21dad396', 32, '2028-09-09', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9675f75e-9798-4ba6-9b34-ff292e66f22e', 'af0c0901-4e42-452e-9987-561e21dad396', 33, '2028-10-09', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7eb2f449-0c4a-4ce2-ae31-adfdfc19fca8', 'af0c0901-4e42-452e-9987-561e21dad396', 34, '2028-11-08', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6958ee92-541f-40b2-8c81-f7f2fae27b10', 'af0c0901-4e42-452e-9987-561e21dad396', 35, '2028-12-08', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77449666-36e9-464a-9d10-5be85f68f017', 'af0c0901-4e42-452e-9987-561e21dad396', 36, '2029-01-07', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('00c43583-ff84-4889-b1cd-b119fba6a68b', 'af0c0901-4e42-452e-9987-561e21dad396', 37, '2029-02-06', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6a4f905a-1bb4-4cf9-ad01-46155fe29970', 'af0c0901-4e42-452e-9987-561e21dad396', 38, '2029-03-08', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3442992d-27a4-4393-a5ba-8ce982a488c2', 'af0c0901-4e42-452e-9987-561e21dad396', 39, '2029-04-07', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d145408d-ec8d-4e69-9551-32558a0b2f19', 'af0c0901-4e42-452e-9987-561e21dad396', 40, '2029-05-07', 3023125.0, 1692950.0, 4716075.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 'LOAN-245-f5252c2b', '588036c5-d763-418b-9af6-78e12259abe4', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 21000000.0, 20, 'Migrasi Data', 'disbursed', 21000000.0, 21000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d77e0496-663f-4289-823a-1b84963e27d9', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 1, '2026-06-22', 1050000.0, 315000.0, 1365000.0, 1050000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8fad913a-0103-41ed-b0b3-23ed4467e528', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 2, '2026-07-22', 1050000.0, 315000.0, 1365000.0, 1050000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5d091649-a37a-41ab-aaa1-a5d10b3e62d2', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 3, '2026-08-21', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b83d3a97-6006-4590-8e3e-5c66eec6210c', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 4, '2026-09-20', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32d0625d-2ade-4aba-9812-3cfd3f172574', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 5, '2026-10-20', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51c89704-ca94-4f0c-ab41-4c9089418ec6', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 6, '2026-11-19', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f24a75e-aff7-4984-8741-c265f1cbe78d', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 7, '2026-12-19', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ab1a1c8-5b91-45b2-9480-ca34cf1b087c', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 8, '2027-01-18', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('268a51b2-759b-4468-9fc0-58b87417d4e9', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 9, '2027-02-17', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('51b949b8-0fe3-4d65-b081-2c9c9eee6404', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 10, '2027-03-19', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('29189054-3a92-49fd-ae5b-2786d16b48ea', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 11, '2027-04-18', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e1fffc6c-de19-4059-bdb5-32a56d50daf8', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 12, '2027-05-18', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89f8751e-1737-4fb5-a739-dd6595456382', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 13, '2027-06-17', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bfa9fc54-99db-418f-b1b4-067d154ac7ac', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 14, '2027-07-17', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4fe212b8-8e09-4907-99b2-d2e8fd8445df', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 15, '2027-08-16', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1163ec9a-e82f-40c8-814d-6918a2e4f85d', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 16, '2027-09-15', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a15c9d5a-5c86-44af-8dae-41bd8f49f40d', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 17, '2027-10-15', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e26c70cf-8cad-47c0-9225-23d49fa5c5c0', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 18, '2027-11-14', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ae59fc3-8e3f-4cd9-8345-08f8b10f67d2', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 19, '2027-12-14', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('66589ccf-7074-4135-a33c-c416a644360c', 'a8997ad9-3a1e-4522-8c2b-d49b9c108d53', 20, '2028-01-13', 1050000.0, 315000.0, 1365000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('81ed878a-035b-456b-9c24-0485b6d8bffd', 'LOAN-245-99b0aedb', '588036c5-d763-418b-9af6-78e12259abe4', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 10000000.0, 16, 'Migrasi Data', 'disbursed', 10000000.0, 10000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7473036f-5b98-4705-88b8-93424b45bd2d', '81ed878a-035b-456b-9c24-0485b6d8bffd', 1, '2026-04-23', 625000.0, 150000.0, 775000.0, 625000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed44ac79-7424-4972-a65e-2751ff8b9139', '81ed878a-035b-456b-9c24-0485b6d8bffd', 2, '2026-05-23', 625000.0, 150000.0, 775000.0, 625000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('438d93ac-c01a-4048-bf40-496e4d172bc5', '81ed878a-035b-456b-9c24-0485b6d8bffd', 3, '2026-06-22', 625000.0, 150000.0, 775000.0, 625000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ef8c2bb5-3bea-4343-aefa-625b61193b17', '81ed878a-035b-456b-9c24-0485b6d8bffd', 4, '2026-07-22', 625000.0, 150000.0, 775000.0, 625000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('07a30139-3337-495e-84ba-70e61edb8485', '81ed878a-035b-456b-9c24-0485b6d8bffd', 5, '2026-08-21', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8bc63d4a-758e-4b18-8faf-a1904bbd93ab', '81ed878a-035b-456b-9c24-0485b6d8bffd', 6, '2026-09-20', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e288fc1e-d605-47c1-9e74-e9244f81fbea', '81ed878a-035b-456b-9c24-0485b6d8bffd', 7, '2026-10-20', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7f61c778-5749-41c5-8466-413991652cd4', '81ed878a-035b-456b-9c24-0485b6d8bffd', 8, '2026-11-19', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a46c4951-f09b-4d0b-b739-8e4bdbc6d938', '81ed878a-035b-456b-9c24-0485b6d8bffd', 9, '2026-12-19', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('10bd21d3-f5e7-4c09-83f1-f64c99de88f0', '81ed878a-035b-456b-9c24-0485b6d8bffd', 10, '2027-01-18', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f436e2d2-793d-470f-990b-06c608e853ba', '81ed878a-035b-456b-9c24-0485b6d8bffd', 11, '2027-02-17', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d410cfb1-0f32-471d-91f3-a0fb2d794c71', '81ed878a-035b-456b-9c24-0485b6d8bffd', 12, '2027-03-19', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bb3c2af7-3668-4e19-812a-38e9f48a40d4', '81ed878a-035b-456b-9c24-0485b6d8bffd', 13, '2027-04-18', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32ca8331-8298-45af-96cf-259a6cb8cb35', '81ed878a-035b-456b-9c24-0485b6d8bffd', 14, '2027-05-18', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ffab3ab8-805b-4c68-aced-16efb6c90826', '81ed878a-035b-456b-9c24-0485b6d8bffd', 15, '2027-06-17', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('40ff1e1d-8c1e-4419-abe8-ee95b20b8b81', '81ed878a-035b-456b-9c24-0485b6d8bffd', 16, '2027-07-17', 625000.0, 150000.0, 775000.0, 0, NULL, 'unpaid');

-- Member: SUGIYARTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('0a5a972c-5981-4fe6-98b2-75c9a64422ee', 'member249@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUGIYARTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5650f609-f48e-435b-94f7-f6ec0cddc3ab', '0a5a972c-5981-4fe6-98b2-75c9a64422ee', '246', '246', 'SUGIYARTO', 'NIK-246', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8c4687e5-5120-481b-a232-df94815e5946', 'SAV-1-246', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('42d57d52-a1c8-4f27-9076-04500cb4cb5f', 'SAV-2-246', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('32e27676-b06b-41f2-932c-15d34f1d8145', 'TRX-WAJIB-246', '42d57d52-a1c8-4f27-9076-04500cb4cb5f', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3e0e0dd1-c19a-433b-920a-0b2f3a17d8e1', 'SAV-3-246', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('54dc0d42-7343-4cda-8464-e4c040d710cd', 'LOAN-246-3c364bef', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 54000000.0, 18, 'Migrasi Data', 'disbursed', 54000000.0, 54000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e8862c46-81cd-425f-b871-2e2a2ff68c6f', '54dc0d42-7343-4cda-8464-e4c040d710cd', 1, '2025-07-27', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89412be9-e7ef-4672-a920-3e42c9483bf6', '54dc0d42-7343-4cda-8464-e4c040d710cd', 2, '2025-08-26', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a5143843-3c2f-4a5d-8096-25b5810d1e79', '54dc0d42-7343-4cda-8464-e4c040d710cd', 3, '2025-09-25', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9262061d-521b-47e1-8045-814a5a52c76d', '54dc0d42-7343-4cda-8464-e4c040d710cd', 4, '2025-10-25', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5041a5d9-d329-4204-9a60-03b555681f57', '54dc0d42-7343-4cda-8464-e4c040d710cd', 5, '2025-11-24', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b31ac7de-7210-4966-a7a6-ed3329c8aefc', '54dc0d42-7343-4cda-8464-e4c040d710cd', 6, '2025-12-24', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b406c6eb-908b-40cc-96ba-102be7a4e346', '54dc0d42-7343-4cda-8464-e4c040d710cd', 7, '2026-01-23', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68e1b15d-96ec-4beb-9c5d-135066d1fff9', '54dc0d42-7343-4cda-8464-e4c040d710cd', 8, '2026-02-22', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31f4967c-f760-47dc-b0a2-41c131baa971', '54dc0d42-7343-4cda-8464-e4c040d710cd', 9, '2026-03-24', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8bed389a-4ff3-493e-8706-3fb8e7abf94e', '54dc0d42-7343-4cda-8464-e4c040d710cd', 10, '2026-04-23', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ed468e3-d6cc-4e57-bd1d-3f8f79cda93e', '54dc0d42-7343-4cda-8464-e4c040d710cd', 11, '2026-05-23', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5c450fd8-ec4e-477a-a7f4-0e429f2131aa', '54dc0d42-7343-4cda-8464-e4c040d710cd', 12, '2026-06-22', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('39982752-0b50-4fa8-a0c5-ddf423bb5ffd', '54dc0d42-7343-4cda-8464-e4c040d710cd', 13, '2026-07-22', 3000000.0, 0, 3000000.0, 3000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e082c621-149f-4c4d-9a9a-f43c05027e4e', '54dc0d42-7343-4cda-8464-e4c040d710cd', 14, '2026-08-21', 3000000.0, 0, 3000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('18872048-2bde-4079-b1c7-0eeceb776572', '54dc0d42-7343-4cda-8464-e4c040d710cd', 15, '2026-09-20', 3000000.0, 0, 3000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c489faae-1d73-4880-b82d-90028ac324e7', '54dc0d42-7343-4cda-8464-e4c040d710cd', 16, '2026-10-20', 3000000.0, 0, 3000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c74cedda-1f31-4a44-b164-19624274bc39', '54dc0d42-7343-4cda-8464-e4c040d710cd', 17, '2026-11-19', 3000000.0, 0, 3000000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('124f9761-379c-48f0-aa17-a0088e8285f9', '54dc0d42-7343-4cda-8464-e4c040d710cd', 18, '2026-12-19', 3000000.0, 0, 3000000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('167a8897-37d2-4063-a633-c3eb660a2ec8', 'ORD-246-ffe8519b', '5650f609-f48e-435b-94f7-f6ec0cddc3ab', 67500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SUMARDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a3104460-7ef9-466b-9eb0-b95ce55f7dde', 'member250@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUMARDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 'a3104460-7ef9-466b-9eb0-b95ce55f7dde', '247', '247', 'SUMARDI', 'NIK-247', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4498c5d7-77ff-4b17-853b-e9d5d0b02dd6', 'SAV-1-247', '2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8c0cc44d-4b4a-4b9a-bcd6-6c230df40393', 'SAV-2-247', '2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6b9d45db-217b-4cd2-8a1e-1c2e3f1ce563', 'TRX-WAJIB-247', '8c0cc44d-4b4a-4b9a-bcd6-6c230df40393', '2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b3f70125-b71a-41c2-a619-eeabbd796047', 'SAV-3-247', '2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 3, 500000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('bfbaba99-328c-4699-9866-8830d226bcd1', 'TRX-SUKARELA-247', 'b3f70125-b71a-41c2-a619-eeabbd796047', '2fe39d56-80ee-4309-8fe3-28a1ba6ad677', 'deposit', 500000.0, 0, 500000.0, 'Saldo Awal Migrasi');

-- Member: TONY SUPARTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('347651bb-fd20-4b06-a433-c79927208a69', 'member251@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'TONY SUPARTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('ef6fa9d3-acc0-4519-87d4-5c37e02d3197', '347651bb-fd20-4b06-a433-c79927208a69', '248', '248', 'TONY SUPARTO', 'NIK-248', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('273e5439-5f30-4201-a78e-066fbc975189', 'SAV-1-248', 'ef6fa9d3-acc0-4519-87d4-5c37e02d3197', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a58efc4a-233e-4f6b-b270-acae764a3818', 'SAV-2-248', 'ef6fa9d3-acc0-4519-87d4-5c37e02d3197', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('9ad23e56-1b56-4444-b11e-c2af340bf5df', 'TRX-WAJIB-248', 'a58efc4a-233e-4f6b-b270-acae764a3818', 'ef6fa9d3-acc0-4519-87d4-5c37e02d3197', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7b938b5f-29b1-406d-8659-c644ff42cfab', 'SAV-3-248', 'ef6fa9d3-acc0-4519-87d4-5c37e02d3197', 3, 300000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('5766211e-8233-451d-a209-5801bddcb165', 'TRX-SUKARELA-248', '7b938b5f-29b1-406d-8659-c644ff42cfab', 'ef6fa9d3-acc0-4519-87d4-5c37e02d3197', 'deposit', 300000.0, 0, 300000.0, 'Saldo Awal Migrasi');

-- Member: SUHANDI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b4f38f3b-03bf-43b9-8c4d-d5095938bf85', 'member252@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SUHANDI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a0ddf8d8-186e-47fc-b817-d8122718d354', 'b4f38f3b-03bf-43b9-8c4d-d5095938bf85', '249', '249', 'SUHANDI', 'NIK-249', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('afa5bd08-829b-4bcd-9218-c27a0c823cf0', 'SAV-1-249', 'a0ddf8d8-186e-47fc-b817-d8122718d354', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('726b1ee5-1c27-48ea-b28d-fba60542b63d', 'SAV-2-249', 'a0ddf8d8-186e-47fc-b817-d8122718d354', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d2930885-5da4-404e-b697-7f1227d1a58b', 'TRX-WAJIB-249', '726b1ee5-1c27-48ea-b28d-fba60542b63d', 'a0ddf8d8-186e-47fc-b817-d8122718d354', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7dd1099d-0b4d-47b2-9140-677c34a73ae3', 'SAV-3-249', 'a0ddf8d8-186e-47fc-b817-d8122718d354', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('c4d81de2-6e0a-4b65-a1b4-e850ab2901cd', 'TRX-SUKARELA-249', '7dd1099d-0b4d-47b2-9140-677c34a73ae3', 'a0ddf8d8-186e-47fc-b817-d8122718d354', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: CUCUM NURHAYATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('3be47d56-09ab-458e-8d3c-e3c4b6cec63f', 'member253@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'CUCUM NURHAYATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', '3be47d56-09ab-458e-8d3c-e3c4b6cec63f', '250', '250', 'CUCUM NURHAYATI', 'NIK-250', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('33d0d943-ca05-4a89-add5-caffac2cb4d5', 'SAV-1-250', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c7ed2eba-0b86-410a-a14a-9dc47f143edd', 'SAV-2-250', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e4e395d0-8b8a-46d8-a5f8-e412ae4965eb', 'TRX-WAJIB-250', 'c7ed2eba-0b86-410a-a14a-9dc47f143edd', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2f140b39-621b-4753-b733-faf28fb8d181', 'SAV-3-250', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('7c356aac-7241-4a71-b24f-bb4643d305ee', 'TRX-SUKARELA-250', '2f140b39-621b-4753-b733-faf28fb8d181', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('d6734712-91b5-4851-8f91-bc7a0b19debf', 'LOAN-250-20cc8559', '9fb2f12a-08c9-44f6-b707-81cb3f1fab4d', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 600000.0, 10, 'Migrasi Data', 'disbursed', 600000.0, 600000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55f4f8b4-ed21-49ee-ad16-934119fc67d5', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 1, '2025-12-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9e492fab-89d9-46d3-a29b-b625053be9f0', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 2, '2026-01-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ded639a8-fcf4-4963-b1e6-5982fa35879a', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 3, '2026-02-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26789357-687a-46be-8e40-751c7a3f69b2', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 4, '2026-03-24', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d230e71-306c-4340-80f2-f41b69ded840', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 5, '2026-04-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22d54775-3f5b-4ca8-b121-e8eb4b8cbbb1', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 6, '2026-05-23', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('33f80550-e1af-45e5-b679-eed55ab47c26', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 7, '2026-06-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a73a005-7125-4002-8b3c-73c5bc809a2a', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 8, '2026-07-22', 60000.0, 0, 60000.0, 60000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc7d0612-26e2-4add-bc9b-4f0e88b7246e', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 9, '2026-08-21', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c8524dd-1e6d-4fc3-8df5-e0b24ad5bb4c', 'd6734712-91b5-4851-8f91-bc7a0b19debf', 10, '2026-09-20', 60000.0, 0, 60000.0, 0, NULL, 'unpaid');

-- Member: NURHIDAYAT
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('6581cc0a-536b-4cb2-9917-eca485a19d61', 'member254@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'NURHIDAYAT', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('d5b9d135-d074-4f77-aed2-fdb1ed39282b', '6581cc0a-536b-4cb2-9917-eca485a19d61', '251', '251', 'NURHIDAYAT', 'NIK-251', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c19399ef-ee63-4f13-80e2-92806c14ec6f', 'SAV-1-251', 'd5b9d135-d074-4f77-aed2-fdb1ed39282b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('41916056-3fb7-4f61-a098-e927426f5847', 'SAV-2-251', 'd5b9d135-d074-4f77-aed2-fdb1ed39282b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('a0ff002d-1c43-4fb5-a7fa-40a7499f9a15', 'TRX-WAJIB-251', '41916056-3fb7-4f61-a098-e927426f5847', 'd5b9d135-d074-4f77-aed2-fdb1ed39282b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('e91b7917-bd5a-48b0-8aa7-69cf1be516dc', 'SAV-3-251', 'd5b9d135-d074-4f77-aed2-fdb1ed39282b', 3, 170000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8e62d82d-a76c-47da-8453-dbef0602e252', 'TRX-SUKARELA-251', 'e91b7917-bd5a-48b0-8aa7-69cf1be516dc', 'd5b9d135-d074-4f77-aed2-fdb1ed39282b', 'deposit', 170000.0, 0, 170000.0, 'Saldo Awal Migrasi');

-- Member: EVI WAHYU KURNIAWATI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('cf15fb9a-2a74-4ed1-a14d-b7b42e0c5a9a', 'member255@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'EVI WAHYU KURNIAWATI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', 'cf15fb9a-2a74-4ed1-a14d-b7b42e0c5a9a', '252', '252', 'EVI WAHYU KURNIAWATI', 'NIK-252', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('7a68ffb5-7ff8-4919-9f88-0bca8f9120e6', 'SAV-1-252', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('aaf9caae-1d15-4be1-9761-c47d6fe0d2d3', 'SAV-2-252', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('740bd998-4c69-4183-91ff-ed5bc61ce3e8', 'TRX-WAJIB-252', 'aaf9caae-1d15-4be1-9761-c47d6fe0d2d3', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c01c12a1-d701-41c1-b93a-94c7135fbc40', 'SAV-3-252', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('ae97689d-35d4-4b86-9307-8bc477a940c0', 'LOAN-252-43a339b1', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 11900000.0, 20, 'Migrasi Data', 'disbursed', 11900000.0, 11900000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('68a1a250-58bc-4a19-b23d-42dc8bf81679', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 1, '2026-01-23', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('924a0e64-eecb-4be1-8b32-23982d66a484', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 2, '2026-02-22', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('598a56e1-624b-4188-80f9-b271ea22caf5', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 3, '2026-03-24', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95da4a61-c328-41ee-a693-8f3132c67bf5', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 4, '2026-04-23', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e5011ad-4f02-4c57-9ab5-fcb68e0b94e6', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 5, '2026-05-23', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b4315949-77fc-409d-845b-9b2157f45c80', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 6, '2026-06-22', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3a6f0cb6-4112-4b16-b689-f7770c973392', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 7, '2026-07-22', 595000.0, 178500.0, 773500.0, 595000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e9856dc-c6f4-4fec-a703-40fa353d118e', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 8, '2026-08-21', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b47d9e41-72e8-4555-9951-8bf7297e7993', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 9, '2026-09-20', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9ba2a455-46d5-4edc-bf6c-993746db7fbf', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 10, '2026-10-20', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a7970d6b-2843-45d1-98d9-0f4b198c5f34', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 11, '2026-11-19', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d253d4e-d7b3-44b0-b97e-a1b49b621095', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 12, '2026-12-19', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4af6eec6-6812-4f70-8a01-f86355e28094', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 13, '2027-01-18', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55a18e8c-5008-4b99-b9ba-51f85c3a53fb', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 14, '2027-02-17', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8ed5410-354e-40dc-9a5c-bfc5c5f20d2f', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 15, '2027-03-19', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a14472bf-6036-4177-8b2d-f18fdd4ba917', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 16, '2027-04-18', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3d1d807-127c-4393-b5aa-6b1973857793', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 17, '2027-05-18', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d00d757-a0c1-40b5-bbf2-202f1ef4723c', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 18, '2027-06-17', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2847fc54-875c-41a9-9a3c-06ade419032b', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 19, '2027-07-17', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4004cfc5-4fc4-423a-bec4-174ff4471104', 'ae97689d-35d4-4b86-9307-8bc477a940c0', 20, '2027-08-16', 595000.0, 178500.0, 773500.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('dfc0651c-b06b-44bb-91cc-94a098e00394', 'LOAN-252-886a80c1', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 6000000.0, 10, 'Migrasi Data', 'disbursed', 6000000.0, 6000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e0b329a5-4f6d-4c3e-81dd-7308730c5a28', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 1, '2026-04-23', 600000.0, 90000.0, 690000.0, 600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2de70835-502e-4888-972b-196de23f6ce1', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 2, '2026-05-23', 600000.0, 90000.0, 690000.0, 600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e9409ff1-3e3d-414c-b358-cebc5a9c2353', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 3, '2026-06-22', 600000.0, 90000.0, 690000.0, 600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('555857d3-b49a-48f7-8cf2-8b8720fc8317', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 4, '2026-07-22', 600000.0, 90000.0, 690000.0, 600000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d193a76c-43f3-4323-b902-799dc2af89bd', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 5, '2026-08-21', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e04e740a-a953-43f8-9620-54c3ef8cbe75', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 6, '2026-09-20', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c6a5217-e321-49dd-ac68-9ee8fe861866', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 7, '2026-10-20', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2cbc83f-2c78-40e7-91cf-203506a9aa84', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 8, '2026-11-19', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('db0c1255-df69-466f-a6df-4d151575efe4', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 9, '2026-12-19', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a2f564f-dfd9-4564-9272-e1499dbe1e54', 'dfc0651c-b06b-44bb-91cc-94a098e00394', 10, '2027-01-18', 600000.0, 90000.0, 690000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 'LOAN-252-512ae3e8', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15000000.0, 40, 'Migrasi Data', 'disbursed', 15000000.0, 15000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('56490fa6-0495-4baf-bbc6-22bbfabc0003', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 1, '2026-08-21', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa160511-f051-4c28-a152-c5c9c47eb0ca', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 2, '2026-09-20', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('19745bb2-3211-4c0a-92aa-cfce31b40b4c', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 3, '2026-10-20', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0a3655ed-f963-457b-be5d-8a9922e53e0d', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 4, '2026-11-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2d84801d-f2e8-4d71-875b-76a9c71ae206', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 5, '2026-12-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49f298ce-0763-4e45-8a33-8eb05ddcfefd', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 6, '2027-01-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('deff5e57-280f-454c-ad99-4d4ea776a21a', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 7, '2027-02-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7857435b-9ceb-46f0-ba93-3e6dee64d352', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 8, '2027-03-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('776bf8c1-4c27-4574-b25c-1b019a98dc8f', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 9, '2027-04-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('44c4fa9e-53c1-4776-8608-74612de1d596', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 10, '2027-05-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('81d3d8d1-1bee-4d19-9738-9ce23f473bdd', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 11, '2027-06-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d8d5aa86-0e71-41b9-8a73-1f828a14acc4', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 12, '2027-07-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('97b230ac-d36a-4114-95bc-693a589b2d9e', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 13, '2027-08-16', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a292efd-36ff-4dc3-84df-1d286da8dc93', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 14, '2027-09-15', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b6d91287-9d47-419f-b325-11d4e3f08188', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 15, '2027-10-15', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2e52d33b-adf1-4edb-bbae-1cd25025c415', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 16, '2027-11-14', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('209f23c3-06d1-49ff-a4c5-6464f213e3ca', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 17, '2027-12-14', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f05a1349-45fb-4595-a364-3f9f88b5ed34', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 18, '2028-01-13', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d44c3921-a56d-4ca6-9d55-f5c9a9c25896', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 19, '2028-02-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8e88c2fb-80bc-4a32-a903-68f17bd78c81', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 20, '2028-03-13', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('16899ba1-0ea5-494d-ac12-eee039b65d90', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 21, '2028-04-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d28fd61-835b-40de-8849-0c6e8dc6e76a', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 22, '2028-05-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6e8d0fde-0a08-495c-8d40-8ebee41891d9', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 23, '2028-06-11', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09dd586b-c671-4403-b26f-a9508e442b5c', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 24, '2028-07-11', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc47810a-5606-40a4-ab53-42bd0783dd15', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 25, '2028-08-10', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63592105-25c1-45f1-94d2-250207ffa96e', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 26, '2028-09-09', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e335ab07-926f-414b-bb68-2bc85a76b248', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 27, '2028-10-09', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('314f25f0-ec4f-4c49-b8bc-93b5375b1d34', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 28, '2028-11-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1f7a841e-d7dd-4e88-a1fb-b0be0cba3782', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 29, '2028-12-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9db37005-6d58-45d6-b069-097921e57ad9', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 30, '2029-01-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c5e6343a-792f-4f25-ba06-68e3cfff39ad', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 31, '2029-02-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e584e898-5ce8-4101-9cab-aa163733b96d', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 32, '2029-03-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e61e098-3a50-46d0-89fe-4c1cb2f35587', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 33, '2029-04-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d018c41-dc16-4c85-856e-172a2fd82af5', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 34, '2029-05-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f0c3c6b-1a43-482f-afc2-56d483bf165a', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 35, '2029-06-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d1b1bec4-4ad8-4540-8135-beed8ad1db2b', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 36, '2029-07-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('592ecf34-bd4d-45f8-ab33-bbfab4da02b0', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 37, '2029-08-05', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('42305ec5-a2b7-401b-8d46-03c4228527f5', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 38, '2029-09-04', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('87873ffb-3000-419f-aab1-5ad58ccf70c6', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 39, '2029-10-04', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('63aefe1d-d8f7-4226-8a84-ccddb833d73b', '7bf6c4b8-0a02-4bfb-a4cf-eaf9101479d8', 40, '2029-11-03', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('194f4025-696d-4e15-a1d2-4e1b9727bce8', 'LOAN-252-b1bfe17c', 'bfb9aafa-e0dc-453e-a0a4-97dd9e23eb9b', (SELECT id FROM loan_products WHERE code = 'BNK-01'), 650000.0, 10, 'Migrasi Data', 'disbursed', 650000.0, 650000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9053fc86-80f1-487e-8f50-f5e82b54a9b3', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 1, '2025-12-24', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d9a8d38-393a-4576-9d2f-caea0e657c6f', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 2, '2026-01-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc997da4-d248-4c0c-ae49-a2a8fc5f8a3b', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 3, '2026-02-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('20fda4b0-716b-42ce-a9e9-9cae8711dbd3', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 4, '2026-03-24', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('292d2912-ff5a-41e5-b80c-d1ec856978df', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 5, '2026-04-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6bde1015-b862-4202-aba3-f8fb785e038c', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 6, '2026-05-23', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eef205a0-54b9-466d-99b0-51df806b6b0a', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 7, '2026-06-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3e7c0829-c7b4-4003-b0bf-3f18231dd2ad', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 8, '2026-07-22', 65000.0, 0, 65000.0, 65000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('90c7eee1-7f4d-4cd6-9149-a2b29bed4827', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 9, '2026-08-21', 65000.0, 0, 65000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0e0e7dd2-e24e-43d7-b5da-b0e7eb383916', '194f4025-696d-4e15-a1d2-4e1b9727bce8', 10, '2026-09-20', 65000.0, 0, 65000.0, 0, NULL, 'unpaid');

-- Member: MOCHTAR SAPUTRA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('1af4aef7-2e9e-43f7-921d-a5c9355c1e5a', 'member256@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'MOCHTAR SAPUTRA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('4934243b-398c-471a-8f50-aa7aed019ce1', '1af4aef7-2e9e-43f7-921d-a5c9355c1e5a', '253', '253', 'MOCHTAR SAPUTRA', 'NIK-253', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('bcfe2639-88b6-4eda-8cf5-559ab93bd658', 'SAV-1-253', '4934243b-398c-471a-8f50-aa7aed019ce1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ddcae973-d719-48b6-b8a8-858790e2dc10', 'SAV-2-253', '4934243b-398c-471a-8f50-aa7aed019ce1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('765238cf-0a2b-493b-a0dd-5a4a26216b00', 'TRX-WAJIB-253', 'ddcae973-d719-48b6-b8a8-858790e2dc10', '4934243b-398c-471a-8f50-aa7aed019ce1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('6aed55ab-7677-4e8d-892f-d2c4279751ae', 'SAV-3-253', '4934243b-398c-471a-8f50-aa7aed019ce1', 3, 100000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('b8a79829-0237-45af-8440-ee38e1e0b23c', 'TRX-SUKARELA-253', '6aed55ab-7677-4e8d-892f-d2c4279751ae', '4934243b-398c-471a-8f50-aa7aed019ce1', 'deposit', 100000.0, 0, 100000.0, 'Saldo Awal Migrasi');

-- Member: RIA SUPRIATININGSIH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f83c885e-0afd-463f-837d-c1b179e01642', 'member257@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'RIA SUPRIATININGSIH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('a104af38-863c-479b-91a3-37d2aa1d0ed1', 'f83c885e-0afd-463f-837d-c1b179e01642', '254', '254', 'RIA SUPRIATININGSIH', 'NIK-254', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('41d860d9-38fe-4694-9885-96e4c077a5c8', 'SAV-1-254', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('009637c2-51bb-466c-8aba-cf2b02bd7434', 'SAV-2-254', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0015343f-9f79-4554-92b0-0a87186f468f', 'TRX-WAJIB-254', '009637c2-51bb-466c-8aba-cf2b02bd7434', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d3e6bce2-8343-426e-99cc-0350e95ca64a', 'SAV-3-254', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', 3, 0.0, true);
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('14b223c5-e1f1-4f12-a699-35846456ace2', 'LOAN-254-2fae775d', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 70000000.0, 40, 'Migrasi Data', 'disbursed', 70000000.0, 70000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('657b126f-6765-43e2-aa2c-9ca40fc5c6fe', '14b223c5-e1f1-4f12-a699-35846456ace2', 1, '2026-03-24', 1750000.0, 980000.0, 2730000.0, 1750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('080e01bd-56a4-4d65-9e3f-221f980474d9', '14b223c5-e1f1-4f12-a699-35846456ace2', 2, '2026-04-23', 1750000.0, 980000.0, 2730000.0, 1750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e7d291c3-2cab-4fc6-8a5a-7063e001ec6b', '14b223c5-e1f1-4f12-a699-35846456ace2', 3, '2026-05-23', 1750000.0, 980000.0, 2730000.0, 1750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a5f1758-d9e3-43c6-9308-96f7c97a3c0e', '14b223c5-e1f1-4f12-a699-35846456ace2', 4, '2026-06-22', 1750000.0, 980000.0, 2730000.0, 1750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9103272a-704b-4f4a-ba7c-e61aad53a8ed', '14b223c5-e1f1-4f12-a699-35846456ace2', 5, '2026-07-22', 1750000.0, 980000.0, 2730000.0, 1750000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4d248c6-a1b0-42ac-9a32-ef8f39214a32', '14b223c5-e1f1-4f12-a699-35846456ace2', 6, '2026-08-21', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49454b8a-d628-4637-94c0-15350a740c93', '14b223c5-e1f1-4f12-a699-35846456ace2', 7, '2026-09-20', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31971cf8-309f-4292-af1a-0ef64d4a5770', '14b223c5-e1f1-4f12-a699-35846456ace2', 8, '2026-10-20', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('312b7621-b872-4333-95fe-8f2a12151e9b', '14b223c5-e1f1-4f12-a699-35846456ace2', 9, '2026-11-19', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('785def8e-3228-4c84-835c-e5e2acac5094', '14b223c5-e1f1-4f12-a699-35846456ace2', 10, '2026-12-19', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a984ca8-7773-4180-9a22-47dab2b3ff88', '14b223c5-e1f1-4f12-a699-35846456ace2', 11, '2027-01-18', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa78e94b-2614-4b31-b5cd-8c370978fcfd', '14b223c5-e1f1-4f12-a699-35846456ace2', 12, '2027-02-17', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1cfb6217-f56e-430f-a7d1-e67a48bab33b', '14b223c5-e1f1-4f12-a699-35846456ace2', 13, '2027-03-19', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b64ea075-69b1-48a7-83cc-14f5135733c2', '14b223c5-e1f1-4f12-a699-35846456ace2', 14, '2027-04-18', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dd8b4a7e-4503-4c53-8eaf-6ede3334f991', '14b223c5-e1f1-4f12-a699-35846456ace2', 15, '2027-05-18', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a06a364-5cfc-46cd-afba-46c487244a4b', '14b223c5-e1f1-4f12-a699-35846456ace2', 16, '2027-06-17', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('966ce70d-ad50-4d9d-889f-cc3ed8976632', '14b223c5-e1f1-4f12-a699-35846456ace2', 17, '2027-07-17', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d26c9673-b016-42fe-b402-21da6b0b01aa', '14b223c5-e1f1-4f12-a699-35846456ace2', 18, '2027-08-16', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4c10a9c4-4cab-49a0-b638-0c00f29e445e', '14b223c5-e1f1-4f12-a699-35846456ace2', 19, '2027-09-15', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28069211-7e30-4aa6-9d85-f86bb276d1cf', '14b223c5-e1f1-4f12-a699-35846456ace2', 20, '2027-10-15', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa6c6352-9071-4aa7-acc8-1964f67bb4f0', '14b223c5-e1f1-4f12-a699-35846456ace2', 21, '2027-11-14', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('30e613d2-03e7-429c-b897-a9382bb4c469', '14b223c5-e1f1-4f12-a699-35846456ace2', 22, '2027-12-14', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b65fab55-44b7-4f19-a5c5-894933ed859a', '14b223c5-e1f1-4f12-a699-35846456ace2', 23, '2028-01-13', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ad5a4a47-49c2-40d0-aade-352ef6c535ed', '14b223c5-e1f1-4f12-a699-35846456ace2', 24, '2028-02-12', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('703a96e8-3e7a-4ec3-b8fa-e798b17963ca', '14b223c5-e1f1-4f12-a699-35846456ace2', 25, '2028-03-13', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('eb2a7da1-99e4-4b85-8395-676521658bde', '14b223c5-e1f1-4f12-a699-35846456ace2', 26, '2028-04-12', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99f92a39-77ec-4b64-b51f-75c69179a721', '14b223c5-e1f1-4f12-a699-35846456ace2', 27, '2028-05-12', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f7b23b0-b659-45d0-ab7d-abddf0c83ddd', '14b223c5-e1f1-4f12-a699-35846456ace2', 28, '2028-06-11', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c550d653-68b0-4bf1-8c3a-2c079f3c3fd9', '14b223c5-e1f1-4f12-a699-35846456ace2', 29, '2028-07-11', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76c8d2a6-2600-446f-8344-796e283af9ec', '14b223c5-e1f1-4f12-a699-35846456ace2', 30, '2028-08-10', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cc3c8d2b-63d2-4c76-b3f8-27197d1952b8', '14b223c5-e1f1-4f12-a699-35846456ace2', 31, '2028-09-09', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a1a3bfa9-bac2-4738-8392-41f5725452d9', '14b223c5-e1f1-4f12-a699-35846456ace2', 32, '2028-10-09', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0cea3958-f204-4a03-a832-940eeea7157b', '14b223c5-e1f1-4f12-a699-35846456ace2', 33, '2028-11-08', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('82910968-2d51-443e-9818-e2e8af3ed532', '14b223c5-e1f1-4f12-a699-35846456ace2', 34, '2028-12-08', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cb0e9506-4a60-4872-ad4e-d154f2e04cb0', '14b223c5-e1f1-4f12-a699-35846456ace2', 35, '2029-01-07', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fd1cc6a7-9d74-4f01-9ed4-e7e378fd051f', '14b223c5-e1f1-4f12-a699-35846456ace2', 36, '2029-02-06', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('683e541c-69f1-4ef4-8147-55d7d9b4a5bd', '14b223c5-e1f1-4f12-a699-35846456ace2', 37, '2029-03-08', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7d62ff28-52c8-40a7-8083-617dc84a602e', '14b223c5-e1f1-4f12-a699-35846456ace2', 38, '2029-04-07', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efbf77cf-d008-4860-9173-15965e473176', '14b223c5-e1f1-4f12-a699-35846456ace2', 39, '2029-05-07', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('09106a66-0725-456b-8db3-9bcee114700b', '14b223c5-e1f1-4f12-a699-35846456ace2', 40, '2029-06-06', 1750000.0, 980000.0, 2730000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 'LOAN-254-b06fc046', 'a104af38-863c-479b-91a3-37d2aa1d0ed1', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 15000000.0, 40, 'Migrasi Data', 'disbursed', 15000000.0, 15000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1798f3a-4db2-4259-af98-265650b3f88e', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 1, '2026-06-22', 375000.0, 210000.0, 585000.0, 375000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3c136bbc-7d5e-4a64-ae21-cc8f98c6f0c4', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 2, '2026-07-22', 375000.0, 210000.0, 585000.0, 375000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f6f9999d-7218-47f3-b6c8-8f46df3a850d', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 3, '2026-08-21', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2664b100-c011-495e-8611-65eb792f1cce', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 4, '2026-09-20', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c84c13dc-ad03-4f52-9324-069dfcd3c900', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 5, '2026-10-20', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c7ddcc8f-ed47-49d4-8f0c-a06b07f4cd40', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 6, '2026-11-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fa6e9f15-574c-4bf3-99d8-a8935db05b2b', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 7, '2026-12-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f881d9e-c835-48c6-903b-a6f502da48ab', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 8, '2027-01-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a5bf1fc-93bb-4c85-8588-3f4405f477c4', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 9, '2027-02-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e559600a-95f9-4597-9649-592fb1706e72', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 10, '2027-03-19', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3d7e21d6-5367-4a52-8f70-4c35dbb4f136', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 11, '2027-04-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2eec1277-1acb-4af0-983a-da7159f431ed', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 12, '2027-05-18', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('59e5d35c-f622-48d0-95db-57ce1f67ba64', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 13, '2027-06-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9f8707f3-d374-4f92-9145-a2f705483237', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 14, '2027-07-17', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2d3cef20-e722-49cf-aa36-342a23eccedf', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 15, '2027-08-16', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f7bb3db-b641-46d2-93e6-b8c582bfc0fd', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 16, '2027-09-15', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6a76580-a7d4-4b7c-9f53-bdb3c891bb50', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 17, '2027-10-15', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('15de7bc1-0921-43b0-9810-89c782af8c8d', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 18, '2027-11-14', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6d54edfa-6b38-4579-a841-3fe5d16fae5b', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 19, '2027-12-14', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0fcef232-b849-420b-a84b-52010d06bbc8', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 20, '2028-01-13', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('26f60543-91e9-45d2-9780-3da2a66a5a20', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 21, '2028-02-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1433a12d-c486-4794-9b07-59e92c8312ff', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 22, '2028-03-13', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a4893594-a32e-4dcd-94b6-1079fb927e0a', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 23, '2028-04-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c70592de-45d4-4bb1-a80e-6def398d68a6', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 24, '2028-05-12', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('45dc375f-f268-492b-9d07-999c7a29f4d6', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 25, '2028-06-11', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('23d4447d-1607-450f-8430-753b939fb855', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 26, '2028-07-11', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e51201e9-30ca-4f7d-9b8e-46645d57276a', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 27, '2028-08-10', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1e646a0c-f937-41cd-9ab9-81e5a38e237e', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 28, '2028-09-09', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2b837896-6581-4bb8-b8e3-fdef16feee13', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 29, '2028-10-09', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('31b02c92-0dfc-4b47-9243-233d2df2d59c', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 30, '2028-11-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('600b703a-b0fd-49c9-9c0c-3f0644db6c07', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 31, '2028-12-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3864e5c2-0dc2-42cf-853b-ce8046ebec66', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 32, '2029-01-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f1b2701-49db-4080-9dd9-74e49f877694', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 33, '2029-02-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0f5175f2-cf4d-4512-9c99-381e35ff1d75', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 34, '2029-03-08', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d72384e3-1df4-4737-9e49-58a994e732e3', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 35, '2029-04-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba2e4fef-9d1e-4a38-a172-c597a58ba10e', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 36, '2029-05-07', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('282debad-c829-4e0d-af7a-e356dfad58cb', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 37, '2029-06-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cf557696-ad57-4c1b-a405-11e1eda46c09', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 38, '2029-07-06', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc6b33ff-9599-41a5-9e38-fb07d77dbef8', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 39, '2029-08-05', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3fb1293e-2589-4a99-8e3a-332b001e9408', '77f3ef9e-00e6-40c5-91aa-90c9edefba4a', 40, '2029-09-04', 375000.0, 210000.0, 585000.0, 0, NULL, 'unpaid');

-- Member: YUSUF HERY SETIANTO
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('29adfb4d-1303-44a4-9a53-33df272e923c', 'member258@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YUSUF HERY SETIANTO', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('123c8f7a-f56d-4276-a8f7-3f4ab21bf885', '29adfb4d-1303-44a4-9a53-33df272e923c', '255', '255', 'YUSUF HERY SETIANTO', 'NIK-255', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ca630ce9-250b-42e2-a92d-dc94263b6cd5', 'SAV-1-255', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 1, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e27ec54b-bee1-419c-9bd5-c29348f2ca11', 'TRX-POKOK-255', 'ca630ce9-250b-42e2-a92d-dc94263b6cd5', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('03010402-0c4a-4218-a052-d290c4efeca1', 'SAV-2-255', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e64c6c92-6233-4fe9-9694-6cfc811139fc', 'TRX-WAJIB-255', '03010402-0c4a-4218-a052-d290c4efeca1', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('cfbe29b1-3ace-46ff-aa12-53b11594b844', 'SAV-3-255', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 3, 70000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('8bdf5e09-8cd1-4e30-9fd2-7ef356bf3f01', 'TRX-SUKARELA-255', 'cfbe29b1-3ace-46ff-aa12-53b11594b844', '123c8f7a-f56d-4276-a8f7-3f4ab21bf885', 'deposit', 70000.0, 0, 70000.0, 'Saldo Awal Migrasi');

-- Member: HERLAN PRALESMANA
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('b57c0161-e4c9-4684-96fc-25d566fba8a4', 'member259@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'HERLAN PRALESMANA', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('79650beb-ef5f-452a-82be-e639620ecc7f', 'b57c0161-e4c9-4684-96fc-25d566fba8a4', '256', '256', 'HERLAN PRALESMANA', 'NIK-256', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('1cbd1db5-10d2-43cd-b288-91a1c86c03e1', 'SAV-1-256', '79650beb-ef5f-452a-82be-e639620ecc7f', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('83e15bc6-c19e-4778-997d-1f23f90ed819', 'SAV-2-256', '79650beb-ef5f-452a-82be-e639620ecc7f', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('28ad5870-7b33-4c80-9965-7348afc88113', 'TRX-WAJIB-256', '83e15bc6-c19e-4778-997d-1f23f90ed819', '79650beb-ef5f-452a-82be-e639620ecc7f', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('79284554-323e-4886-93c1-4a461a1a27b1', 'SAV-3-256', '79650beb-ef5f-452a-82be-e639620ecc7f', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('6f5c27fc-34cd-4fe7-95ac-e7f33d261e76', 'TRX-SUKARELA-256', '79284554-323e-4886-93c1-4a461a1a27b1', '79650beb-ef5f-452a-82be-e639620ecc7f', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 'LOAN-256-6a2f50a4', '79650beb-ef5f-452a-82be-e639620ecc7f', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 9999996.0, 12, 'Migrasi Data', 'disbursed', 9999996.0, 9999996.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3744599a-18b4-4ae9-89f4-b6c61d53c7b6', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 1, '2025-11-24', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9cea4b49-7ed2-4768-8fbe-6247863d72e2', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 2, '2025-12-24', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bfb6014f-ce45-4d23-a122-dbccae4dd0fa', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 3, '2026-01-23', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a12dc8d-e9b5-422d-9759-f79394403cad', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 4, '2026-02-22', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('76691dc5-c2fa-49cd-ac43-56e9341f9a71', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 5, '2026-03-24', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8a697c6c-8e91-4e4e-a15c-3c38e563dc53', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 6, '2026-04-23', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('504dfefe-de9c-46c4-94c7-81aca3b7684c', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 7, '2026-05-23', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8f537b0e-498e-4fe0-a5eb-1e5977a12308', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 8, '2026-06-22', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d14c3332-9f34-4c40-af0d-6173736d5a33', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 9, '2026-07-22', 833333.0, 150000.0, 983333.0, 833333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f4f579e0-8d01-4fb6-9298-78460cebff23', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 10, '2026-08-21', 833333.0, 150000.0, 983333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d68bf39-400e-40fc-9c1f-1917aa4834c8', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 11, '2026-09-20', 833333.0, 150000.0, 983333.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4b9dfb0c-d892-47a2-8344-9ec11e0d9b6b', 'bd7e5b32-1953-4f2e-80e9-55fef414cbf8', 12, '2026-10-20', 833333.0, 150000.0, 983333.0, 0, NULL, 'unpaid');

-- Member: AHMAD GOZALI
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('255fe8f6-8500-41f3-8a24-8c47c1ce40b3', 'member260@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AHMAD GOZALI', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', '255fe8f6-8500-41f3-8a24-8c47c1ce40b3', '257', '257', 'AHMAD GOZALI', 'NIK-257', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('033ec635-2efa-4ac9-a092-e347f6cde80e', 'SAV-1-257', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9675482f-ac0d-434b-9c13-4443e571dcc3', 'SAV-2-257', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('21801226-fb61-4541-9525-78017a1ce23a', 'TRX-WAJIB-257', '9675482f-ac0d-434b-9c13-4443e571dcc3', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8a3c3c3a-2ba3-4e66-84f3-32a88afc93d8', 'SAV-3-257', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('51e316c9-ca2f-4dec-b995-c53cfe2cc921', 'TRX-SUKARELA-257', '8a3c3c3a-2ba3-4e66-84f3-32a88afc93d8', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('fe2a8fa0-5090-4522-82f5-5745acaa2818', 'LOAN-257-8b6812e4', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 13800000.0, 20, 'Migrasi Data', 'disbursed', 13800000.0, 13800000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5484e12-4aab-452e-b5fa-0467e693c1e9', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 1, '2026-02-22', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('74c52c65-66e6-47eb-9277-5bebe18c9724', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 2, '2026-03-24', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('df9f527c-ca63-42c2-9891-1f568d8d69aa', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 3, '2026-04-23', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('694fd928-416b-4f18-af7c-72c8d69b34cd', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 4, '2026-05-23', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5192bf51-8e3f-427e-847e-008d7757aa6c', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 5, '2026-06-22', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84a04ad5-b99c-42e2-8e13-531390e480e6', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 6, '2026-07-22', 690000.0, 207000.0, 897000.0, 690000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e53735e3-883d-435b-a648-65d9ae5b417a', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 7, '2026-08-21', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3752f069-751d-45b5-83c8-a9886369a329', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 8, '2026-09-20', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('72e9a41a-6434-435b-99be-e4b0bae04750', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 9, '2026-10-20', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('efc0238d-01ac-4e0d-a31c-e5d1ed4ac69e', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 10, '2026-11-19', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e43afbe7-4c80-43df-a82d-f072b7225cfc', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 11, '2026-12-19', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c08e0855-b60e-47df-a702-1924a5105d1d', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 12, '2027-01-18', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('77fd976d-a0eb-459b-85d2-591206e440c0', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 13, '2027-02-17', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('dc3fa73d-5f07-4f41-b453-ba6a757206d0', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 14, '2027-03-19', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('86186e7e-db55-4ee2-93b8-35cd2495982e', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 15, '2027-04-18', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('087cc285-88f1-458e-b157-18d9bd03e6a1', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 16, '2027-05-18', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0ead5c73-b518-4088-8f4e-e5d3bec69353', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 17, '2027-06-17', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('754aea5d-c851-4d43-827f-9f8df05d91e5', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 18, '2027-07-17', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('30e4930e-2da5-4e8a-be18-93f1bcb7584d', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 19, '2027-08-16', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1063b9d3-a7a1-41f4-8317-51f221c61524', 'fe2a8fa0-5090-4522-82f5-5745acaa2818', 20, '2027-09-15', 690000.0, 207000.0, 897000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 'LOAN-257-4578a194', 'f2f7fb4a-27ea-4bd0-b893-62f62f8aee68', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 1500000.0, 10, 'Migrasi Data', 'disbursed', 1500000.0, 1500000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('78138695-8cf9-4b43-b6cb-31d4d9dcfdd2', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 1, '2026-06-22', 150000.0, 22500.0, 172500.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a64fbcbd-fdd1-49d9-bf12-486027515367', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 2, '2026-07-22', 150000.0, 22500.0, 172500.0, 150000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17a9920c-3eda-4440-9934-84cabd186eb9', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 3, '2026-08-21', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a3939396-7f4e-41a2-9bd4-98a188f3e016', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 4, '2026-09-20', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cef2624b-54f5-42e5-b813-37f1f8594cbe', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 5, '2026-10-20', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b2c9eca9-df63-4d27-bb84-e9f8a33f8c50', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 6, '2026-11-19', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fa655900-bf86-4a18-996f-6bd8291f26e2', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 7, '2026-12-19', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d926a81-d8d1-45ad-bd18-ae8ebea34ff4', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 8, '2027-01-18', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('398bcbd9-4239-40c4-83ce-bb01f236ccd1', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 9, '2027-02-17', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1400c239-0293-446d-acf6-fbf47f847f6b', 'e6cda2b0-8048-47ee-88a1-7cb477e3d2e2', 10, '2027-03-19', 150000.0, 22500.0, 172500.0, 0, NULL, 'unpaid');

-- Member: BURHANUDIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('f7abf8d4-17b3-4862-ae4f-585cb40f37bf', 'member261@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'BURHANUDIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('f8c99dc7-1b09-4fef-b212-51c02edfcabe', 'f7abf8d4-17b3-4862-ae4f-585cb40f37bf', '258', '258', 'BURHANUDIN', 'NIK-258', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('4b0430c9-ad78-4992-a6dd-6c06c73f46f2', 'SAV-1-258', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('65b5c670-b0c3-44e2-b738-e0a303c038e7', 'SAV-2-258', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('ad8193c0-285e-4825-bed1-b332b0f156af', 'TRX-WAJIB-258', '65b5c670-b0c3-44e2-b738-e0a303c038e7', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('22a46c2c-674b-46fb-a757-ba64babe8082', 'SAV-3-258', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('0b8140e7-04fd-4ba4-a64f-1f47ac2f64a3', 'TRX-SUKARELA-258', '22a46c2c-674b-46fb-a757-ba64babe8082', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('d033d2b4-d795-4678-8a9d-09cfe5c25953', 'LOAN-258-6cb4640a', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 6000000.0, 20, 'Migrasi Data', 'disbursed', 6000000.0, 6000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d6930581-3225-4846-ace5-6bf55b2bac44', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 1, '2026-01-23', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c97f9a75-a484-4de2-a7ae-a578bc7285a2', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 2, '2026-02-22', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ae467ebb-a2ee-49f6-a2e5-563b23cc417d', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 3, '2026-03-24', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('987b6283-c463-4d60-a7a5-48f9e17f72a7', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 4, '2026-04-23', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bc7f8b9c-1e74-47a3-b57b-bf48c8402d68', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 5, '2026-05-23', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('32011c00-1124-4a9c-b541-49530d02c0ad', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 6, '2026-06-22', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7860b1b0-2bb0-4cdb-b64c-41a21c831f2c', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 7, '2026-07-22', 300000.0, 45000.0, 345000.0, 300000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6c504691-f85d-4f4f-ab99-102ded0367e9', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 8, '2026-08-21', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4a700f24-b08a-4fe7-ba82-3de1eaddfdbe', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 9, '2026-09-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fc911c04-56a6-4a5f-ad24-9379f02c362c', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 10, '2026-10-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5a34eb71-69a1-42ea-879f-c5b03b4cb6c2', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 11, '2026-11-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('fbca9d21-fafa-4914-872c-4f110e17c1ad', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 12, '2026-12-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('543a8622-1c16-473c-8725-560332f4120d', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 13, '2027-01-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5b134a6d-063e-4f5b-a648-e50ed33b3691', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 14, '2027-02-17', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b8a08c27-9360-4f35-9471-b3b2853766fd', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 15, '2027-03-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('abe8d2da-b8ce-4bb7-8ded-6fc2f6500835', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 16, '2027-04-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('da492715-b620-460b-8d29-933e4e921c37', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 17, '2027-05-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d9a8cba2-9956-4d43-9492-e4b4085f0b0f', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 18, '2027-06-17', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('886d0e56-9d6b-40fe-8528-51e431c0a4ad', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 19, '2027-07-17', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7e594a05-3949-4e14-812f-57a239e658a9', 'd033d2b4-d795-4678-8a9d-09cfe5c25953', 20, '2027-08-16', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('89e146d4-305e-47b0-8bc5-5afabe117114', 'ORD-258-14168a58', 'f8c99dc7-1b09-4fef-b212-51c02edfcabe', 595500.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SYARIF HIDAYATULLOH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('4dda2dad-a5f3-488a-9f5a-924f35e3761f', 'member262@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SYARIF HIDAYATULLOH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('39d1b709-d1fc-4732-9529-0b25e6df53bd', '4dda2dad-a5f3-488a-9f5a-924f35e3761f', '259', '259', 'SYARIF HIDAYATULLOH', 'NIK-259', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3f8abf68-1d03-4ffb-9d84-a9fa6d26b846', 'SAV-1-259', '39d1b709-d1fc-4732-9529-0b25e6df53bd', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a918b467-7d2b-433b-ac34-f99388df4bbe', 'SAV-2-259', '39d1b709-d1fc-4732-9529-0b25e6df53bd', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('47de392b-9897-4b65-b252-718bca2099ae', 'TRX-WAJIB-259', 'a918b467-7d2b-433b-ac34-f99388df4bbe', '39d1b709-d1fc-4732-9529-0b25e6df53bd', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('00edd91b-60ee-4c67-94e7-86a048b06ad5', 'SAV-3-259', '39d1b709-d1fc-4732-9529-0b25e6df53bd', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('50a2eda4-5d5d-4629-ba8f-6fc89dc72f84', 'TRX-SUKARELA-259', '00edd91b-60ee-4c67-94e7-86a048b06ad5', '39d1b709-d1fc-4732-9529-0b25e6df53bd', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('87fc7500-b684-45a8-b004-02134c41a28d', 'LOAN-259-51ef8083', '39d1b709-d1fc-4732-9529-0b25e6df53bd', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 1183330.0, 10, 'Migrasi Data', 'disbursed', 1183330.0, 1183330.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aab9e870-e7ad-417f-bf96-6798fee82e61', '87fc7500-b684-45a8-b004-02134c41a28d', 1, '2026-02-22', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('862dae26-2b2d-404e-905a-adb09bd57a97', '87fc7500-b684-45a8-b004-02134c41a28d', 2, '2026-03-24', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('607e0733-637b-452c-82a5-9508e7cb3686', '87fc7500-b684-45a8-b004-02134c41a28d', 3, '2026-04-23', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5db44c0e-f6ca-4527-b8e0-2ea2af83bd57', '87fc7500-b684-45a8-b004-02134c41a28d', 4, '2026-05-23', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a741ea6a-4925-40c5-b291-823fe78f8ff0', '87fc7500-b684-45a8-b004-02134c41a28d', 5, '2026-06-22', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6beeb52a-0d7e-4a7f-b15b-c984d8d7f985', '87fc7500-b684-45a8-b004-02134c41a28d', 6, '2026-07-22', 118333.0, 17750.0, 136083.0, 118333.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99edd988-dc84-4cbe-a664-7d148a538fc7', '87fc7500-b684-45a8-b004-02134c41a28d', 7, '2026-08-21', 118333.0, 17750.0, 136083.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('79d2b37d-100e-4820-8300-e0557644e9f0', '87fc7500-b684-45a8-b004-02134c41a28d', 8, '2026-09-20', 118333.0, 17750.0, 136083.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c3ae1de6-f345-4fd7-8aae-a8390592cdab', '87fc7500-b684-45a8-b004-02134c41a28d', 9, '2026-10-20', 118333.0, 17750.0, 136083.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0c38525c-5362-4de7-ab68-df79b6708269', '87fc7500-b684-45a8-b004-02134c41a28d', 10, '2026-11-19', 118333.0, 17750.0, 136083.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 'LOAN-259-06e01896', '39d1b709-d1fc-4732-9529-0b25e6df53bd', (SELECT id FROM loan_products WHERE code = 'ELK-01'), 182370000.0, 50, 'Migrasi Data', 'disbursed', 182370000.0, 182370000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aaffb240-0c07-41aa-b49f-3aa4ca0dea29', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 1, '2024-03-04', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('acd277c4-6259-4c1e-8cb3-b755311f40b9', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 2, '2024-04-03', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('89122abb-7195-41da-834c-226e7d8538f8', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 3, '2024-05-03', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('bf146853-3ee7-4bac-a05a-d1295363eb27', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 4, '2024-06-02', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ecc2f94-9954-4acf-bee7-cdf51dc5b5aa', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 5, '2024-07-02', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6f8afa9b-b2b4-4b74-b030-2891e80e8384', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 6, '2024-08-01', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b1b0a62f-1b8c-4ea0-8aa2-d77b99f4ccf8', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 7, '2024-08-31', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b63ebe6-88c4-4bd8-9e3f-5eaf581d1b4e', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 8, '2024-09-30', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d05e6c73-712f-4e4c-a091-9c1f27d3d0d1', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 9, '2024-10-30', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('021c16a6-43b9-4a7f-90a2-58556ae23f68', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 10, '2024-11-29', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b2a46e9-e3da-4da0-b05a-3ddfe4e5e54a', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 11, '2024-12-29', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b61feeda-1136-4844-bbe2-89f1a7aecde1', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 12, '2025-01-28', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c9645e41-9c5f-44e4-abd7-cd6af52d6bce', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 13, '2025-02-27', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2978d704-a5bc-42f5-ab97-264bef1ec2a4', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 14, '2025-03-29', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5337caf5-cc5d-48f9-a673-3cd0179a7045', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 15, '2025-04-28', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('99727cfd-4fd7-475b-af61-3acb376d83eb', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 16, '2025-05-28', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('36b6031a-a0cf-437f-907e-04f27d412b6c', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 17, '2025-06-27', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b29feda6-e95e-444c-8c88-a2bc8f47e5be', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 18, '2025-07-27', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba9a7763-8d8c-4c73-8e6a-d01b85408ca5', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 19, '2025-08-26', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('87857539-1bee-429f-b488-1bc8b5ab9eb7', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 20, '2025-09-25', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b86686be-2df6-4342-9db4-b3905dac63ab', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 21, '2025-10-25', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d48cfbeb-72af-43eb-abf9-0864a2970fbe', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 22, '2025-11-24', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('24be5fc0-ece7-4c5a-a7a7-d5e32b8d8d12', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 23, '2025-12-24', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('47c69d46-1f6b-4cf2-85a6-b6d35381f20d', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 24, '2026-01-23', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ffb68030-73be-48bf-9dcd-490536e070ba', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 25, '2026-02-22', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8689876a-1f1a-4836-b5db-888c1fa36492', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 26, '2026-03-24', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('13a0a770-1148-475c-8271-047ce6c52702', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 27, '2026-04-23', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a1a73f56-c130-4551-8789-861ca347430e', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 28, '2026-05-23', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d4a8c32e-0ec2-4ad0-8256-8fae69e05c8e', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 29, '2026-06-22', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cbb1a213-e9c3-4535-afc3-1925653b58eb', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 30, '2026-07-22', 3647400.0, 0, 3647400.0, 3647400.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('aa0b7b6d-6db6-4729-8fea-72800d18c0e0', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 31, '2026-08-21', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9c3ecc58-89bc-434f-94fa-77494050655d', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 32, '2026-09-20', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7b3c9d59-719b-49b7-b3fe-8754f7585ed6', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 33, '2026-10-20', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4eabfadd-f7a4-478d-a609-6e0278953b6e', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 34, '2026-11-19', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('565929fa-54ad-4983-b2d4-643a7de395fa', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 35, '2026-12-19', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('52866213-b548-49bd-bccf-953b49a67a2a', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 36, '2027-01-18', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('de739f60-f165-45e4-a43b-b0eb10f980bb', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 37, '2027-02-17', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('96a76a42-8cd7-4492-b0dd-86aa86343485', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 38, '2027-03-19', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cd44e980-ca28-4a21-bed5-2d283c88ac86', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 39, '2027-04-18', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('6275e81d-42f8-499f-9dcb-0c3bdbc1533f', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 40, '2027-05-18', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f86abd1c-57ef-4959-9603-0318a9dacc4c', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 41, '2027-06-17', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('a0141ffa-f127-4c94-b6f6-768bd55c8b6d', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 42, '2027-07-17', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('910c73e9-922e-42e7-b84f-887f34288dff', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 43, '2027-08-16', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('098c7744-4154-4d12-b1b3-1538a39a293b', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 44, '2027-09-15', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4e6eb4b7-d1ed-43f4-bc55-17dda987ddbd', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 45, '2027-10-15', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73412c84-e8c6-4f2c-95a5-9503b76ac1cf', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 46, '2027-11-14', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9a8e3e00-0531-4963-9f32-4268fe4293a1', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 47, '2027-12-14', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f9e0cada-4d35-4ec7-afca-73acf5df3cfe', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 48, '2028-01-13', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('430da770-b901-4d58-83ee-43a2c42d812d', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 49, '2028-02-12', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('28fb9bbe-2262-4e01-9144-66631f32f6d4', 'e9fe7d1d-a650-4b07-ba87-ec9863bbd55f', 50, '2028-03-13', 3647400.0, 0, 3647400.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 'LOAN-259-e10c6362', '39d1b709-d1fc-4732-9529-0b25e6df53bd', (SELECT id FROM loan_products WHERE code = 'BNK-01'), 700000.0, 10, 'Migrasi Data', 'disbursed', 700000.0, 700000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5fd3207c-3e0b-4765-b592-3cad479c9369', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 1, '2026-01-23', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('2875ec76-2c3b-43db-87cc-482840a7cdf4', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 2, '2026-02-22', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('17e452e4-cfbd-4b46-ac56-f5069cb186ed', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 3, '2026-03-24', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e4428126-02f5-48d1-b0c3-1cf5fb6f6899', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 4, '2026-04-23', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('1846f339-8572-4fa1-adf3-4ecb13a032d2', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 5, '2026-05-23', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('937aa208-03c6-4782-a1a4-46282eae5c77', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 6, '2026-06-22', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4740cd81-e5ae-4237-b0ef-55e805ef4fd4', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 7, '2026-07-22', 70000.0, 0, 70000.0, 70000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b3d88c9c-2cb2-46e2-942f-ac5ae4b1521a', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 8, '2026-08-21', 70000.0, 0, 70000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('986615f0-36c9-4cd9-9f43-b3578143985f', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 9, '2026-09-20', 70000.0, 0, 70000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('047c3e97-7753-45e0-a9b1-3cb19f78ed97', '7d9285cd-4f2a-4bdb-b7be-07f45e8826e6', 10, '2026-10-20', 70000.0, 0, 70000.0, 0, NULL, 'unpaid');

-- Member: AIWIN
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('25ac446f-4a74-4dae-a93a-4b673c0abda0', 'member263@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AIWIN', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', '25ac446f-4a74-4dae-a93a-4b673c0abda0', '260', '260', 'AIWIN', 'NIK-260', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('48bd02f7-87da-4847-ae97-80c4a2e5ccf2', 'SAV-1-260', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('9035daad-622d-4d7d-af7d-cdf2975962e8', 'SAV-2-260', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('908860eb-7c87-4f37-9d03-d8674db08471', 'TRX-WAJIB-260', '9035daad-622d-4d7d-af7d-cdf2975962e8', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('8bd641fe-2488-42b8-b5af-150746dbc82c', 'SAV-3-260', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('e46bf29a-9d00-4d59-8f87-ab926eaff744', 'TRX-SUKARELA-260', '8bd641fe-2488-42b8-b5af-150746dbc82c', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 'LOAN-260-077d298b', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3200000.0, 10, 'Migrasi Data', 'disbursed', 3200000.0, 3200000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e224a506-dc1f-4dbe-800b-8398ba85dc01', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 1, '2026-03-24', 320000.0, 48000.0, 368000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('22a2c152-6a92-4412-a8b3-44725c5c1ab3', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 2, '2026-04-23', 320000.0, 48000.0, 368000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('84041629-3567-41b5-ae9a-fce9d0bad15d', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 3, '2026-05-23', 320000.0, 48000.0, 368000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('c0e92b46-3342-4060-9f1c-f898f4d19ab7', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 4, '2026-06-22', 320000.0, 48000.0, 368000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e886b8be-7dd9-47dd-93e9-b6d0f6bb4478', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 5, '2026-07-22', 320000.0, 48000.0, 368000.0, 320000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('191bf66c-4d1f-4d0d-8b24-14336dfb2ac9', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 6, '2026-08-21', 320000.0, 48000.0, 368000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('b0d9f9b1-46e0-4a71-980b-ea8946d79ae0', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 7, '2026-09-20', 320000.0, 48000.0, 368000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba81a3fe-e2b1-4b07-bb40-3ce8da171a7e', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 8, '2026-10-20', 320000.0, 48000.0, 368000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('703fde4b-097d-47c3-a54c-b4f7022a8487', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 9, '2026-11-19', 320000.0, 48000.0, 368000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3b44bd3b-5e2c-4ed2-b9ca-c99820ddabf8', '2987f3fa-1691-4d5d-8dcd-5cc59c06d320', 10, '2026-12-19', 320000.0, 48000.0, 368000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('01d27d58-518e-44be-9e4e-21732d23644f', 'LOAN-260-ca5ae33a', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 1000000.0, 10, 'Migrasi Data', 'disbursed', 1000000.0, 1000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('096fe677-9ae8-4d90-910f-4825a5d7e83c', '01d27d58-518e-44be-9e4e-21732d23644f', 1, '2026-04-23', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d91b5b09-7b76-4e56-80e4-e8ce33f29834', '01d27d58-518e-44be-9e4e-21732d23644f', 2, '2026-05-23', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ed2f84b5-b71b-43e0-9dd3-959b702f4026', '01d27d58-518e-44be-9e4e-21732d23644f', 3, '2026-06-22', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('929ab476-3e47-40b5-9745-05beaca89dfc', '01d27d58-518e-44be-9e4e-21732d23644f', 4, '2026-07-22', 100000.0, 15000.0, 115000.0, 100000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('398b6968-fb88-4694-b5b1-9614e275dcc7', '01d27d58-518e-44be-9e4e-21732d23644f', 5, '2026-08-21', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8d6bc115-2e20-419f-a0f2-dd59552ca3a6', '01d27d58-518e-44be-9e4e-21732d23644f', 6, '2026-09-20', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4bd97187-346f-4bd3-82e9-6354954b6400', '01d27d58-518e-44be-9e4e-21732d23644f', 7, '2026-10-20', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('5eb2cd09-b15f-4bab-b481-71deb60ea636', '01d27d58-518e-44be-9e4e-21732d23644f', 8, '2026-11-19', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7ef198b1-6183-4e54-b9b3-27c02d2bf3c9', '01d27d58-518e-44be-9e4e-21732d23644f', 9, '2026-12-19', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9709c876-6c5d-4524-bbaf-177e3476c2a1', '01d27d58-518e-44be-9e4e-21732d23644f', 10, '2027-01-18', 100000.0, 15000.0, 115000.0, 0, NULL, 'unpaid');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 'LOAN-260-67f34019', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 3000000.0, 10, 'Migrasi Data', 'disbursed', 3000000.0, 3000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('8ab2e107-0b8f-4f92-b47d-b6c27d3b16b2', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 1, '2026-08-21', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('379994a9-4780-4f50-afc4-d9d98c861a73', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 2, '2026-09-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('0abb82fa-5286-4641-ae91-6dd8a9f5b38d', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 3, '2026-10-20', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('7420648f-a1f4-4dcd-9bf6-5ca560081b60', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 4, '2026-11-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('4d725238-7228-4d94-acae-a3982a9a11d2', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 5, '2026-12-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('95e7c88a-2f3b-4389-a321-ad88b3c60369', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 6, '2027-01-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('cf9238f3-eeeb-48bf-bcd9-252cb8be8866', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 7, '2027-02-17', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9d7ecc33-1aeb-49b2-82f1-d92788daf1ec', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 8, '2027-03-19', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('25f6f9d4-e41d-4acf-926a-a9024a85d12f', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 9, '2027-04-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9472b016-495b-4e41-957e-cf870802282b', '8dc9c742-1b99-4af8-ae1c-d9af45e82e96', 10, '2027-05-18', 300000.0, 45000.0, 345000.0, 0, NULL, 'unpaid');
INSERT INTO orders (id, order_number, member_id, total_amount, payment_method, status, notes) VALUES ('8b37877a-d68a-4bc7-8a29-cf9b0e6ff4cc', 'ORD-260-1a58e24a', '00f0d4e4-b3b2-4db4-bf87-b397726aa4c2', 48000.0, 'paylater', 'completed', 'Migrasi tagihan WasSerba');

-- Member: SALDI ALFIANSYAH
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('7b512f97-afd0-4c8c-9a0d-5ad19baaae23', 'member264@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'SALDI ALFIANSYAH', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('31a4ae84-2b5a-4268-8add-7c5adeffa0d1', '7b512f97-afd0-4c8c-9a0d-5ad19baaae23', '261', '261', 'SALDI ALFIANSYAH', 'NIK-261', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('2c00e5b7-c542-44b0-8ea2-efdad79137fc', 'SAV-1-261', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', 1, 0.0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('3721f4a1-9f9e-4210-878f-1d9bd2d3b794', 'SAV-2-261', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', 2, 30000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('21fd510a-f12b-4b05-9112-057144a00a69', 'TRX-WAJIB-261', '3721f4a1-9f9e-4210-878f-1d9bd2d3b794', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', 'deposit', 30000.0, 0, 30000.0, 'Saldo Awal Migrasi');
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('a6e0d663-b72a-4055-990f-f0c07c13c755', 'SAV-3-261', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', 3, 50000.0, true);
INSERT INTO savings_transactions (id, transaction_code, account_id, member_id, type, amount, balance_before, balance_after, description) VALUES ('d9ad9f5b-2b7f-4ca4-9d95-ee837b95368b', 'TRX-SUKARELA-261', 'a6e0d663-b72a-4055-990f-f0c07c13c755', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', 'deposit', 50000.0, 0, 50000.0, 'Saldo Awal Migrasi');
INSERT INTO loan_applications (id, application_number, member_id, product_id, amount_requested, tenor_months, purpose, status, amount_approved, amount_disbursed, interest_rate, calculation_type) VALUES ('b6ea8ab7-576f-4e01-8619-01e3d694167f', 'LOAN-261-078940d4', '31a4ae84-2b5a-4268-8add-7c5adeffa0d1', (SELECT id FROM loan_products WHERE code = 'KKCT-01'), 20000000.0, 20, 'Migrasi Data', 'disbursed', 20000000.0, 20000000.0, 0.01, 'flat');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('375d2e46-4f18-46da-9b91-1b281bb41f43', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 1, '2025-03-29', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d3612ff5-e256-4703-817e-c024ca38a6f8', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 2, '2025-04-28', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ebcc171c-53f9-4a24-8deb-78e7ab240857', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 3, '2025-05-28', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3f3a0bfe-afee-41bb-9b5f-447c312b689e', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 4, '2025-06-27', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('f05ec403-75ec-4f81-a4ad-b802dbd2e9c5', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 5, '2025-07-27', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('43dad7ec-cfbe-40de-933e-d9f11e5bc13b', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 6, '2025-08-26', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('73fb7805-fe1f-4280-9dbf-ff9f7599b314', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 7, '2025-09-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('3ac939aa-38a4-4c36-a7fa-fa28384771eb', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 8, '2025-10-25', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('ba225e2f-cc37-4719-a066-1002d04cc441', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 9, '2025-11-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58ff4cb9-60b4-41da-aec9-3a154da1be2f', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 10, '2025-12-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e5a3ca88-29d6-4d42-a36d-6e6bbb822796', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 11, '2026-01-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('9329185a-80c0-495e-8f13-27f56b40ec5d', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 12, '2026-02-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('55173456-21f9-468b-89f5-5571de8c50a3', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 13, '2026-03-24', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('98fc8d6d-e979-4cd3-8cf5-c173e88e5802', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 14, '2026-04-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('d331943d-51a9-46c5-b859-006e9f3eff5e', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 15, '2026-05-23', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('393ba4d2-383e-4b6b-88df-48e421f0fb87', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 16, '2026-06-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('35ebe593-cccc-4d3c-b838-67cf6fb5bfa3', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 17, '2026-07-22', 1000000.0, 300000.0, 1300000.0, 1000000.0, CURRENT_TIMESTAMP, 'paid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('49eff259-385b-4daa-8c84-9c56e15393e6', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 18, '2026-08-21', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('58ee73a2-074e-4855-bd5a-a782a423425b', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 19, '2026-09-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');
INSERT INTO loan_schedules (id, loan_id, installment_number, due_date, principal_amount, interest_amount, total_payment, paid_amount, paid_at, status) VALUES ('e49c1609-9e09-4a26-be03-ac6db6b38541', 'b6ea8ab7-576f-4e01-8619-01e3d694167f', 20, '2026-10-20', 1000000.0, 300000.0, 1300000.0, 0, NULL, 'unpaid');

-- Member: IMAS ( KANTIN )
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('cd7b91eb-f80f-4fe8-948a-19e731756b03', 'member267@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'IMAS ( KANTIN )', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('5d630721-a0d4-4605-81d9-53b3563a8ce9', 'cd7b91eb-f80f-4fe8-948a-19e731756b03', 'CIF-267', 'CIF-267', 'IMAS ( KANTIN )', 'NIK-CIF-267', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('0cb801f1-58fc-4581-89c7-c1c6900d1a7f', 'SAV-1-CIF-267', '5d630721-a0d4-4605-81d9-53b3563a8ce9', 1, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('270416b5-8e31-47ab-8c03-73526b9674f4', 'SAV-2-CIF-267', '5d630721-a0d4-4605-81d9-53b3563a8ce9', 2, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ed21ed68-e171-4a93-851e-18cf53058e8d', 'SAV-3-CIF-267', '5d630721-a0d4-4605-81d9-53b3563a8ce9', 3, 0, true);

-- Member: AYI ( KANTIN )
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('a60f8536-e2b5-4ad3-a83e-c4c8eec0a6f8', 'member268@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'AYI ( KANTIN )', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('3c99057f-4f9b-4927-8eab-f2d4e6eaf00e', 'a60f8536-e2b5-4ad3-a83e-c4c8eec0a6f8', 'CIF-268', 'CIF-268', 'AYI ( KANTIN )', 'NIK-CIF-268', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('c278d43c-274f-497a-866a-eaffca118b4f', 'SAV-1-CIF-268', '3c99057f-4f9b-4927-8eab-f2d4e6eaf00e', 1, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ff2b3cc0-28b6-4eb6-8970-6ffe1f754127', 'SAV-2-CIF-268', '3c99057f-4f9b-4927-8eab-f2d4e6eaf00e', 2, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('dfe521d1-b6c2-404e-8c9d-1e0c3746ac5c', 'SAV-3-CIF-268', '3c99057f-4f9b-4927-8eab-f2d4e6eaf00e', 3, 0, true);

-- Member: OMH ( KANTIN )
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('63d84956-7616-4c09-a633-e4fd0e15def0', 'member269@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'OMH ( KANTIN )', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('98247df1-e9fb-4fd6-bacc-3b1df33509fe', '63d84956-7616-4c09-a633-e4fd0e15def0', 'CIF-269', 'CIF-269', 'OMH ( KANTIN )', 'NIK-CIF-269', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('fcc6b71a-d18f-41ad-a919-3fd20e8ff723', 'SAV-1-CIF-269', '98247df1-e9fb-4fd6-bacc-3b1df33509fe', 1, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('b4cbed43-0a41-43c6-8435-a03aba82514a', 'SAV-2-CIF-269', '98247df1-e9fb-4fd6-bacc-3b1df33509fe', 2, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('d0b54cb0-b7fb-472b-933c-4d4098d90621', 'SAV-3-CIF-269', '98247df1-e9fb-4fd6-bacc-3b1df33509fe', 3, 0, true);

-- Member: YANTIE ( KANTIN )
INSERT INTO users (id, email, password_hash, role, full_name, is_active) VALUES ('17d79251-942f-461c-b6bf-79c81f91a226', 'member270@koperasi.id', '$2b$12$j//s4LDRiZuCsd5/yShxEuJAgItkA0Vx0MPQqnPGa/43hZFXlnui6', 'member', 'YANTIE ( KANTIN )', true);
INSERT INTO members (id, user_id, cif, member_number, full_name, nik, status, join_date) VALUES ('e505efb6-1403-4f05-b8b9-3ef012bd1288', '17d79251-942f-461c-b6bf-79c81f91a226', 'CIF-270', 'CIF-270', 'YANTIE ( KANTIN )', 'NIK-CIF-270', 'active', CURRENT_DATE);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('76eb2fa6-992c-4670-adea-c156ab25ed0d', 'SAV-1-CIF-270', 'e505efb6-1403-4f05-b8b9-3ef012bd1288', 1, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('01d37337-c5a8-49b6-86e5-0f752af8fda7', 'SAV-2-CIF-270', 'e505efb6-1403-4f05-b8b9-3ef012bd1288', 2, 0, true);
INSERT INTO savings_accounts (id, account_number, member_id, product_id, balance, is_active) VALUES ('ade66c7b-2086-4237-af2a-2dca1b674589', 'SAV-3-CIF-270', 'e505efb6-1403-4f05-b8b9-3ef012bd1288', 3, 0, true);

COMMIT;