This commit is contained in:
dute7liang
2024-01-25 22:26:25 +08:00
parent b0ff90a0a0
commit 7dbc4022b7
8 changed files with 55 additions and 13 deletions

View File

@@ -0,0 +1,21 @@
package com.ruoyi.yunxin.enums;
import lombok.Getter;
// // 通话状态1 取消 2 拒绝 3 超时 4 已通话
@Getter
public enum CallNoticeEnum {
CLOSE(1,"取消"),
REFUSE(2,"拒绝"),
TIMEOUT(3,"超时"),
CALL_ALREADY(4,"已通话"),
;
private final Integer code;
private final String name;
CallNoticeEnum(Integer code, String name) {
this.code = code;
this.name = name;
}
}