tech.mhuang.pacebox.springboot.autoconfiguration.rest.RestSingleProperties Maven / Gradle / Ivy
package tech.mhuang.pacebox.springboot.autoconfiguration.rest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import tech.mhuang.pacebox.springboot.autoconfiguration.ConfigConsts;
/**
* 单机版调用,此类非微服务
*
* @author mhuang
* @since 1.0.0
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ConfigurationProperties(prefix = ConfigConsts.REST_SINGLE)
public class RestSingleProperties extends RestProperties {
/**
* open single enable default false
*/
private boolean enable;
}