初始化项目
This commit is contained in:
34
app/Models/YiiModels/DoctorArticle.php
Normal file
34
app/Models/YiiModels/DoctorArticle.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\YiiModels;
|
||||
|
||||
use App\Models\Extend\SoftDeletesInt;
|
||||
|
||||
/**
|
||||
* App\Models\YiiModels\DoctorArticle
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $su_id 医生id
|
||||
* @property string|null $cover 封面
|
||||
* @property string $title 文章标题
|
||||
* @property string|null $intro 简介
|
||||
* @property string|null $content 内容
|
||||
* @property string|null $video_url 视频链接
|
||||
* @property int $read_num 阅读量
|
||||
* @property int $collection
|
||||
* @property int $is_draft 是否是草稿0否1是
|
||||
* @property \Illuminate\Support\Carbon $created_at
|
||||
* @property \Illuminate\Support\Carbon $updated_at
|
||||
* @property int $is_delete
|
||||
* @property-read string $created_at_format 创建时间的格式化
|
||||
* @property-read string $status_string 状态名称
|
||||
* @property-read string $updated_at_format 更新时间的格式化
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\DoctorArticle newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\DoctorArticle newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\YiiModels\DoctorArticle query()
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class DoctorArticle extends YiiBaseModel
|
||||
{
|
||||
use SoftDeletesInt;
|
||||
}
|
||||
Reference in New Issue
Block a user