-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
feat: add new base models
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace CSlant\Blog\Core\Models\Base; | ||
|
||
use Botble\Blog\Models\Post as BotblePost; | ||
|
||
class BasePost extends BotblePost | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace CSlant\Blog\Core\Models; | ||
|
||
use CSlant\Blog\Core\Models\Base\BasePost; | ||
|
||
/** | ||
* Class Post | ||
* @package CSlant\Blog\Core\Models | ||
* | ||
* @property int $id | ||
* @property string $name | ||
* @property string $description | ||
* @property string $content | ||
* @property string $status | ||
* @property int $author_id | ||
* @property string $author_type | ||
* @property int $is_featured | ||
* @property int $view | ||
* @property string $format_type | ||
* @property string $created_at | ||
* @property string $updated_at | ||
* @property string $slug | ||
* @property string $url | ||
* @property array $tags | ||
* @property array $categories | ||
* @property string $image | ||
* @property string $author | ||
* @mixin BasePost | ||
*/ | ||
class Post extends BasePost | ||
{ | ||
} |