# 활성 프로파일 설정 (dev / test / prod)
spring:
  profiles:
    active: test

  thymeleaf:
    encoding: UTF-8
    mode: HTML

  datasource:
    hikari:
      connection-init-sql: "SET NAMES utf8mb4"

mybatis:
  mapper-locations: classpath:mapper/**/*.xml
  type-aliases-package: com.owrawww.domain
  configuration:
    map-underscore-to-camel-case: true

server:
  servlet:
    encoding:
      charset: UTF-8
      force: true
    multipart:
      enabled: true
      max-file-size: 10MB
      max-request-size: 11MB

app:
  upload:
    path: D:/uploads/owrawww/careers  # 기본값 (프로파일별로 override)
  encryption:
    key: PIYAsB81yr7uETVoM/E7Sz9Sp5kNB46uHyjnfQE3XOs=  # AES-256 키 (운영에서는 반드시 별도 키로 교체)
  hash:
    salt: ${APP_HASH_SALT:3DBD3CD58A81C407AD0D3E10515DAD7544E70911A2E43EF3A07042B102D41716}  # 환경변수 우선, 없으면 기본값
