From 8b109f923dc7c2d5c5bd351a03a5277670962aac Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 04 十二月 2023 13:05:04 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/crm/manager/entity/PlanType.java | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/PlanType.java b/src/main/java/com/zy/crm/manager/entity/PlanType.java
index fc9ee68..4bac64e 100644
--- a/src/main/java/com/zy/crm/manager/entity/PlanType.java
+++ b/src/main/java/com/zy/crm/manager/entity/PlanType.java
@@ -6,6 +6,7 @@
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import com.core.common.SpringUtils;
+import com.zy.crm.manager.service.OrderProductTypeService;
import com.zy.crm.system.entity.Host;
import com.zy.crm.system.entity.User;
import com.zy.crm.system.service.HostService;
@@ -23,6 +24,9 @@
public class PlanType implements Serializable {
private static final long serialVersionUID = 1L;
+
+ @TableField(exist = false)
+ public String checked = "";
/**
* ID
@@ -58,10 +62,28 @@
private String formId;
/**
+ * 浜у搧绫诲瀷ID
+ */
+ @ApiModelProperty(value= "浜у搧绫诲瀷ID")
+ @TableField("order_product_type_id")
+ private Long orderProductTypeId;
+ /**
+ * 琛ㄥ崟閰嶇疆
+ */
+ @ApiModelProperty(value= "琛ㄥ崟閰嶇疆")
+ private String data;
+
+ /**
* 琛ㄥ崟浠g爜
*/
@ApiModelProperty(value= "琛ㄥ崟浠g爜")
- private String data;
+ private String html;
+
+ /**
+ * 鍖哄垎 1: 璐ф灦 0: 闆嗘垚
+ */
+ @ApiModelProperty(value= "鍖哄垎 1: 璐ф灦 2: 闆嗘垚 ")
+ private Integer type;
/**
* 鐘舵�� 1: 姝e父 0: 绂佺敤
@@ -107,6 +129,11 @@
public PlanType() {}
+ public PlanType(Long hostId,Integer type) {
+ this.hostId = hostId;
+ this.type = type;
+ }
+
public PlanType(Long hostId,String name,String flag,String formId,String data,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
this.hostId = hostId;
this.name = name;
@@ -144,6 +171,18 @@
return null;
}
+ public String getType$(){
+ if (null == this.type){ return null; }
+ switch (this.type){
+ case 1:
+ return "璐ф灦";
+ case 2:
+ return "闆嗘垚";
+ default:
+ return String.valueOf(this.type);
+ }
+ }
+
public String getStatus$(){
if (null == this.status){ return null; }
switch (this.status){
--
Gitblit v1.9.1