add to interview url
This commit is contained in:
31
frontend/modules/api/models/AddToInterviewForm.php
Normal file
31
frontend/modules/api/models/AddToInterviewForm.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace frontend\modules\api\models;
|
||||
|
||||
|
||||
use yii\base\Model;
|
||||
|
||||
/**
|
||||
* Class AddToInterviewForm
|
||||
* @property string $email;
|
||||
* @property string $phone;
|
||||
* @property integer $profile_id;
|
||||
* @package frontend\modules\api\models
|
||||
*/
|
||||
class AddToInterviewForm extends Model
|
||||
{
|
||||
public $email;
|
||||
public $phone;
|
||||
public $profile_id;
|
||||
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['email', 'phone'], 'string'],
|
||||
[['profile_id'], 'integer'],
|
||||
[['skills'], 'checkIsArray'],
|
||||
];
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user