package com.datamate.datamanagement.interfaces.dto;

import com.datamate.common.interfaces.PagingQuery;
import com.datamate.datamanagement.common.enums.KnowledgeSourceType;
import com.datamate.datamanagement.common.enums.KnowledgeStatusType;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

/**
 * 知识集分页查询请求
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class KnowledgeSetPagingQuery extends PagingQuery {
    /**
     * 标签名过滤
     */
    private List<String> tags = new ArrayList<>();
    /**
     * 关键词搜索（名称或描述）
     */
    private String keyword;
    /**
     * 状态过滤
     */
    private KnowledgeStatusType status;
    /**
     * 领域
     */
    private String domain;
    /**
     * 业务线
     */
    private String businessLine;
    /**
     * 负责人
     */
    private String owner;
    /**
     * 敏感级别
     */
    private String sensitivity;
    /**
     * 来源类型
     */
    private KnowledgeSourceType sourceType;
    /**
     * 有效期开始
     */
    private LocalDate validFrom;
    /**
     * 有效期结束
     */
    private LocalDate validTo;
}
