注释类型 ExcelColumn


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface ExcelColumn
    Excel列信息
    版本:
    1.0 2020年12月12日
    作者:
    Bangbang
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      int index  
      int max  
      int min  
      boolean required  
      org.apache.poi.ss.usermodel.CellType type  
    • 元素详细资料

      • index

        int index
        返回:
        列编号(从0开始)
        默认值:
        0
      • type

        org.apache.poi.ss.usermodel.CellType type
        返回:
        数据类型
        默认值:
        org.apache.poi.ss.usermodel.CellType.BLANK
      • min

        int min
        返回:
        数值类型字段的取值范围最小值
        默认值:
        -2147483648
      • max

        int max
        返回:
        数值类型字段的取值范围最大值
        默认值:
        2147483647
      • required

        boolean required
        返回:
        是否必填
        默认值:
        false