package com.lingniu.ingest.vehiclestat.config;

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

@ConfigurationProperties(prefix = "lingniu.ingest.vehicle-stat")
public class VehicleStatProperties {

    /** 统计自然日口径，默认按国内业务使用东八区。 */
    private String zoneId = "Asia/Shanghai";

    private Jt808 jt808 = new Jt808();

    public String getZoneId() {
        return zoneId;
    }

    public void setZoneId(String zoneId) {
        this.zoneId = zoneId;
    }

    public Jt808 getJt808() {
        return jt808;
    }

    public void setJt808(Jt808 jt808) {
        this.jt808 = jt808;
    }

    public static class Jt808 {
        private boolean enabled;

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    }
}
