<?php

namespace App\Utilities;

class PhotoLink
{
    public $id;
    public $file_upload_id;

    public $small;
    public $medium;
    public $large;
    public $retina;

    public $alt;
    public $name;
    public $description;
    public $width;
    public $height;
    public $offsetX;
    public $offsetY;

    public $fill = 1;
    public $span = 1;
    public $vertical_span = 1;

    // Link attributes
    public $link;
    public $title;

    public function __construct($id, $file_upload_id, $small, $medium, $large, $retina, $alt, $name, $description, $width, $height, $offsetX, $offsetY, $link, $title)
    {
        $this->id = $id;

        $this->file_upload_id = $file_upload_id;

        $this->small = $small;
        $this->medium = $medium;
        $this->large = $large;
        $this->retina = $retina;

        $this->alt = $alt;
        $this->name = $name;
        $this->description = $description;
        $this->width = $width;
        $this->height = $height;
        $this->offsetX = $offsetX;
        $this->offsetY = $offsetY;

        $this->link = $link;
        $this->title = $title;
    }
}
