package com.njzscloud.supervisory.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Getter
@Setter
@ToString
@Accessors(chain = true)
@ConfigurationProperties(prefix = "app")
public class AppProperties {

    private int inOutGap = 60;

    private DefaultPlace defaultPlace;

    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    public static class DefaultPlace {
        private String province;
        private String city;
        private String provinceName;
        private String cityName;
    }
}
