fix 标签管理

This commit is contained in:
lijiarao
2023-08-21 17:31:51 +08:00
parent cf05ffd068
commit de612316c8
7 changed files with 134 additions and 54 deletions
@@ -1,36 +1,23 @@
package com.jero.common.constant.enums;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.web.bind.annotation.GetMapping;
/**
* @description
* @date 2022/1/21 15:22
* @auth zhn
*/
@Getter
@AllArgsConstructor
public enum YesOrNoEnum {
NO("否","0"),
YES("是","1");
NO("否","0",0),
YES("是","1",1);
String name;
String value;
private YesOrNoEnum(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
Integer integer;
}