package com.friday.distributor.bean;

import com.friday.distributor.constant.States;
import com.friday.blank.api.constants.BusinessTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author YaoYao
 * @Date Created In 17:45 2023/2/27
 * @Description
 * @Modified By
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TaskInvokeFilter {
    /**
     * TAIE用户租户key
     */
    private String taieTenant;
    /**
     * 任务类型唯一标志
     */
    private List<String> taskTypeList;
    /**
     * 任务执行记录uuid
     */
    private List<String> taskIdList;
    /**
     * 任务类型{@link BusinessTypeEnum}
     */
    private List<String> bizTypeList;
    /**
     * 任务状态
     * {@link States.TaskState}
     */
    private List<String> stateList;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 调用系统
     */
    private String sysCode;
    /**
     * 是否有效
     */
    private Boolean valid;
    /**
     * 创建时间起始查询
     */
    private LocalDateTime createTimeQueryStart;
    /**
     * 创建时间结束查询
     */
    private LocalDateTime createTimeQueryEnd;
}
