package de.votian.services.config;

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

@ConfigurationProperties(prefix = "votian.scheduling")
public class LegacySchedulingProperties {

    private String zone = "Europe/Berlin";
    private boolean enabled = true;
    private String authSessionCleanupCron = "0 */5 * * * *";
    private String courierAutoLogoutCron = "0 */30 * * * *";
    private long courierAutoLogoutHeadquartersId = 3L;
    private String acceptanceProtocolMailCron = "0 */5 * * * *";
    private String acceptanceProtocolLetterCron = "30 */5 * * * *";
    private int acceptanceProtocolMailLookbackDays = 1;
    private int acceptanceProtocolLetterLookbackDays = 3;
    private String acceptanceProtocolLetterFtpProfile = "MPS1";

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public boolean isEnabled() {
        return enabled;
    }

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

    public String getAuthSessionCleanupCron() {
        return authSessionCleanupCron;
    }

    public void setAuthSessionCleanupCron(String authSessionCleanupCron) {
        this.authSessionCleanupCron = authSessionCleanupCron;
    }

    public String getCourierAutoLogoutCron() {
        return courierAutoLogoutCron;
    }

    public void setCourierAutoLogoutCron(String courierAutoLogoutCron) {
        this.courierAutoLogoutCron = courierAutoLogoutCron;
    }

    public long getCourierAutoLogoutHeadquartersId() {
        return courierAutoLogoutHeadquartersId;
    }

    public void setCourierAutoLogoutHeadquartersId(long courierAutoLogoutHeadquartersId) {
        this.courierAutoLogoutHeadquartersId = courierAutoLogoutHeadquartersId;
    }

    public String getAcceptanceProtocolMailCron() {
        return acceptanceProtocolMailCron;
    }

    public void setAcceptanceProtocolMailCron(String acceptanceProtocolMailCron) {
        this.acceptanceProtocolMailCron = acceptanceProtocolMailCron;
    }

    public String getAcceptanceProtocolLetterCron() {
        return acceptanceProtocolLetterCron;
    }

    public void setAcceptanceProtocolLetterCron(String acceptanceProtocolLetterCron) {
        this.acceptanceProtocolLetterCron = acceptanceProtocolLetterCron;
    }

    public int getAcceptanceProtocolMailLookbackDays() {
        return acceptanceProtocolMailLookbackDays;
    }

    public void setAcceptanceProtocolMailLookbackDays(int acceptanceProtocolMailLookbackDays) {
        this.acceptanceProtocolMailLookbackDays = acceptanceProtocolMailLookbackDays;
    }

    public int getAcceptanceProtocolLetterLookbackDays() {
        return acceptanceProtocolLetterLookbackDays;
    }

    public void setAcceptanceProtocolLetterLookbackDays(int acceptanceProtocolLetterLookbackDays) {
        this.acceptanceProtocolLetterLookbackDays = acceptanceProtocolLetterLookbackDays;
    }

    public String getAcceptanceProtocolLetterFtpProfile() {
        return acceptanceProtocolLetterFtpProfile;
    }

    public void setAcceptanceProtocolLetterFtpProfile(String acceptanceProtocolLetterFtpProfile) {
        this.acceptanceProtocolLetterFtpProfile = acceptanceProtocolLetterFtpProfile;
    }
}
