Annotation Interface TableLogicUnique


@Retention(RUNTIME) @Documented @Inherited @Target({TYPE,ANNOTATION_TYPE}) public @interface TableLogicUnique
表字段逻辑处理注解(逻辑删除且,且有唯一索引限制)
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    数据库表字段名
    用于标识唯一逻辑删除的字段
  • 元素详细资料

    • columnName

      String columnName
      数据库表字段名
      默认值:
      "unique_key"
    • value

      String value
      用于标识唯一逻辑删除的字段
      默认值:
      "uniqueKey"