Un début d'ajout pour uploader des images
This commit is contained in:
19
Front/skydivelogs-app/src/models/image.ts
Normal file
19
Front/skydivelogs-app/src/models/image.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export class ImageReq {
|
||||
constructor(data: any) {
|
||||
Object.assign(this, data);
|
||||
}
|
||||
|
||||
public id: number;
|
||||
public comment: string;
|
||||
public data: string;
|
||||
}
|
||||
|
||||
export class ImageResp {
|
||||
constructor(data: any) {
|
||||
Object.assign(this, data);
|
||||
}
|
||||
|
||||
public id: number;
|
||||
public comment: string;
|
||||
public data: string;
|
||||
}
|
||||
Reference in New Issue
Block a user