img chantier
This commit is contained in:
@@ -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&"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user