server:
  port: 8080
  servlet:
    context-path: /api

spring:
  profiles:
    active: dev
  application:
    name: pet-hospital
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss

mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      id-type: auto
      logic-delete-field: deleted
      logic-delete-value: 1
      logic-not-delete-value: 0
  mapper-locations: classpath*:mapper/**/*.xml

# 数据库配置
database:
  type: mysql

# JWT配置
jwt:
  secret: pet-hospital-secret-key-2024-guanpengfei-graduate-design
  expiration: 86400000 # 24小时

# 文件上传配置
file:
  upload-path: /tmp/pet-hospital/uploads/
  max-size: 10MB
