255], [['name'], 'string', 'max' => 50], [['phone'], 'string', 'max' => 15], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'user_id' => 'User ID', 'store_id' => 'Store ID', 'status' => 'Status', 'check_status' => 'Check Status', 'check_remark' => 'Check Remark', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'name' => 'Name', 'pic' => 'Pic', 'phone' => 'Phone', ]; } public function getStore() { return $this->hasOne(Store::class, ['id' => 'store_id']); } }