content: /*
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
   ~                                                                               ~
   ~ The MIT License (MIT)                                                         ~
   ~                                                                               ~
   ~ Copyright (c) 2015-2025 miaixz.org and other contributors.                    ~
   ~                                                                               ~
   ~ Permission is hereby granted, free of charge, to any person obtaining a copy  ~
   ~ of this software and associated documentation files (the "Software"), to deal ~
   ~ in the Software without restriction, including without limitation the rights  ~
   ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell     ~
   ~ copies of the Software, and to permit persons to whom the Software is         ~
   ~ furnished to do so, subject to the following conditions:                      ~
   ~                                                                               ~
   ~ The above copyright notice and this permission notice shall be included in    ~
   ~ all copies or substantial portions of the Software.                           ~
   ~                                                                               ~
   ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR    ~
   ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,      ~
   ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE   ~
   ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER        ~
   ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ~
   ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN     ~
   ~ THE SOFTWARE.                                                                 ~
   ~                                                                               ~
   ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  */
  package org.miaixz.bus.starter.image;
  
  import org.miaixz.bus.spring.GeniusBuilder;
  import org.springframework.boot.context.properties.ConfigurationProperties;
  
  import lombok.Getter;
  import lombok.Setter;
  
  /**
   * 影像解析配置
   *
   * @author Kimi Liu
   * @since Java 17+
   */
  @Getter
  @Setter
  @ConfigurationProperties(prefix = GeniusBuilder.IMAGE)
  public class ImageProperties {
  
      private Node node = new Node();
  
      /**
       * 是否启用opencv
       */
      private boolean opencv;
      /**
       * 是否启用server
       */
      private boolean server;
      /**
       * 原始文件保存路径
       */
      private String dcmDir;
      /**
       * 转换后图片保存路径
       */
      private String imgDir;
  
      /**
       * 服务器信息
       */
      @Getter
      @Setter
      public class Node {
  
          /**
           * 服务器地址
           */
          private String host;
          /**
           * 端口信息
           */
          private String port;
          /**
           * 服务名称
           */
          private String aeTitle;
  
          /**
           * 是否启用通过UID或名称指定传输
           */
          private boolean negociation;
          /**
           * SOP类和传输语法可以通过其UID或名称指定 sop-classes.properties
           */
          private String sopClasses;
          /**
           * 根据DICOM Part 4, B.3.1.4定义相关的通用SOP类 sop-classes-uid.properties
           */
          private String sopClassesUID;
          /**
           * 扩展Sop类和传输语法的存储传输能力 sop-classes-tcs.properties
           */
          private String sopClassesTCS;
  
      }
  
  }
  