1
This commit is contained in:
@@ -9,17 +9,14 @@ namespace App\Model;
|
||||
use Hyperf\Snowflake\Concern\Snowflake;
|
||||
|
||||
/**
|
||||
* @property int $patient_id 主键id
|
||||
* @property int $user_id 用户id
|
||||
* @property string $patient_id 主键id
|
||||
* @property string $user_id 用户id
|
||||
* @property string $user_name 用户名称
|
||||
* @property string $open_id 微信open_id
|
||||
* @property string $union_id 微信开放平台唯一标识
|
||||
* @property string $wx_session_key 微信会话密钥
|
||||
* @property int $status 状态(0:禁用 1:正常 2:删除)
|
||||
* @property int $idcard_status 实名认证状态(0:未认证 1:认证通过 2:认证失败)
|
||||
* @property string $mobile 手机号
|
||||
* @property int $sex 性别(0:未知 1:男 2:女)
|
||||
* @property int $age 年龄
|
||||
* @property string $avatar 头像
|
||||
* @property \Carbon\Carbon $created_at 创建时间
|
||||
* @property \Carbon\Carbon $updated_at 修改时间
|
||||
@@ -36,7 +33,7 @@ class UserPatient extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['patient_id', 'user_id', 'user_name', 'open_id', 'union_id', 'wx_session_key', 'status', 'idcard_status', 'mobile', 'sex', 'age', 'avatar', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['patient_id', 'user_id', 'user_name', 'open_id', 'union_id', 'wx_session_key', 'status', 'idcard_status', 'avatar', 'created_at', 'updated_at'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
|
||||
Reference in New Issue
Block a user