From 09ee5added9d59e90310a2586e846137ea597b19 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期五, 01 十二月 2023 13:15:42 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/PlanType.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 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 6b33647..a03eddb 100644
--- a/src/main/java/com/zy/crm/manager/entity/PlanType.java
+++ b/src/main/java/com/zy/crm/manager/entity/PlanType.java
@@ -73,6 +73,12 @@
     private String html;
 
     /**
+     * 鍖哄垎 1: 璐ф灦  0: 闆嗘垚
+     */
+    @ApiModelProperty(value= "鍖哄垎 1: 璐ф灦  2: 闆嗘垚  ")
+    private Integer type;
+
+    /**
      * 鐘舵�� 1: 姝e父  0: 绂佺敤
      */
     @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
@@ -116,6 +122,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;
@@ -153,6 +164,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