Browse Source

字段序列化调整

master
董书康 1 year ago
parent
commit
f8713b2c6c
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/entity/CpsQuestionInfo.java

+ 26
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/infra/entity/CpsQuestionInfo.java View File

@ -9,6 +9,7 @@ package com.digiwin.athena.app.infra.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.digiwin.athena.opt.persistence.domain.BaseMgrEntity;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import java.util.Date;
@ -22,30 +23,55 @@ import java.util.Date;
@Data
@TableName(value = "cps_question_info", autoResultMap = true)
public class CpsQuestionInfo extends BaseMgrEntity<CpsQuestionInfo> {
@SerializedName(value = "defect_type")
private String defectType;
@SerializedName(value = "question_location")
private String questionLocation;
@SerializedName(value = "question_area")
private String questionArea;
@SerializedName(value = "question_time")
private Date questionTime;
@SerializedName(value = "question_level")
private String questionLevel;
@SerializedName(value = "importance_level")
private String importanceLevel;
@SerializedName(value = "times_one_day")
private Integer timesOneDay;
@SerializedName(value = "question_information")
private String questionInformation;
@SerializedName(value = "responsible_person")
private String responsiblePerson;
@SerializedName(value = "responsible_person_name")
private String responsiblePersonName;
@SerializedName(value = "containment_measures")
private String containmentMeasures;
@SerializedName(value = "root_cause_identification")
private String rootCauseIdentification;
@SerializedName(value = "corrective_actions")
private String correctiveActions;
@SerializedName(value = "effect_verification")
private String effectVerification;
@SerializedName(value = "control_standards")
private String controlStandards;
@SerializedName(value = "completion_time")
private Date completionTime;
@SerializedName(value = "control_area")
private String controlArea;
@SerializedName(value = "knowledge_accumulation")
private String knowledgeAccumulation;
@SerializedName(value = "status")
private Integer status = 0;
@SerializedName(value = "status1")
private Integer status1 = 1;
@SerializedName(value = "status2")
private Integer status2 = 1;
@SerializedName(value = "status3")
private Integer status3 = 1;
@SerializedName(value = "status4")
private Integer status4 = 1;
@SerializedName(value = "status5")
private Integer status5 = 1;
@SerializedName(value = "status6")
private Integer status6 = 1;
private String timestamp;
}

Loading…
Cancel
Save