hospital-applets-api/app/Model/DoctorWord.php
2023-02-24 13:36:40 +08:00

36 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $doctor_words_id 主键id
* @property int $doctor_id 医生id
* @property int $words_type 类型1:图文问诊 2:开具处方)
* @property int $words_status 状态0:禁用 1:启用)
* @property int $sort 排序值(越大排序越靠前)
* @property string $words 常用语
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
*/
class DoctorWord extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'doctor_words';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['doctor_words_id', 'doctor_id', 'words_type', 'words_status', 'sort', 'words', 'created_at', 'updated_at'];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['doctor_words_id' => 'integer', 'doctor_id' => 'integer', 'words_type' => 'integer', 'words_status' => 'integer', 'sort' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}