package com.friday.distributor.bean;

import com.friday.blank.api.constants.BusinessTypeEnum;
import com.friday.distributor.constant.States;
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 JobInvokeFilter {
    /**
     * TAIE用户租户key
     */
    private String taieTenant;
    /**
     * 任务类型唯一标志
     */
    private List<String> taskTypeList;
    /**
     * 任务类型{@link BusinessTypeEnum}
     */
    private List<String> bizTypeList;
    /**
     * 任务执行记录uuid
     */
    private List<String> taskIdList;
    /**
     * 实际执行taie工位
     */
    private List<String> execTaieRobotList;
    /**
     * 任务状态
     * {@link States.JobState}
     */
    private List<String> stateList;
    /**
     * 是否有效
     */
    private Boolean valid;
    /**
     * 创建时间起始查询
     */
    private LocalDateTime createTimeQueryStart;
    /**
     * 创建时间结束查询
     */
    private LocalDateTime createTimeQueryEnd;
}
