Annotation Interface SheetHeader


@Target(FIELD) @Retention(RUNTIME) public @interface SheetHeader
简单表头 当使用实体写入时,该注解将作为表头显示 若写入时指定了headers,该注解将被忽略
作者:
Toutatis_Gc
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    表头名称
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    int
    列宽 -1表示使用默认值
  • 元素详细资料

    • name

      String name
      表头名称
    • width

      int width
      列宽 -1表示使用默认值
      默认值:
      -1