-- Admin User (password: admin123)
INSERT INTO users (name, email, password, role) VALUES 
('Administrador', 'admin@dnsblock.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'admin');

-- Demo Client
INSERT INTO clients (name, asn, email, financial_email, status) VALUES 
('Provedor Exemplo Ltda', 'AS12345', 'contato@provedor.com', 'financeiro@provedor.com', 'active');

-- Client User (password: client123)
INSERT INTO users (name, email, password, role, client_id) VALUES 
('João Cliente', 'joao@provedor.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'client', 1);

-- Demo Server
INSERT INTO servers (client_id, name, ip_v4, serial_key, status) VALUES 
(1, 'DNS Principal SP', '192.168.1.100', 'a1b2c3d4e5f600001111222233334444', 'active');

-- Demo Order
INSERT INTO orders (title, type, content, received_at) VALUES 
('Processo TJ-SP 001/2024', 'block', 'Determina-se o bloqueio dos domínios listados por conterem conteúdo ilícito.', NOW());

-- Demo Domains
INSERT INTO domains (name, status, last_order_id) VALUES 
('jogos-ilegais.com', 'blocked', 1),
('apostas-nao-reg.net', 'blocked', 1);

-- Order Items
INSERT INTO order_items (order_id, domain_id, action) VALUES 
(1, 1, 'block'),
(1, 2, 'block');
