refactor: rename prestataire to constructeur

This commit is contained in:
Matthieu
2025-09-17 08:50:07 +02:00
parent 4d2d552391
commit e8aeaf98e9
36 changed files with 796 additions and 783 deletions

View File

@@ -109,7 +109,7 @@ MACHINE_RESPONSE=$(curl -s -X POST $BASE_URL/machines \
\"name\": \"Convoyeur CB-500\",
\"siteId\": \"$SITE_ID\",
\"reference\": \"CB-500-001\",
\"prestataire\": \"TransportTech\",
\"constructeur\": \"TransportTech\",
\"prix\": \"75000.00\",
\"emplacement\": \"Zone B - Secteur 1\",
\"typeMachineId\": \"$TYPE_MACHINE_ID\"
@@ -133,7 +133,7 @@ COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/composants \
\"name\": \"Moteur Principal\",
\"machineId\": \"$MACHINE_ID\",
\"reference\": \"MP-001\",
\"prestataire\": \"MotorTech\",
\"constructeur\": \"MotorTech\",
\"prix\": \"15000.00\",
\"emplacement\": \"Zone moteur\",
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
@@ -155,7 +155,7 @@ SOUS_COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/composants \
\"machineId\": \"$MACHINE_ID\",
\"parentComposantId\": \"$COMPOSANT_ID\",
\"reference\": \"RV-001\",
\"prestataire\": \"GearTech\",
\"constructeur\": \"GearTech\",
\"prix\": \"8000.00\",
\"emplacement\": \"Zone réducteur\",
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
@@ -187,7 +187,7 @@ PIECE_MACHINE_RESPONSE=$(curl -s -X POST $BASE_URL/pieces \
\"name\": \"Bande Transporteuse\",
\"machineId\": \"$MACHINE_ID\",
\"reference\": \"BT-001\",
\"prestataire\": \"BeltTech\",
\"constructeur\": \"BeltTech\",
\"prix\": \"5000.00\",
\"emplacement\": \"Zone bande\",
\"typePieceId\": \"$TYPE_PIECE_ID\"
@@ -208,7 +208,7 @@ PIECE_COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/pieces \
\"name\": \"Roulement Moteur\",
\"composantId\": \"$COMPOSANT_ID\",
\"reference\": \"RM-001\",
\"prestataire\": \"BearingTech\",
\"constructeur\": \"BearingTech\",
\"prix\": \"500.00\",
\"emplacement\": \"Zone roulement\",
\"typePieceId\": \"$TYPE_PIECE_ID\"