package com.hccake.ballcat.commom.log.operation.annotation;

import com.hccake.ballcat.commom.log.operation.enums.OperationTypeEnum;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author Hccake
 * @version 1.0
 * @date 2019/10/15 18:09
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@OperationLogging(type = OperationTypeEnum.CREATE)
public @interface CreateOperationLogging {

    /**
     * 日志信息
     * @return 日志描述信息
     */
    @AliasFor(annotation = OperationLogging.class)
    String msg();

}
