*/ protected $fillable = [ 'key', 'value', 'image_settings' ]; /** * Get the brand that owns the url. * * @return BelongsTo */ public function brand() { return $this->belongsTo(Brand::class); } /** * Get the history for the url. * * @return HasMany */ public function history() { return $this->hasMany(UrlHistory::class); } /** * Get the stats for the url. * * @return HasMany */ public function stats() { return $this->hasMany(UrlStats::class); } }