['adressFrom, adressTo', 'length', 'max' => 255],
[['timeStart', 'timeFinish'], 'length', 'max' => 20],
['placeFrom, placeTo, categoryCargo, placeStart, placeFinish', 'numerical', 'integerOnly'=>true],
public $adressFrom;
public $adressTo;
public $placeFrom;
public $placeTo;
public $categoryCargo;
public $timeStart;
public $timeFinish;
public $placeStart;
public $placeFinish;
public $pointStart;
public $pointFinish;
public function attributeNames()
{
return
[
'adressFrom',
'adressTo',
'placeFrom',
'placeTo',
'categoryCargo',
'timeStart',
'timeFinish',
'placeStart',
'placeFinish',
'pointStart',
'pointFinish'
];
}
My::printArr($model->attributes);