This commit is contained in:
2023-03-16 10:17:44 +08:00
parent d19a1271d3
commit 21fe6be452
18 changed files with 297 additions and 132 deletions
+2 -5
View File
@@ -16,11 +16,8 @@ use Hyperf\Snowflake\Concern\Snowflake;
* @property string $union_id 微信开放平台唯一标识
* @property string $wx_session_key 微信会话密钥
* @property int $status 状态(0:禁用 1:正常 2:删除)
* @property string $mobile 电话
* @property int $sex 性别(0:未知 1:男 2:女)
* @property int $age 年龄
* @property string $avatar 头像
* @property int $is_online 是否在线(0:不在线 1:在线)
* @property string $avatar 头像
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
*/
@@ -36,7 +33,7 @@ class UserPharmacist extends Model
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['pharmacist_id', 'user_id', 'user_name', 'open_id', 'union_id', 'wx_session_key', 'status', 'mobile', 'sex', 'age', 'avatar', 'is_online', 'created_at', 'updated_at'];
protected array $fillable = ['pharmacist_id', 'user_id', 'user_name', 'open_id', 'union_id', 'wx_session_key', 'status', 'is_online', 'avatar', 'created_at', 'updated_at'];
/**
* The attributes that should be cast to native types.