com.didiglobal.logi.security.common.enums.oplog.OplogCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.enums.oplog;
import lombok.Getter;
/**
* @author cjm
*
* 操作日志
*
* 哪种信息:
* 1:操作页面
* 2:操作类型
* 3:对象分类
*/
@Getter
public enum OplogCode {
/* 操作类型 */
OPERATE_PAGE(1, "操作页面"),
OPERATE_TYPE(2, "操作类型"),
TARGET_TYPE(3, "对象分类");
private final Integer type;
private final String info;
OplogCode(Integer type, String info) {
this.type = type;
this.info = info;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy