package com.dk.common.infrastructure.annotaiton; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author : 洪旭东 * @desc : LogDataId * @date : 2023-9-4 13:08 */ @Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface LogDataId { /* 主键字段 mapper中查询方法参数的顺序按照实体中LogDataId顺序 */ String value() default ""; }