中扬CRM客户关系管理系统
LSH
2024-03-26 861efe8a7ddc3d52dddbcce83d3a43f476a7418c
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;
    /**
     * 表单代码
     */
    @ApiModelProperty(value= "表单代码")
    private String data;
    private String html;
    /**
     * 区分 1: 货架  0: 集成
     */
    @ApiModelProperty(value= "区分 1: 货架  2: 集成  ")
    private Integer type;
    /**
     * 状态 1: 正常  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){