package xtools.boot.log.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * <p>Title : RunInfoConfig</p>
 * <p>Description : RunInfoConfig</p>
 * <p>DevelopTools : Idea_x64_v2026.1</p>
 * <p>DevelopSystem : macOS Sequoia 15.7.5</p>
 * <p>Company : org.xujun</p>
 *
 * @author : XuJun
 * @version : 5.0.0
 * @date : 2026/2/3 14:17
 */
@Getter
@Component
public class RunInfoConfig {

    /**
     * 应用名称
     */
    @Value("${spring.application.name:xtools-boot}")
    private String name;

    /**
     * 应用端口
     */
    @Value("${server.port:8080}")
    private int port;
}
