| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- package com.template.common.utils;
-
- import java.util.LinkedHashMap;
-
- /**
- * @author sunnyzyq
- * @date 2021/12/17
- */
- public class ExcelClassField {
-
- /** 字段名称 */
- private String fieldName;
-
- /** 表头名称 */
- private String name;
-
- /** 映射关系 */
- private LinkedHashMap<String, String> kvMap;
-
- /** 示例值 */
- private Object example;
-
- /** 排序 */
- private int sort;
-
- /** 是否为注解字段:0-否,1-是 */
- private int hasAnnotation;
-
- public String getFieldName() {
- return fieldName;
- }
-
- public void setFieldName(String fieldName) {
- this.fieldName = fieldName;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public LinkedHashMap<String, String> getKvMap() {
- return kvMap;
- }
-
- public void setKvMap(LinkedHashMap<String, String> kvMap) {
- this.kvMap = kvMap;
- }
-
- public Object getExample() {
- return example;
- }
-
- public void setExample(Object example) {
- this.example = example;
- }
-
- public int getSort() {
- return sort;
- }
-
- public void setSort(int sort) {
- this.sort = sort;
- }
-
- public int getHasAnnotation() {
- return hasAnnotation;
- }
-
- public void setHasAnnotation(int hasAnnotation) {
- this.hasAnnotation = hasAnnotation;
- }
-
- }
|