package com.gitee.sop.admin.controller.doc.param;

import java.time.LocalDateTime;
import com.gitee.fastmybatis.core.query.Operator;
import com.gitee.fastmybatis.core.query.annotation.Condition;
import com.gitee.fastmybatis.core.query.param.PageParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 查询表单
 *
 * @author thc
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class HelpDocSearchParam extends PageParam {
    private static final long serialVersionUID = 1L;

    /**
     * 文档名称
     */
    @Condition(operator = Operator.like)
    private String label;

    /**
     * 排序
     */
    @Condition
    private Integer sort;

    /**
     * 状态，1：启用，2：禁用
     */
    @Condition
    private Integer status;

    /**
     * 内容
     */
    @Condition(operator = Operator.like)
    private String content;

    /**
     * 内容类型,1-Markdown,2-富文本
     */
    @Condition
    private Integer contentType;

    /**
     * 父级id
     */
    @Condition
    private Long parentId;

    /**
     * 添加时间
     */
    @Condition
    private LocalDateTime addTime;

    /**
     * 修改时间
     */
    @Condition
    private LocalDateTime updateTime;

    /**
     * 创建人id
     */
    @Condition
    private Long addBy;

    /**
     * 修改人id
     */
    @Condition
    private Long updateBy;


}
