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.
26 lines
448 B
26 lines
448 B
3 years ago
|
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;
|
||
|
|
||
|
}
|