package com.izouma.nineth.config;

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

@ConfigurationProperties(prefix = "general")
@Data
public class GeneralProperties {
    private String  host;
    private String  contractName;
    private String  name;
    private String  org;
    private String  shortName;
    private String  createOrderGroup;
    private String  createOrderTopic;
//    private String  updateStockGroup;
//    private String  updateStockTopic;
//    private String  updateSaleGroup;
//    private String  updateSaleTopic;
    private String  orderNotifyGroup;
    private String  orderNotifyTopic;
    private String  mintGroup;
    private String  mintTopic;
    private String  updateActivityStockGroup;
    private String  updateActivityStockTopic;
    private String  broadcastEventGroup;
    private String  broadcastEventTopic;
    private boolean notifyServer;
    private int     dataCenterId;
    private int     workerId;

    /**
     * bizId
     */
    private String bizId = "a00e36c5";

    /**
     * kmsKey
     */
    private String kmsKey = "ydtg$@WZ9NH&EB2e";

}
