package com.liquidnet.service.goblin.config.properties;

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

import java.util.Map;

@ConfigurationProperties(prefix = "liquidnet.lxpay")
@Component
@Setter
@Getter
public class AppProperties {

    private Map<String, AppInfo> apps;

    @Data
    public static class AppInfo {

        private String productId;

        private String sysId;

        private String huifuId;

        private String subAppId;

        private String publicKey;

        private String privateKey;

        private String notifyUrl;
    }
}
