|
@@ -16,16 +16,16 @@ public class PdfDto {
|
|
String path;
|
|
String path;
|
|
|
|
|
|
@ApiModelProperty(name = "页数")
|
|
@ApiModelProperty(name = "页数")
|
|
- Integer pageCount = 0;
|
|
|
|
|
|
+ int pageCount = 0;
|
|
|
|
|
|
@ApiModelProperty(name = "实际页数")
|
|
@ApiModelProperty(name = "实际页数")
|
|
- Integer actualPageCount = 0;
|
|
|
|
|
|
+ int actualPageCount = 0;
|
|
|
|
|
|
@ApiModelProperty(name = "页面大小")
|
|
@ApiModelProperty(name = "页面大小")
|
|
PageSizeEnum pageSize;
|
|
PageSizeEnum pageSize;
|
|
|
|
|
|
@ApiModelProperty(name = "序号")
|
|
@ApiModelProperty(name = "序号")
|
|
- Integer sequence = 0;
|
|
|
|
|
|
+ int sequence = 0;
|
|
|
|
|
|
@ApiModelProperty(name = "tag")
|
|
@ApiModelProperty(name = "tag")
|
|
boolean tag = true;
|
|
boolean tag = true;
|
|
@@ -39,44 +39,36 @@ public class PdfDto {
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
}
|
|
}
|
|
|
|
|
|
- public PdfDto(String path, PageSizeEnum pageSize, Integer pageCount) {
|
|
|
|
|
|
+ public PdfDto(String path, PageSizeEnum pageSize, int pageCount) {
|
|
this.path = path;
|
|
this.path = path;
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public PdfDto(String path, PageSizeEnum pageSize, Integer pageCount, Integer sequence) {
|
|
|
|
|
|
+ public PdfDto(String path, PageSizeEnum pageSize, int pageCount, int sequence) {
|
|
this.path = path;
|
|
this.path = path;
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
this.sequence = sequence;
|
|
this.sequence = sequence;
|
|
}
|
|
}
|
|
|
|
|
|
- public PdfDto(PageSizeEnum pageSize, Integer pageCount, boolean tag) {
|
|
|
|
|
|
+ public PdfDto(PageSizeEnum pageSize, int pageCount, boolean tag) {
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
this.tag = tag;
|
|
this.tag = tag;
|
|
}
|
|
}
|
|
|
|
|
|
- public PdfDto(PageSizeEnum pageSize, Integer pageCount) {
|
|
|
|
|
|
+ public PdfDto(PageSizeEnum pageSize, int pageCount) {
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public PdfDto(PageSizeEnum pageSize, Integer pageCount, Integer actualPageCount) {
|
|
|
|
|
|
+ public PdfDto(PageSizeEnum pageSize, int pageCount, int actualPageCount) {
|
|
this.pageSize = pageSize;
|
|
this.pageSize = pageSize;
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
this.actualPageCount = actualPageCount;
|
|
this.actualPageCount = actualPageCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getActualPageCount() {
|
|
|
|
- return actualPageCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setActualPageCount(Integer actualPageCount) {
|
|
|
|
- this.actualPageCount = actualPageCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public boolean isTag() {
|
|
public boolean isTag() {
|
|
return tag;
|
|
return tag;
|
|
}
|
|
}
|
|
@@ -85,14 +77,6 @@ public class PdfDto {
|
|
this.tag = tag;
|
|
this.tag = tag;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getSequence() {
|
|
|
|
- return sequence;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setSequence(Integer sequence) {
|
|
|
|
- this.sequence = sequence;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public String getPath() {
|
|
public String getPath() {
|
|
return path;
|
|
return path;
|
|
}
|
|
}
|
|
@@ -101,14 +85,30 @@ public class PdfDto {
|
|
this.path = path;
|
|
this.path = path;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getPageCount() {
|
|
|
|
|
|
+ public int getPageCount() {
|
|
return pageCount;
|
|
return pageCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setPageCount(Integer pageCount) {
|
|
|
|
|
|
+ public void setPageCount(int pageCount) {
|
|
this.pageCount = pageCount;
|
|
this.pageCount = pageCount;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public int getActualPageCount() {
|
|
|
|
+ return actualPageCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setActualPageCount(int actualPageCount) {
|
|
|
|
+ this.actualPageCount = actualPageCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public int getSequence() {
|
|
|
|
+ return sequence;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSequence(int sequence) {
|
|
|
|
+ this.sequence = sequence;
|
|
|
|
+ }
|
|
|
|
+
|
|
public PageSizeEnum getPageSize() {
|
|
public PageSizeEnum getPageSize() {
|
|
return pageSize;
|
|
return pageSize;
|
|
}
|
|
}
|