<?php

class Image {

    public $id;
    public $caption;
    public $filename;
    public $created_at;

    public function __construct($id, $caption, $filename) {
        $this->id = $id;
        $this->caption = $caption;
        $this->filename = $filename;
    }
}
?>