package com.tanpu.community.api.enums; public enum TopicSpecialPermissionEnum { FALSE(0,"没有特殊权限"), TRUE(1,"有特殊权限"); private Integer code; private String type; TopicSpecialPermissionEnum(Integer code, String type) { this.code = code; this.type = type; } public Integer getCode() { return code; } public void setCode(Integer code) { this.code = code; } public String getType() { return type; } public void setType(String type) { this.type = type; } }