|
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.qmth.sop.common.base.BaseEntity;
|
|
|
import com.qmth.sop.common.contant.SystemConstant;
|
|
|
+import com.qmth.sop.common.enums.FlowApprovePassEnum;
|
|
|
import com.qmth.sop.common.enums.InfluenceDegreeEnum;
|
|
|
import com.qmth.sop.common.enums.QualityProblemReasonEnum;
|
|
|
import com.qmth.sop.common.enums.QualityProblemTypeEnum;
|
|
@@ -92,6 +93,11 @@ public class TBQualityProblemApply extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "流程表单")
|
|
|
private String formProperties;
|
|
|
|
|
|
+ @ApiModelProperty(value = "流程审批")
|
|
|
+ @TableField(exist = false)
|
|
|
+ @NotNull(message = "流程审批不能为空")
|
|
|
+ private FlowApprovePassEnum flowApprove;
|
|
|
+
|
|
|
public TBQualityProblemApply() {
|
|
|
|
|
|
}
|
|
@@ -116,6 +122,14 @@ public class TBQualityProblemApply extends BaseEntity implements Serializable {
|
|
|
this.userIds = !CollectionUtils.isEmpty(userIdList) ? StringUtils.join(userIdList, SystemConstant.LIST_JOIN_SPLIT) : null;
|
|
|
}
|
|
|
|
|
|
+ public FlowApprovePassEnum getFlowApprove() {
|
|
|
+ return flowApprove;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setFlowApprove(FlowApprovePassEnum flowApprove) {
|
|
|
+ this.flowApprove = flowApprove;
|
|
|
+ }
|
|
|
+
|
|
|
public List<Long> getUserIdList() {
|
|
|
return userIdList;
|
|
|
}
|