img chantier

This commit is contained in:
trochas
2025-12-09 11:15:06 +01:00
parent c581f1511f
commit 5b702122e2
9 changed files with 102 additions and 60 deletions

View File

@@ -10,6 +10,7 @@ export class Chantier{
tempsEst : number;
vehicules : Vehicule[];
anomalies : string[];
urlImg : string;
constructor(
id: number,
@@ -22,7 +23,8 @@ export class Chantier{
dateDep: string,
tempsEst: number,
vehicules: Vehicule[],
anomalies: string[]
anomalies: string[],
urlImg: string
) {
this.id = id;
this.adresse = adresse;
@@ -35,6 +37,7 @@ export class Chantier{
this.tempsEst = tempsEst;
this.vehicules = vehicules;
this.anomalies = anomalies;
this.urlImg = urlImg;
}
}
@@ -136,4 +139,17 @@ export class Vehicule {
}
export const exempleChantier = new Chantier(1,"Rennes","en cours","contact",new Chef(1,"Chyeef","YEE",[]),[],[],"01/01/25",10,[],["YEE"])
export const exempleChantier = new Chantier(
1,
"Rennes",
"en cours",
"contact",
new Chef(1,"Chyeef","YEE",[]),
[],
[],
"01/01/25",
10,
[],
["YEE"],
"https://cdn.discordapp.com/attachments/1425108443571945644/1427207643180826757/raw.png?ex=69392bb2&is=6937da32&hm=dcc09e76d3dca89d2418947b46efbd38673b9dc559027724b2e51d493b173bc9&"
)