OnlineDevData.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package jnpf.model;
  2. import lombok.Data;
  3. /**
  4. * 在线开发常用常量
  5. */
  6. @Data
  7. public class OnlineDevData {
  8. /**
  9. * 用于判断是否是有表数据
  10. */
  11. public static final String TABLE_CONST = "[]";
  12. /**
  13. * 详情id副本
  14. */
  15. public static final String INFO_ID = "_id";
  16. //以下列表类型
  17. /**
  18. * 列表类型:1-普通列表
  19. */
  20. public static final Integer COLUMNTYPE_ONE = 1;
  21. /**
  22. * 列表类型:2-左侧树
  23. */
  24. public static final Integer COLUMNTYPE_TOW = 2;
  25. /**
  26. * 列表类型:3-分组
  27. */
  28. public static final Integer COLUMNTYPE_THREE = 3;
  29. /**
  30. * 列表类型:4-行内编辑
  31. */
  32. public static final Integer COLUMNTYPE_FOUR = 4;
  33. /**
  34. * 列表类型:5-树形列表
  35. */
  36. public static final Integer COLUMNTYPE_FIVE = 5;
  37. //状态启用禁用
  38. /**
  39. * 禁用
  40. */
  41. public static final Integer STATE_DISABLE = 0;
  42. /**
  43. * 启用
  44. */
  45. public static final Integer STATE_ENABLE = 1;
  46. //表单类型
  47. /**
  48. * 自定义表单
  49. */
  50. public static final Integer FORM_TYPE_DEV = 1;
  51. /**
  52. * 系统表单
  53. */
  54. public static final Integer FORM_TYPE_SYS = 2;
  55. /**
  56. * 默认分类编码encode
  57. */
  58. public static final String DEFAULT_CATEGATY_ENCODE = "default";
  59. }