1 changed files with 40 additions and 0 deletions
@ -0,0 +1,40 @@
|
||||
package com.biutag.supervision.pojo.enums.negative; |
||||
|
||||
import com.biutag.supervision.constants.enums.CodeEnum; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Getter; |
||||
|
||||
/** |
||||
* @ClassName NegativeSourceTypeEnum |
||||
* @Description 问题的下发来源 |
||||
* @Author shihao |
||||
* @Date 2026/2/6 10:51 |
||||
*/ |
||||
@Getter |
||||
@Schema(description = "问题的下发来源") |
||||
public enum NegativeSourceTypeEnum implements CodeEnum { |
||||
|
||||
MODEL_MARKET("1", "模型超市"), |
||||
|
||||
OTHER_MARKET("99", "其他"); |
||||
|
||||
|
||||
private final String code; |
||||
private final String desc; |
||||
|
||||
NegativeSourceTypeEnum(String code, String desc) { |
||||
this.code = code; |
||||
this.desc = desc; |
||||
} |
||||
|
||||
@Override |
||||
public String getCode() { |
||||
return code; |
||||
} |
||||
|
||||
@Override |
||||
public String getDesc() { |
||||
return desc; |
||||
} |
||||
|
||||
} |
||||
Loading…
Reference in new issue