package com.alibaba.easyexcel.test.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import java.math.BigDecimal;
import java.util.Date;

public class WriteModel extends BaseWriteModel {

@ExcelProperty(value = {"表头3","表头3","表头3"},index = 2)
private int p3;

@ExcelProperty(value = {"表头1","表头4","表头4"},index = 3)
private long p4;

@ExcelProperty(value = {"表头5","表头51","表头52"},index = 4)
private String p5;

@ExcelProperty(value = {"表头6","表头61","表头611"},index = 5)
private float p6;

@ExcelProperty(value = {"表头6","表头61","表头612"},index = 6)
private BigDecimal p7;

@ExcelProperty(value = {"表头6","表头62","表头621"},index = 7)
private Date p8;

@ExcelProperty(value = {"表头6","表头62","表头622"},index = 8)
private String p9;

@ExcelProperty(value = {"表头6","表头62","表头622"},index = 9)
private double p10;

public String getP1() {
return p1;
}

public void setP1(String p1) {
this.p1 = p1;
}

public String getP2() {
return p2;
}

public void setP2(String p2) {
this.p2 = p2;
}

public int getP3() {
return p3;
}

public void setP3(int p3) {
this.p3 = p3;
}

public long getP4() {
return p4;
}

public void setP4(long p4) {
this.p4 = p4;
}

public String getP5() {
return p5;
}

public void setP5(String p5) {
this.p5 = p5;
}

public float getP6() {
return p6;
}

public void setP6(float p6) {
this.p6 = p6;
}

public BigDecimal getP7() {
return p7;
}

public void setP7(BigDecimal p7) {
this.p7 = p7;
}

public Date getP8() {
return p8;
}

public void setP8(Date p8) {
this.p8 = p8;
}

public String getP9() {
return p9;
}

public void setP9(String p9) {
this.p9 = p9;
}

public double getP10() {
return p10;
}

public void setP10(double p10) {
this.p10 = p10;
}

@Override
public String toString() {
return "JavaModel1{" +
"p1='" + p1 + '\'' +
", p2='" + p2 + '\'' +
", p3=" + p3 +
", p4=" + p4 +
", p5='" + p5 + '\'' +
", p6=" + p6 +
", p7=" + p7 +
", p8=" + p8 +
", p9='" + p9 + '\'' +
", p10=" + p10 +
'}';
}
}

最新文章

  1. 苹果公布WWDC2016时间 并做了个程序员情怀网页
  2. hard
  3. 项目评价及第五周PSP的发布
  4. C#基础总结之四List-Hashtable-冒泡排序
  5. Javascript基础系列之(七)函数(对象和属性)
  6. WPF 动态布局Grid
  7. 【SQL Server】左联接,右联接,内联接的比较
  8. CocoaPods的安装及使用/利用开源库Diplomat实现分享及第三方登录/git的使用
  9. HDU 1671 Phone List(POJ 3630)
  10. 使用buildbot实现持续集成(转载)
  11. HDOJ 3518 Boring counting
  12. 专注VR/AR广告 ,内容感知广告公司Uru获80万美元投资
  13. 拥抱.NET Core系列:MemoryCache 缓存过期
  14. C#之winform实现文件拖拽功能
  15. Unity3d导出Recast geomset.txt
  16. 宝塔Linux面板安装Redis
  17. 50_流程控制函数-case结构
  18. shutdown和close
  19. uwsgi的使用
  20. mysql四-1:单表查询

热门文章

  1. 一文详解 jitpack 多渠道maven库发布
  2. JZOJ 3527.迷宫花坛(garden)
  3. Sonarqube安装(Docker)
  4. CF846F - Random Query
  5. AOP中的一些重要术语简介
  6. cximage总括功能讲解
  7. Docker和Kubernetes网络模型
  8. Ubuntu 安装 Nginx
  9. 28.yield return 语法
  10. 布尔类型:boolean