tissue/app/Tag.php

20 lines
272 B
PHP
Raw Permalink Normal View History

2018-01-08 08:50:22 +09:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tag extends Model
{
//
protected $fillable = [
'name'
];
public function ejaculations()
{
return $this->belongsToMany('App\Ejaculation')->withTimestamps();
}
}