20 lines
272 B
PHP
20 lines
272 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Tag extends Model
|
|
{
|
|
//
|
|
|
|
protected $fillable = [
|
|
'name'
|
|
];
|
|
|
|
public function ejaculations()
|
|
{
|
|
return $this->belongsToMany('App\Ejaculation')->withTimestamps();
|
|
}
|
|
}
|