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 laravel console command
   */
  public class MailableModel extends BaseModel {
      private boolean shouldQueue;
  
      private boolean markdownView;
  
      private String viewName;
  
      private boolean useNewSyntax;
  
      /**
       * @param name                      The name of the mailable class
       * @param unformattedModuleFullPath The unformatted module full path
       * @param formattedModuleFullPath   The formatted module full path
       */
      public MailableModel(
          SettingsState settingsState,
          String name,
          String unformattedModuleFullPath,
          String formattedModuleFullPath,
          String viewName,
          boolean shouldQueue,
          boolean markdownView,
          boolean useNewSyntax
      )
      {
          super(
              settingsState,
              name,
              unformattedModuleFullPath,
              formattedModuleFullPath,
              ProjectDefaultPaths.MAILABLE_PATH,
              "Mail",
              ".php",
              "Mail"
          );
  
          this.shouldQueue = shouldQueue;
          this.markdownView = markdownView;
          this.viewName = viewName;
          this.useNewSyntax = useNewSyntax;
      }
  
      public boolean isShouldQueue() {
          return shouldQueue;
      }
  
      public boolean isMarkdownView() {
          return markdownView;
      }
  
      public String getViewName() {
          return viewName;
      }
  
      public boolean isUseNewSyntax() {
          return useNewSyntax;
      }
  
      @Override
      public void setWithoutModuleSrc() {
          this.withoutModuleSrcPath = false;
      }
  }
  