package com.xunhong.erp.turbo.job.config;

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

/**
 * @author shenyifei
 */
@Setter
@Getter
@ConfigurationProperties(prefix = XxlJobProperties.PREFIX)
public class XxlJobProperties {

	public static final String PREFIX = "spring.xxl.job";

	private boolean enabled;

	private String adminAddresses;

	private String userName;

	private String password;

	private String accessToken;

	private String appName;

	private String ip;

	private int port;

	private String logPath;

	private int logRetentionDays = 30;
}
