-- 1. Roles
INSERT IGNORE INTO roles (id, name, constant, createdAt, updatedAt) VALUES 
(1, 'Super Admin', 'SUPER_ADMIN', NOW(), NOW()),
(2, 'Finance Manager', 'FINANCE', NOW(), NOW()),
(3, 'Human Resources', 'HR', NOW(), NOW());

-- 3. Income Categories
INSERT IGNORE INTO incomecategories (name, description, isActive, createdAt, updatedAt) VALUES 
('Software Development', 'Custom software services', 1, NOW(), NOW()),
('Consulting', 'Business and tech consulting', 1, NOW(), NOW()),
('SaaS Subscription', 'Monthly recurring revenue', 1, NOW(), NOW()),
('CRM Import (Sales)', 'Imported from external CRM', 1, NOW(), NOW());

-- 4. Expense Categories
INSERT IGNORE INTO expensecategories (name, description, isActive, createdAt, updatedAt) VALUES 
('Office Rent', 'Monthly office space rent', 1, NOW(), NOW()),
('Salaries & Wages', 'Employee monthly salaries', 1, NOW(), NOW()),
('Software Licenses', 'Tools and subscriptions', 1, NOW(), NOW()),
('Utilities', 'Internet, electricity, water', 1, NOW(), NOW()),
('Commissions & Bonuses', 'Sales commissions and performance bonuses', 1, NOW(), NOW());

-- 5. Banks (Default Mock Bank)
INSERT IGNORE INTO banks (accountName, accountNumber, bankName, balance, currency, isDefault, createdAt, updatedAt) VALUES 
('Primary Business Account', '1234567890', 'Equity Bank', 0.00, 'KES', 1, NOW(), NOW());
