vc_text admin
This commit is contained in:
@ -26,6 +26,7 @@ use yii\helpers\ArrayHelper;
|
||||
* @property string $deleted_at
|
||||
* @property string $resume
|
||||
* @property string $salary
|
||||
* @property string $vc_text
|
||||
* @property int $position_id
|
||||
* @property int $city
|
||||
*
|
||||
@ -67,7 +68,7 @@ class UserCard extends \yii\db\ActiveRecord
|
||||
return [
|
||||
[['fio', 'status', 'gender', 'email'], 'required'],
|
||||
[['gender', 'status', 'position_id', 'id_user'], 'integer'],
|
||||
[['dob', 'created_at', 'updated_at', 'deleted_at'], 'safe'],
|
||||
[['dob', 'created_at', 'updated_at', 'deleted_at', 'vc_text'], 'safe'],
|
||||
[['fio', 'passport', 'photo', 'email', 'resume', 'city', 'link_vk', 'link_telegram'], 'string', 'max' => 255],
|
||||
[['salary'], 'string', 'max' => 100],
|
||||
[['position_id'], 'exist', 'skipOnError' => true, 'targetClass' => Position::class, 'targetAttribute' => ['position_id' => 'id']],
|
||||
@ -99,6 +100,7 @@ class UserCard extends \yii\db\ActiveRecord
|
||||
'city' => 'Город',
|
||||
'link_vk' => 'VK',
|
||||
'link_telegram' => 'Telegram',
|
||||
'vc_text' => 'Резюме текст'
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user