e57070d7d65536d942bed0e24d9a46303349fe45.svn-base 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package cn.com.goldenwater.dcproj.utils;
  2. /**
  3. * 常量类
  4. *
  5. * @author zhaotianlong
  6. * @date: 2019-08-16
  7. */
  8. public class Constant {
  9. /**
  10. * 字符串:空白
  11. */
  12. public static final String STRING_BLANK = "";
  13. /**
  14. * 字符串:0
  15. */
  16. public static final String STRING_ZERO = "0";
  17. /**
  18. * 字符串:1
  19. */
  20. public static final String STRING_ONE = "1";
  21. /**
  22. * 字符串:2
  23. */
  24. public static final String STRING_TWO = "2";
  25. /**
  26. * 字符串:3
  27. */
  28. public static final String STRING_THREE = "3";
  29. /**
  30. * 字符串:4
  31. */
  32. public static final String STRING_FORE = "4";
  33. /**
  34. * 字符串::
  35. */
  36. public static final String STRING_COLON = ":";
  37. /**
  38. * 字符串:utf-8
  39. */
  40. public static final String STRING_UTF8 = "UTF-8";
  41. /**
  42. * 字符串:MD5
  43. */
  44. public static final String STRING_MD5 = "MD5";
  45. /**
  46. * 数字 0
  47. */
  48. public static final int INT_ZERO = 0;
  49. /**
  50. * 数字:1
  51. */
  52. public static final int INT_ONE = 1;
  53. /**
  54. * 数字 2
  55. */
  56. public static final int INT_TWO = 2;
  57. /**
  58. * 数字:3
  59. */
  60. public static final int INT_THREE = 3;
  61. /**
  62. * 数字 6
  63. */
  64. public static final int INT_SIX = 6;
  65. /**
  66. * 数字 10
  67. */
  68. public static final int INT_TEEN = 10;
  69. /**
  70. * 数字 16
  71. */
  72. public static final int INT_SIXTEEN = 16;
  73. /**
  74. * 数字 18
  75. */
  76. public static final int INT_EIGHTEEN = 18;
  77. /**
  78. * 重复值错误信息
  79. */
  80. public static final String REPEAT_ERROR = "登记信息已存在,请勿重复添加!";
  81. }