更换model目录

This commit is contained in:
cano
2024-03-04 04:28:48 +08:00
parent f4f61a5f4c
commit bebbee4184
29 changed files with 90 additions and 146 deletions

View File

@ -0,0 +1,22 @@
<?php
namespace App\Models\Api\Comment;
use App\Models\Api\Base\ApiBaseModel;
use Illuminate\Database\Eloquent\SoftDeletes;
class PostCommentModel extends ApiBaseModel
{
use SoftDeletes;
protected $table = 'customer_post_comment';
protected $primaryKey = 'id';
protected $fillable = [
'id',
'pid',
'uid',
'content',
'created_at',
'deleted_at',
];
}