content: package at.alirezamoh.whisperer_for_laravel.actions.models;
  
  import at.alirezamoh.whisperer_for_laravel.settings.SettingsState;
  import at.alirezamoh.whisperer_for_laravel.support.ProjectDefaultPaths;
  
  /**
   * Model representing a middleware class
   */
  public class DBSeederModel extends BaseModel {
      /**
       * @param name                      The name of the db seeder
       * @param unformattedModuleFullPath The unformatted module full path
       * @param formattedModuleFullPath   The formatted module full path
       */
      public DBSeederModel(
          SettingsState settingsState,
          String name,
          String unformattedModuleFullPath,
          String formattedModuleFullPath
      )
      {
          super(
              settingsState,
              name,
              unformattedModuleFullPath,
              formattedModuleFullPath,
              ProjectDefaultPaths.DB_SEEDER_PATH,
              "Seeder",
              ".php",
              "Database\\Seeders"
          );
  
          if (unformattedModuleFullPath.equals("/app") || unformattedModuleFullPath.isEmpty()) {
              this.formattedModuleFullPath = "";
              initDestination();
              initNamespace("Database\\Seeders");
              initFilePath();
          }
          else {
              initDestination();
              initNamespace("Database\\Seeders");
              initFilePath();
          }
      }
  
      @Override
      public void setWithoutModuleSrc() {
          this.withoutModuleSrcPath = true;
      }
  }
  