1 Star 0 Fork 0

ColderWinter / Laravel嵌套评论

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
_ide_helper_models.php 2.93 KB
一键复制 编辑 原始数据 按行查看 历史
ColderWinter 提交于 2017-10-23 17:29 . 创建项目
<?php
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace App{
/**
* App\Comment
*
* @property int $id
* @property int $user_id
* @property int $post_id
* @property int|null $parent_id
* @property string $body
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereParentId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment wherePostId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUserId($value)
*/
class Comment extends \Eloquent {}
}
namespace App{
/**
* App\Post
*
* @property int $id
* @property int $user_id
* @property string $title
* @property string $content
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Post whereUserId($value)
*/
class Post extends \Eloquent {}
}
namespace App{
/**
* App\User
*
* @property int $id
* @property string $name
* @property string $email
* @property string $password
* @property string|null $remember_token
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value)
*/
class User extends \Eloquent {}
}
PHP
1
https://gitee.com/qiushibei/LaravelNestedComments.git
git@gitee.com:qiushibei/LaravelNestedComments.git
qiushibei
LaravelNestedComments
Laravel嵌套评论
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891