<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * Class CustomerEmailHistory
 *
 * @package App
 */
class CustomerEmailHistory extends Model
{
    /**
     * Table name
     *
     * @var string
     */
    protected $table = 'customer_email_history';

    /**
     * Mass assignable attributes
     *
     * @var string[]
     */
    protected $fillable = [
        'email',
        'subject'
    ];

    /**
     * Cast emails to certain types
     *
     * @var string[]
     */
    protected $casts = [
        'created_at' => 'datetime'
    ];
}
