|
@@ -3,6 +3,7 @@ package com.yc.education.model;
|
|
|
import javax.persistence.*;
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
@Table(name = "service_category")
|
|
|
public class ServiceCategory implements Serializable {
|
|
@@ -16,6 +17,14 @@ public class ServiceCategory implements Serializable {
|
|
|
@Transient
|
|
|
private String ids;
|
|
|
|
|
|
+ /**
|
|
|
+ * @Description: 下面有分类
|
|
|
+ * @Author: BlueSky
|
|
|
+ * @CreateTime: 2019/10/16 19:16
|
|
|
+ */
|
|
|
+ @Transient
|
|
|
+ private boolean haveList;
|
|
|
+
|
|
|
/**
|
|
|
* @Description: 类型
|
|
|
* @Author: BlueSky
|
|
@@ -134,6 +143,14 @@ public class ServiceCategory implements Serializable {
|
|
|
this.threePId = threePId;
|
|
|
}
|
|
|
|
|
|
+ public boolean isHaveList() {
|
|
|
+ return haveList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHaveList(boolean haveList) {
|
|
|
+ this.haveList = haveList;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 获取主键id
|
|
|
*
|