package com.usky.rule.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 规则执行日志分页查询
 */
@Data
public class RuleEngineLogPageRequest {
    private Integer pageNum = 1;
    private Integer pageSize = 10;
    private Long projectId;
    private Long ruleEngineId;
    private String ruleEngineName;
    @ApiModelProperty("触发类型 device/space/cron")
    private String triggerType;
    @ApiModelProperty("执行动作 deviceControl/alarmEvent/workOrder")
    private String action;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String timeBegin;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String timeEnd;
    /** 租户号，用于多租户隔离 */
    private Integer tenantId;
}
