TemplateList.java 613 B

123456789101112131415161718192021222324
  1. package templates;
  2. import java.util.HashMap;
  3. @SuppressWarnings("unused")
  4. public class TemplateList {
  5. public static Class<?>[] templates = new Class[] {
  6. TemplateV1.class,
  7. TemplateV1_1.class,
  8. };
  9. public static Class<? extends Enum<?>> errorsTemplate = Errors.class;
  10. public static Class<?> currentTemplate = TemplateV1.class;
  11. /**
  12. * 自动测试时 _role 对应的数据表
  13. */
  14. public HashMap<String, String> testcaseRoleMap = new HashMap<String, String>() {{
  15. put("User", "App\\Models\\User");
  16. put("AdminUser", "App\\Models\\AdminUser");
  17. }};
  18. }