<?php

namespace App\Utilities;

use Carbon\Carbon;

class SocialMediaPost
{
    public $id;
    public $type;
    public $link;
    public $date;
    public $message;
    public $image;
    public $media_type;
    public $embedHtml;
    public $thumbnail;

    public function __construct(
        $id,
        $type,
        $link,
        Carbon $date,
        $message,
        $image,
        $media_type = null,
	$embedHtml = null,
	$thumbnail = null
    ) {
        $this->id = $id;
        $this->type = $type;
        $this->link = $link;
        $this->date = $date;
        $this->message = $message;
        $this->image = $image;
        $this->media_type = $media_type;
	$this->embedHtml = $embedHtml;
	$this->thumbnail = $thumbnail;

    }
}

