|
@@ -3,7 +3,7 @@ package com.qmth.sop.business.entity;
|
|
|
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.enums.ProductTypeEnum;
|
|
|
+import com.qmth.sop.common.enums.TFCustomTypeEnum;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
@@ -39,12 +39,9 @@ public class TBSopInfo extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "学院名称")
|
|
|
private String collegeName;
|
|
|
|
|
|
- @ApiModelProperty(value = "项目名称")
|
|
|
- private Long projectName;
|
|
|
-
|
|
|
@ApiModelProperty(value = "产品id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
- private Long projectId;
|
|
|
+ private Long productId;
|
|
|
|
|
|
@ApiModelProperty(value = "区域负责人id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@@ -54,13 +51,21 @@ public class TBSopInfo extends BaseEntity implements Serializable {
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
private Long cloudMarkUserId;
|
|
|
|
|
|
- @ApiModelProperty(value = "类型,OFFICE:教务处,CLOUD_MARK:研究生")
|
|
|
- private ProductTypeEnum type;
|
|
|
+ @ApiModelProperty(value = "流程类型,OFFICE_SOP_FLOW:教务处SOP,CLOUD_MARK_SOP_FLOW:研究生SOP")
|
|
|
+ private TFCustomTypeEnum type;
|
|
|
|
|
|
@ApiModelProperty(value = "提交人id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
private Long userId;
|
|
|
|
|
|
+ public TBSopInfo() {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public TBSopInfo(String crmNo, Long serviceId, Long customId, String collegeName, Long projectName, Long projectId, Long regionUserId, Long cloudMarkUserId, TFCustomTypeEnum type, Long userId) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
public String getCrmNo() {
|
|
|
return crmNo;
|
|
|
}
|
|
@@ -101,20 +106,12 @@ public class TBSopInfo extends BaseEntity implements Serializable {
|
|
|
this.collegeName = collegeName;
|
|
|
}
|
|
|
|
|
|
- public Long getProjectName() {
|
|
|
- return projectName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProjectName(Long projectName) {
|
|
|
- this.projectName = projectName;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getProjectId() {
|
|
|
- return projectId;
|
|
|
+ public Long getProductId() {
|
|
|
+ return productId;
|
|
|
}
|
|
|
|
|
|
- public void setProjectId(Long projectId) {
|
|
|
- this.projectId = projectId;
|
|
|
+ public void setProductId(Long productId) {
|
|
|
+ this.productId = productId;
|
|
|
}
|
|
|
|
|
|
public Long getRegionUserId() {
|
|
@@ -133,11 +130,11 @@ public class TBSopInfo extends BaseEntity implements Serializable {
|
|
|
this.cloudMarkUserId = cloudMarkUserId;
|
|
|
}
|
|
|
|
|
|
- public ProductTypeEnum getType() {
|
|
|
+ public TFCustomTypeEnum getType() {
|
|
|
return type;
|
|
|
}
|
|
|
|
|
|
- public void setType(ProductTypeEnum type) {
|
|
|
+ public void setType(TFCustomTypeEnum type) {
|
|
|
this.type = type;
|
|
|
}
|
|
|
|