package com.friday.tooldriver.dto.smartrpa;

import com.friday.operation.api.keepalive.constant.smartrpa.LicenseState;
import com.friday.operation.api.keepalive.constant.smartrpa.RobotState;
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 10:06 2022/12/8
 * @Description
 * @Modified By
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RobotSelectFilter {
    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 中控租戶id
     */
    private Integer ocTenantId;
    /**
     * 机器码
     */
    private String machineCode;
    /**
     * 机器用户
     */
    private String machineLoginUser;
    /**
     * 机器名称
     */
    private String key;
    /**
     * 机器状态
     * {@link RobotState}
     */
    private List<String> stateList;
    /**
     * 许可状态
     * {@link LicenseState}
     */
    private String licenseState;
    /**
     * 未响应次数
     */
    private Integer unresponsiveTime;
    /**
     * 是否有效
     */
    private Boolean valid;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
