for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Eddy <[email protected]>
*/
namespace App\Model\Admin;
class CommentOperateLog extends Model
{
protected $guarded = [];
public function user()
return $this->belongsTo('App\Model\Front\User', 'user_id');
}
public function comment()
return $this->belongsTo('App\Model\Admin\Comment', 'comment_id');