30], [['car_name'], 'string', 'max' => 100], [['car_model'], 'string', 'max' => 150] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'account_id' => 'Account ID', 'id' => 'ID', 'vin' => 'Vin', 'car_name' => 'Car Name', 'car_mfa_id' => 'Car Mfa ID', 'car_model' => 'Car Model', 'car_mod_id' => 'Car Mod ID', 'timestamp' => 'Timestamp', ]; } /** * @return \yii\db\ActiveQuery */ public function getAccountsVinDetails() { return $this->hasMany(AccountsVinDetails::className(), ['account_id' => 'account_id', 'id' => 'id']); } }