From 6a80821cea1d71ca4cb6c45239274898f46143f2 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期三, 05 六月 2019 14:55:48 +0800
Subject: [PATCH] 分类 + 封禁用户方法封装

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java |   36 ++++++++++++++++++++++++++++++++----
 1 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java
index 313dd5e..62b2298 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java
@@ -18,9 +18,6 @@
 @Table("yeshi_ec_home_navbar")
 public class HomeNavbar implements Serializable{
 
-	/**
-	 * 
-	 */
 	private static final long serialVersionUID = 1L;
 
 	public enum NavbarTypeEnum {
@@ -36,7 +33,7 @@
 		}
 	}
 	
-
+	@Expose
 	@Column(name = "br_id")
 	private Long id;
 
@@ -85,6 +82,15 @@
 	// 鐘舵�侊細1鍚敤 0 鍋滅敤
 	@Column(name = "br_state")
 	private Integer state; 
+
+	// 鏄惁榛樿锛� 0 闈為粯璁� 1 榛樿椤�
+	@Column(name = "br_is_default")
+	private Integer isDefault; 
+	
+	// 缂栬緫鐘舵�侊細0 鍙紪杈� 1 涓嶅彲缂栬緫
+	@Expose
+	@Column(name = "br_non_edit")
+	private Integer nonEdit; 
 	
 	// 鍒涘缓鏃堕棿
 	@Column(name = "br_createtime")
@@ -107,6 +113,13 @@
 	private String swiperName;
 	// 鍒嗙被鍚嶇О
 	private String className;
+	
+	
+	public HomeNavbar() {}
+	
+	public HomeNavbar(Long id) {
+		this.id = id;
+	}
 	
 	
 	public Long getId() {
@@ -253,4 +266,19 @@
 		this.className = className;
 	}
 
+	public Integer getIsDefault() {
+		return isDefault;
+	}
+
+	public void setIsDefault(Integer isDefault) {
+		this.isDefault = isDefault;
+	}
+
+	public Integer getNonEdit() {
+		return nonEdit;
+	}
+
+	public void setNonEdit(Integer nonEdit) {
+		this.nonEdit = nonEdit;
+	}
 }

--
Gitblit v1.8.0