mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.0 KiB
61 lines
1.0 KiB
7 years ago
|
package com.alibaba.excel.metadata;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* @author jipengfei
|
||
|
*/
|
||
|
public class Table {
|
||
|
/**
|
||
|
*/
|
||
|
private Class<? extends BaseRowModel> clazz;
|
||
|
|
||
|
/**
|
||
|
*/
|
||
|
private List<List<String>> head;
|
||
|
|
||
|
/**
|
||
|
*/
|
||
|
private Integer tableNo;
|
||
|
|
||
|
/**
|
||
|
*/
|
||
|
private TableStyle tableStyle;
|
||
|
|
||
|
public TableStyle getTableStyle() {
|
||
|
return tableStyle;
|
||
|
}
|
||
|
|
||
|
public void setTableStyle(TableStyle tableStyle) {
|
||
|
this.tableStyle = tableStyle;
|
||
|
}
|
||
|
|
||
|
public Table(Integer tableNo) {
|
||
|
this.tableNo = tableNo;
|
||
|
}
|
||
|
|
||
|
public Class<? extends BaseRowModel> getClazz() {
|
||
|
return clazz;
|
||
|
}
|
||
|
|
||
|
public void setClazz(Class<? extends BaseRowModel> clazz) {
|
||
|
this.clazz = clazz;
|
||
|
}
|
||
|
|
||
|
public List<List<String>> getHead() {
|
||
|
return head;
|
||
|
}
|
||
|
|
||
|
public void setHead(List<List<String>> head) {
|
||
|
this.head = head;
|
||
|
}
|
||
|
|
||
|
public Integer getTableNo() {
|
||
|
return tableNo;
|
||
|
}
|
||
|
|
||
|
public void setTableNo(Integer tableNo) {
|
||
|
this.tableNo = tableNo;
|
||
|
}
|
||
|
}
|