com.nb6868.onex.cms.dto.ArticleQueryForm Maven / Gradle / Ivy
package com.nb6868.onex.cms.dto;
import com.nb6868.onex.common.jpa.Query;
import com.nb6868.onex.common.pojo.PageForm;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "文章查询")
public class ArticleQueryForm extends PageForm {
@Query(blurryType = Query.BlurryType.OR, type = Query.Type.LIKE, column = "name,code,descr,title")
@Schema(description = "搜索关键词")
private String search;
}