mirror of https://github.com/alibaba/easyexcel
87 lines
1.6 KiB
87 lines
1.6 KiB
package function.model; |
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
import com.alibaba.excel.metadata.BaseRowModel; |
|
|
|
/** |
|
* @author jipengfei |
|
*/ |
|
public class ExcelPropertyIndexModel extends BaseRowModel { |
|
|
|
@ExcelProperty(value = "姓名" ,index = 0) |
|
private String name; |
|
|
|
@ExcelProperty(value = "年龄",index = 1) |
|
private String age; |
|
|
|
@ExcelProperty(value = "邮箱",index = 2) |
|
private String email; |
|
|
|
@ExcelProperty(value = "地址",index = 3) |
|
private String address; |
|
|
|
@ExcelProperty(value = "性别",index = 4) |
|
private String sax; |
|
|
|
@ExcelProperty(value = "高度",index = 5) |
|
private String heigh; |
|
|
|
@ExcelProperty(value = "备注",index = 6) |
|
private String last; |
|
|
|
public String getName() { |
|
return name; |
|
} |
|
|
|
public void setName(String name) { |
|
this.name = name; |
|
} |
|
|
|
public String getAge() { |
|
return age; |
|
} |
|
|
|
public void setAge(String age) { |
|
this.age = age; |
|
} |
|
|
|
public String getEmail() { |
|
return email; |
|
} |
|
|
|
public void setEmail(String email) { |
|
this.email = email; |
|
} |
|
|
|
public String getAddress() { |
|
return address; |
|
} |
|
|
|
public void setAddress(String address) { |
|
this.address = address; |
|
} |
|
|
|
public String getSax() { |
|
return sax; |
|
} |
|
|
|
public void setSax(String sax) { |
|
this.sax = sax; |
|
} |
|
|
|
public String getHeigh() { |
|
return heigh; |
|
} |
|
|
|
public void setHeigh(String heigh) { |
|
this.heigh = heigh; |
|
} |
|
|
|
public String getLast() { |
|
return last; |
|
} |
|
|
|
public void setLast(String last) { |
|
this.last = last; |
|
} |
|
}
|
|
|