update socket

This commit is contained in:
2020-02-10 10:23:13 +07:00
parent 6bee84075c
commit adadd350ba
15 changed files with 867 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ class Vehicle extends \yii\db\ActiveRecord {
*/
public function rules() {
return [
[['plate', 'type'], 'required'],
[['plate'], 'required'],
[['company', 'vehicle_type'], 'string'],
[['plate', 'type'], 'string', 'max' => 20],
[['driver', 'telephone', 'indentity_card'], 'string', 'max' => 200],