-- TimeTrack Pro - Donnees de test
-- A executer via run_access_query de VBA MCP Server

-- ============================================================
-- CLIENTS
-- ============================================================
INSERT INTO tbl_Clients (Nom, Email, Telephone, Notes)
VALUES ('Acme Corporation', 'contact@acme.com', '01 23 45 67 89', 'Client principal');

INSERT INTO tbl_Clients (Nom, Email, Telephone, Notes)
VALUES ('Tech Solutions', 'info@techsol.fr', '01 98 76 54 32', 'Startup tech');

INSERT INTO tbl_Clients (Nom, Email, Telephone, Notes)
VALUES ('Freelance Direct', 'hello@freelance.io', '', 'Plateforme freelance');

INSERT INTO tbl_Clients (Nom, Email, Telephone, Notes)
VALUES ('Marketing Pro', 'contact@marketingpro.fr', '06 11 22 33 44', 'Agence marketing');

-- ============================================================
-- PROJETS
-- ============================================================
-- Acme Corporation (ClientID = 1)
INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (1, 'Site Web Corporate', 'Refonte du site web principal', 75, True);

INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (1, 'Maintenance Mensuelle', 'Support et maintenance', 60, True);

-- Tech Solutions (ClientID = 2)
INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (2, 'API Backend', 'Developpement API REST', 85, True);

INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (2, 'App Mobile', 'Application iOS/Android', 90, True);

-- Freelance Direct (ClientID = 3)
INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (3, 'Consulting Tech', 'Conseil et accompagnement', 100, True);

-- Marketing Pro (ClientID = 4)
INSERT INTO tbl_Projets (ClientID, Nom, Description, TauxHoraire, Actif)
VALUES (4, 'Campagne SEO', 'Optimisation referencement', 70, True);

-- ============================================================
-- TEMPS
-- ============================================================
-- Site Web Corporate
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (1, #2025-01-02#, 3.5, 'Maquettes et wireframes');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (1, #2025-01-03#, 4.0, 'Integration HTML/CSS');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (1, #2025-01-06#, 5.5, 'Developpement pages dynamiques');

-- Maintenance Mensuelle
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (2, #2025-01-07#, 1.5, 'Mise a jour plugins');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (2, #2025-01-08#, 2.0, 'Correction bugs mineurs');

-- API Backend
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (3, #2025-01-02#, 6.0, 'Architecture et endpoints');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (3, #2025-01-03#, 7.0, 'Implementation CRUD');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (3, #2025-01-06#, 4.5, 'Tests unitaires');

-- App Mobile
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (4, #2025-01-07#, 5.0, 'Setup projet React Native');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (4, #2025-01-08#, 6.5, 'Ecrans principaux');

-- Consulting Tech
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (5, #2025-01-03#, 2.0, 'Reunion strategie technique');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (5, #2025-01-09#, 3.0, 'Audit architecture existante');

-- Campagne SEO
INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (6, #2025-01-06#, 4.0, 'Analyse mots-cles');

INSERT INTO tbl_Temps (ProjetID, Date, Duree, Description)
VALUES (6, #2025-01-08#, 3.5, 'Optimisation on-page');
