|
@@ -3,14 +3,15 @@ package cn.com.qmth.scancentral.bean.card;
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
|
+/**
|
|
|
+ * @author tin.yin
|
|
|
+ * @since 2024/10/8 16:04
|
|
|
+ */
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
-public class CardPageSize {
|
|
|
+public class PageSize {
|
|
|
|
|
|
- @JsonProperty("dpi")
|
|
|
- private int dpi;
|
|
|
-
|
|
|
- @JsonProperty("pageName")
|
|
|
- private String pageName;
|
|
|
+ @JsonProperty("name")
|
|
|
+ private String name;
|
|
|
|
|
|
@JsonProperty("height")
|
|
|
private int height;
|
|
@@ -18,20 +19,12 @@ public class CardPageSize {
|
|
|
@JsonProperty("width")
|
|
|
private int width;
|
|
|
|
|
|
- public int getDpi() {
|
|
|
- return dpi;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDpi(int dpi) {
|
|
|
- this.dpi = dpi;
|
|
|
- }
|
|
|
-
|
|
|
- public String getPageName() {
|
|
|
- return pageName;
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
}
|
|
|
|
|
|
- public void setPageName(String pageName) {
|
|
|
- this.pageName = pageName;
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
}
|
|
|
|
|
|
public int getHeight() {
|