|
@@ -1,6 +1,10 @@
|
|
|
package com.qmth.distributed.print.business.bean.result;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
import com.qmth.distributed.print.business.enums.BackupMethodEnum;
|
|
|
+import com.qmth.distributed.print.business.enums.DrawRuleEnum;
|
|
|
+import com.qmth.distributed.print.business.enums.PrintPlanStatusEnum;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -11,58 +15,204 @@ import java.util.Map;
|
|
|
* @Date: 2021-04-02
|
|
|
*/
|
|
|
public class PrintPlanResult {
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "印刷计划id")
|
|
|
private Long id;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "印刷计划名称")
|
|
|
private String name;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试开始时间")
|
|
|
private Long examStartTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试结束时间")
|
|
|
private Long examEndTime;
|
|
|
- private Object status;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "印刷计划状态")
|
|
|
+ private PrintPlanStatusEnum status;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "总门次")
|
|
|
private int totalGates;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "总科次")
|
|
|
private int totalSubjects;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "总卷袋数")
|
|
|
private int totalPackages;
|
|
|
- private Object printContent;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "试卷&&题卡印品类型")
|
|
|
+ private String printContent;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "试卷备份方式(考点||场次)")
|
|
|
private BackupMethodEnum backupMethod;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "试卷备份数量")
|
|
|
private int backupCount;
|
|
|
- private List<Map<String,Object>> variableContent;
|
|
|
- private List<Map<String,Object>> ordinaryContent;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "抽卷规则")
|
|
|
+ private DrawRuleEnum drawRule;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "变量印品信息")
|
|
|
+ private List<Map> variableContent;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "普通印品信息")
|
|
|
+ private List<Map> ordinaryContent;
|
|
|
+
|
|
|
+ @JsonIgnore
|
|
|
+ @ApiModelProperty(value = "变量印品JSON临时接收属性")
|
|
|
+ private String variableContentTemp;
|
|
|
+
|
|
|
+ @JsonIgnore
|
|
|
+ @ApiModelProperty(value = "普通印品JSON临时接收属性")
|
|
|
+ private String ordinaryContentTemp;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "创建人id")
|
|
|
private Long createId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
private Long createTime;
|
|
|
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getExamStartTime() {
|
|
|
+ return examStartTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExamStartTime(Long examStartTime) {
|
|
|
+ this.examStartTime = examStartTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getExamEndTime() {
|
|
|
+ return examEndTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExamEndTime(Long examEndTime) {
|
|
|
+ this.examEndTime = examEndTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public PrintPlanStatusEnum getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(PrintPlanStatusEnum status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getTotalGates() {
|
|
|
+ return totalGates;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTotalGates(int totalGates) {
|
|
|
+ this.totalGates = totalGates;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getTotalSubjects() {
|
|
|
+ return totalSubjects;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTotalSubjects(int totalSubjects) {
|
|
|
+ this.totalSubjects = totalSubjects;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getTotalPackages() {
|
|
|
+ return totalPackages;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTotalPackages(int totalPackages) {
|
|
|
+ this.totalPackages = totalPackages;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPrintContent() {
|
|
|
+ return printContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPrintContent(String printContent) {
|
|
|
+ this.printContent = printContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BackupMethodEnum getBackupMethod() {
|
|
|
+ return backupMethod;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBackupMethod(BackupMethodEnum backupMethod) {
|
|
|
+ this.backupMethod = backupMethod;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getBackupCount() {
|
|
|
+ return backupCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBackupCount(int backupCount) {
|
|
|
+ this.backupCount = backupCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public DrawRuleEnum getDrawRule() {
|
|
|
+ return drawRule;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDrawRule(DrawRuleEnum drawRule) {
|
|
|
+ this.drawRule = drawRule;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<Map> getVariableContent() {
|
|
|
+ return variableContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVariableContent(List<Map> variableContent) {
|
|
|
+ this.variableContent = variableContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<Map> getOrdinaryContent() {
|
|
|
+ return ordinaryContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrdinaryContent(List<Map> ordinaryContent) {
|
|
|
+ this.ordinaryContent = ordinaryContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getVariableContentTemp() {
|
|
|
+ return variableContentTemp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVariableContentTemp(String variableContentTemp) {
|
|
|
+ this.variableContentTemp = variableContentTemp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getOrdinaryContentTemp() {
|
|
|
+ return ordinaryContentTemp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrdinaryContentTemp(String ordinaryContentTemp) {
|
|
|
+ this.ordinaryContentTemp = ordinaryContentTemp;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCreateId() {
|
|
|
+ return createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateId(Long createId) {
|
|
|
+ this.createId = createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
|
|
|
-// {
|
|
|
-// "id": 1,
|
|
|
-// "name": "2020期末考试",
|
|
|
-// "examStartTime": "1616403935250",
|
|
|
-// "examEndTime": "1616403935250",
|
|
|
-// "status": "NEW",
|
|
|
-// "totalGates": 352,
|
|
|
-// "totalSubjects": 15234,
|
|
|
-// "totalPackages": 67,
|
|
|
-// "printContent": "PAPER",
|
|
|
-// "backupMethod": "PLACE",
|
|
|
-// "backupCount": 5,
|
|
|
-// "variableContent": [
|
|
|
-// {
|
|
|
-// "type": "SIGN",
|
|
|
-// "usedId": 1,
|
|
|
-// "backupMethod": "ROOM",
|
|
|
-// "backupCount": 3
|
|
|
-// },
|
|
|
-// {
|
|
|
-// "type": "PACKAG",
|
|
|
-// "usedId": 3,
|
|
|
-// "backupMethod": "STUDENT",
|
|
|
-// "backupCount": 5
|
|
|
-// }
|
|
|
-// ],
|
|
|
-// "ordinaryContent": [
|
|
|
-// {
|
|
|
-// "type": "CHECK_IN",
|
|
|
-// "usedId": 1,
|
|
|
-// "backupMethod": "ROOM",
|
|
|
-// "backupCount": 3
|
|
|
-// }
|
|
|
-// ],
|
|
|
-// "createId": 1,
|
|
|
-// "createTime": ""
|
|
|
-// },
|
|
|
+ public void setCreateTime(Long createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
}
|