Annotation Interface Phone


判断是否为固定电话
Since:
Java 17+
Author:
Kimi Liu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    默认使用的异常码
    默认使用的异常信息
    被校验字段名称
    校验器组
  • Element Details

    • errcode

      String errcode
      默认使用的异常码
      Returns:
      the string
      Default:
      "-1"
    • errmsg

      String errmsg
      默认使用的异常信息
      Returns:
      the string
      Default:
      "${field}\u5fc5\u987b\u4e3a\u56fa\u5b9a\u7535\u8bdd"
    • group

      String[] group
      校验器组
      Returns:
      the array
      Default:
      {}
    • field

      String field
      被校验字段名称
      Returns:
      the string
      Default:
      "field"