40 lines
913 B
Java
40 lines
913 B
Java
![]() |
package com.codesdream.ase.configure;
|
||
|
|
||
|
import lombok.Data;
|
||
|
import org.springframework.stereotype.Component;
|
||
|
|
||
|
import java.util.HashMap;
|
||
|
import java.util.HashSet;
|
||
|
import java.util.Map;
|
||
|
import java.util.Set;
|
||
|
|
||
|
@Component
|
||
|
public class ActivityFormConfigure {
|
||
|
|
||
|
private static final Set<String> stdActivityForm = new HashSet(){{
|
||
|
add("title");
|
||
|
add("creator");
|
||
|
add("type");
|
||
|
add("description");
|
||
|
add("cycle");
|
||
|
add("volunteers");
|
||
|
add("participate");
|
||
|
add("sign");
|
||
|
add("visible");
|
||
|
add("inform");
|
||
|
add("start-time");
|
||
|
add("remind");
|
||
|
add("enclosure");
|
||
|
add("chief-manager");
|
||
|
add("assist-manager");
|
||
|
add("attendance");
|
||
|
}};
|
||
|
public final static HashMap<String, Set<String>> stdActivityMap;
|
||
|
|
||
|
static {
|
||
|
stdActivityMap = new HashMap() {{
|
||
|
put("activity", stdActivityForm);
|
||
|
}};
|
||
|
}
|
||
|
}
|