diff --git a/src/Models/Role.php b/src/Models/Role.php index 6df053e..1e2add8 100644 --- a/src/Models/Role.php +++ b/src/Models/Role.php @@ -3,9 +3,11 @@ namespace CSlant\Blog\Core\Models; use CSlant\Blog\Core\Models\Base\BaseRole; +use Illuminate\Database\Eloquent\Builder; /** * Class Role + * * @package CSlant\Blog\Core\Models * * @property int $id @@ -19,6 +21,13 @@ * @property int $updated_by * @property string $created_at * @property string $updated_at + * + * @method static Builder|Role newModelQuery() + * @method static Builder|Role newQuery() + * @method static Builder|Role query() + * @method static Builder|Role first() + * @method static Builder|Role find() + * @method static Builder|Role whereCreatedAt($value) */ class Role extends BaseRole { diff --git a/src/Models/User.php b/src/Models/User.php index 4253e9a..cb1161a 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -3,9 +3,11 @@ namespace CSlant\Blog\Core\Models; use CSlant\Blog\Core\Models\Base\BaseUser; +use Illuminate\Database\Eloquent\Builder; /** * Class User + * * @package CSlant\Blog\Core\Models * * @property int $id @@ -20,6 +22,13 @@ * @property string $avatar_url Property for avatar image url * @property Role $roles * + * @method static Builder|User newModelQuery() + * @method static Builder|User newQuery() + * @method static Builder|User query() + * @method static Builder|User first() + * @method static Builder|User find() + * @method static Builder|User whereCreatedAt($value) + * */ class User extends BaseUser {