forked from fanruan/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.
270 lines
4.5 KiB
270 lines
4.5 KiB
package function.model; |
|
|
|
import com.alibaba.excel.annotation.ExcelColumnNum; |
|
import com.alibaba.excel.metadata.BaseRowModel; |
|
|
|
/** |
|
* Created by jipengfei on 17/2/18. |
|
*/ |
|
public class OneRowHeadExcelModel extends BaseRowModel { |
|
|
|
@ExcelColumnNum(value = 0) |
|
private String p1; |
|
|
|
@ExcelColumnNum(1) |
|
private String p2; |
|
|
|
@ExcelColumnNum(2) |
|
private int p3; |
|
|
|
@ExcelColumnNum(3) |
|
private long p4; |
|
|
|
@ExcelColumnNum(4) |
|
private String p5; |
|
|
|
@ExcelColumnNum(5) |
|
private String p6; |
|
|
|
@ExcelColumnNum(6) |
|
private String p7; |
|
|
|
@ExcelColumnNum(7) |
|
private String p8; |
|
|
|
@ExcelColumnNum(8) |
|
private String p9; |
|
|
|
@ExcelColumnNum(9) |
|
private String p10; |
|
|
|
@ExcelColumnNum(10) |
|
private String p11; |
|
|
|
@ExcelColumnNum(11) |
|
private String p12; |
|
|
|
@ExcelColumnNum(12) |
|
private String p13; |
|
|
|
@ExcelColumnNum(13) |
|
private String p14; |
|
|
|
@ExcelColumnNum(14) |
|
private String p15; |
|
|
|
@ExcelColumnNum(15) |
|
private String p16; |
|
|
|
@ExcelColumnNum(16) |
|
private String p17; |
|
|
|
@ExcelColumnNum(17) |
|
private String p18; |
|
|
|
@ExcelColumnNum(18) |
|
private String p19; |
|
|
|
@ExcelColumnNum(19) |
|
private String p20; |
|
|
|
@ExcelColumnNum(20) |
|
private String p21; |
|
|
|
|
|
|
|
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 String getP6() { |
|
return p6; |
|
} |
|
|
|
public void setP6(String p6) { |
|
this.p6 = p6; |
|
} |
|
|
|
public String getP7() { |
|
return p7; |
|
} |
|
|
|
public void setP7(String p7) { |
|
this.p7 = p7; |
|
} |
|
|
|
public String getP8() { |
|
return p8; |
|
} |
|
|
|
public void setP8(String p8) { |
|
this.p8 = p8; |
|
} |
|
|
|
public String getP9() { |
|
return p9; |
|
} |
|
|
|
public void setP9(String p9) { |
|
this.p9 = p9; |
|
} |
|
|
|
public String getP10() { |
|
return p10; |
|
} |
|
|
|
public void setP10(String p10) { |
|
this.p10 = p10; |
|
} |
|
|
|
public String getP11() { |
|
return p11; |
|
} |
|
|
|
public void setP11(String p11) { |
|
this.p11 = p11; |
|
} |
|
|
|
public String getP12() { |
|
return p12; |
|
} |
|
|
|
public void setP12(String p12) { |
|
this.p12 = p12; |
|
} |
|
|
|
public String getP13() { |
|
return p13; |
|
} |
|
|
|
public void setP13(String p13) { |
|
this.p13 = p13; |
|
} |
|
|
|
public String getP14() { |
|
return p14; |
|
} |
|
|
|
public void setP14(String p14) { |
|
this.p14 = p14; |
|
} |
|
|
|
public String getP15() { |
|
return p15; |
|
} |
|
|
|
public void setP15(String p15) { |
|
this.p15 = p15; |
|
} |
|
|
|
public String getP16() { |
|
return p16; |
|
} |
|
|
|
public void setP16(String p16) { |
|
this.p16 = p16; |
|
} |
|
|
|
public String getP17() { |
|
return p17; |
|
} |
|
|
|
public void setP17(String p17) { |
|
this.p17 = p17; |
|
} |
|
|
|
public String getP18() { |
|
return p18; |
|
} |
|
|
|
public void setP18(String p18) { |
|
this.p18 = p18; |
|
} |
|
|
|
public String getP19() { |
|
return p19; |
|
} |
|
|
|
public void setP19(String p19) { |
|
this.p19 = p19; |
|
} |
|
|
|
public String getP20() { |
|
return p20; |
|
} |
|
|
|
public void setP20(String p20) { |
|
this.p20 = p20; |
|
} |
|
|
|
public String getP21() { |
|
return p21; |
|
} |
|
|
|
public void setP21(String p21) { |
|
this.p21 = p21; |
|
} |
|
|
|
public String getP1() { |
|
return p1; |
|
} |
|
|
|
public void setP1(String p1) { |
|
this.p1 = p1; |
|
} |
|
|
|
@Override |
|
public String toString() { |
|
return "OneRowHeadExcelModel{" + |
|
"p1='" + p1 + '\'' + |
|
", p2='" + p2 + '\'' + |
|
", p3=" + p3 + |
|
", p4=" + p4 + |
|
", p5='" + p5 + '\'' + |
|
", p6='" + p6 + '\'' + |
|
", p7='" + p7 + '\'' + |
|
", p8='" + p8 + '\'' + |
|
", p9='" + p9 + '\'' + |
|
", p10='" + p10 + '\'' + |
|
", p11='" + p11 + '\'' + |
|
", p12='" + p12 + '\'' + |
|
", p13='" + p13 + '\'' + |
|
", p14='" + p14 + '\'' + |
|
", p15='" + p15 + '\'' + |
|
", p16='" + p16 + '\'' + |
|
", p17='" + p17 + '\'' + |
|
", p18='" + p18 + '\'' + |
|
", p19='" + p19 + '\'' + |
|
", p20='" + p20 + '\'' + |
|
", p21='" + p21 + '\'' + |
|
'}'; |
|
} |
|
}
|
|
|