|
@@ -8,7 +8,7 @@ use Hyperf\DbConnection\Model\Model;
|
|
|
|
|
|
/**
|
|
/**
|
|
*/
|
|
*/
|
|
-class jobHunting extends Model
|
|
|
|
|
|
+class JobHunting extends Model
|
|
{
|
|
{
|
|
/**
|
|
/**
|
|
* The table associated with the model.
|
|
* The table associated with the model.
|
|
@@ -18,7 +18,43 @@ class jobHunting extends Model
|
|
/**
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
*/
|
|
- protected array $guarded = [];
|
|
|
|
|
|
+ protected array $fillable = [
|
|
|
|
+ // 其他可填充字段
|
|
|
|
+ 'id',
|
|
|
|
+ 'imgurl',
|
|
|
|
+ 'cat_arr_id',
|
|
|
|
+ 'name',
|
|
|
|
+ 'sexy',
|
|
|
|
+ 'self_evaluation',
|
|
|
|
+ 'jobtime',
|
|
|
|
+ 'phone',
|
|
|
|
+ 'wx',
|
|
|
|
+ 'birth',
|
|
|
|
+ 'educational',
|
|
|
|
+ 'marriage',
|
|
|
|
+ 'politic',
|
|
|
|
+ 'origin',
|
|
|
|
+ 'language',
|
|
|
|
+ 'level',
|
|
|
|
+ 'industry',
|
|
|
|
+ 'job',
|
|
|
|
+ 'job_name_get',
|
|
|
|
+ 'experience',
|
|
|
|
+ 'company_nature',
|
|
|
|
+ 'salary',
|
|
|
|
+ 'skillList',
|
|
|
|
+ 'slelf_evaluation',
|
|
|
|
+ 'job_experience',
|
|
|
|
+ 'education_experience',
|
|
|
|
+ 'city_arr_id',
|
|
|
|
+ 'city_id',
|
|
|
|
+ 'website_id',
|
|
|
|
+ 'user_id',
|
|
|
|
+ 'catid',
|
|
|
|
+ 'status',
|
|
|
|
+ 'created_at',
|
|
|
|
+ 'updated_at',
|
|
|
|
+ ];
|
|
|
|
|
|
/**
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
* The attributes that should be cast to native types.
|