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

Loading…
Cancel
Save