EvalueTonSavoir/server/models/image.ts

13 lines
324 B
TypeScript
Raw Normal View History

2024-09-30 21:08:52 -04:00
import { User } from "./user";
2024-03-29 20:08:34 -04:00
export class Image {
2024-03-29 20:08:34 -04:00
2024-09-30 21:08:52 -04:00
constructor(public file_name: string, public file_content: Buffer, public mime_type: string, public owner: User) {
this.file_name = file_name;
this.file_content = file_content;
this.mime_type = mime_type;
this.owner = owner;
2024-03-29 20:08:34 -04:00
}
}