package shop.alien.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "life.user.third-bind")
public class LifeUserThirdBindProperties {

    private boolean enabled = true;

    private Wechat wechat = new Wechat();

    @Data
    public static class Wechat {
        /** 微信开放平台「移动应用」AppID / AppSecret（App 内绑定） */
        private String mobileAppId;
        private String mobileAppSecret;
    }
}
