字段优化

main
tamguo 7 years ago
parent aa59aaa3b9
commit 7182300dc3

@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.annotations.TableName;
import com.tamguo.admin.config.dao.SuperEntity; import com.tamguo.admin.config.dao.SuperEntity;
import java.math.BigInteger;
import java.util.List; import java.util.List;
@ -21,7 +20,7 @@ public class MenuEntity extends SuperEntity<MenuEntity> implements Serializable
private String pinyin; private String pinyin;
private BigInteger parentId; private String parentId;
private String isShow; private String isShow;
@ -47,11 +46,11 @@ public class MenuEntity extends SuperEntity<MenuEntity> implements Serializable
this.name = name; this.name = name;
} }
public BigInteger getParentId() { public String getParentId() {
return this.parentId; return this.parentId;
} }
public void setParentId(BigInteger parentId) { public void setParentId(String parentId) {
this.parentId = parentId; this.parentId = parentId;
} }

@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.annotations.TableName;
import com.tamguo.config.dao.SuperEntity; import com.tamguo.config.dao.SuperEntity;
import java.math.BigInteger;
import java.util.List; import java.util.List;
@ -21,7 +20,7 @@ public class MenuEntity extends SuperEntity<MenuEntity> implements Serializable
private String pinyin; private String pinyin;
private BigInteger parentId; private String parentId;
private String isShow; private String isShow;
@ -46,11 +45,11 @@ public class MenuEntity extends SuperEntity<MenuEntity> implements Serializable
this.name = name; this.name = name;
} }
public BigInteger getParentId() { public String getParentId() {
return this.parentId; return this.parentId;
} }
public void setParentId(BigInteger parentId) { public void setParentId(String parentId) {
this.parentId = parentId; this.parentId = parentId;
} }

Loading…
Cancel
Save