models/Category.php
public function getStoragePath()
    {
        $moduleName = \bariew\postModule\Module::moduleName($this);
        return "@app/web/files/{$moduleName}/"
            . $this->formName() . '/' . $this->id;
    }
public function getStoragePath()
    {
        $moduleName = \bariew\postModule\Module::moduleName($this);
        return "@app/web/files/{$moduleName}/"
            . $this->formName() . '/' . $this->id;
    }
Relative path for saving model files.
@return string path.