You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
448 B
25 lines
448 B
package com.qs.cost.common.conf;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
/**
|
|
* @author YenHex
|
|
* @since 2022/7/7
|
|
*/
|
|
|
|
@Getter
|
|
@Setter
|
|
@Component
|
|
@ConfigurationProperties(prefix = "server.timetable")
|
|
public class MainServerProperties {
|
|
|
|
private String host;
|
|
|
|
private String book;
|
|
|
|
private String year;
|
|
|
|
}
|
|
|