btxtgxq-system-city/src/main/java/com/cm/systemcity/config/properties/ConstsIdProperties.java
2023-07-12 09:41:55 +08:00

46 lines
878 B
Java

package com.cm.systemcity.config.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "consts-id")
public class ConstsIdProperties {
private Department department;
private Role role;
public Department getDepartment() {
return department;
}
public void setDepartment(Department department) {
this.department = department;
}
public Role getRole() {
return role;
}
public void setRole(Role role) {
this.role = role;
}
public static class Department {
private String ga;
public String getGa() {
return ga;
}
public void setGa(String ga) {
this.ga = ga;
}
}
public static class Role {
}
}