<?php
namespace Modules\Newsletter\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Modules\Newsletter\Models\NewsletterReply;

class Newsletter  extends Model
{
    use SoftDeletes;


    protected $fillable = [
        'email',
    ];


    /**
     * Return all replies for message
     * @return HasMany
     */
    public function replies() :HasMany
    {
        return $this->hasMany(NewsletterReply::class);
    }


}
