package com.zc.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 高速云事件分析查询对象
 *
 * @author ruoyi
 * @date 2024-08-19
 */
public class DcSdhsEventQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方向 */
    private String direction;

    /** 类型 0年 1月 2日*/
    private String type;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 需要导出的键 */
    private Map<String,Object> exportKey;

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Map<String, Object> getExportKey() {
        return exportKey;
    }

    public void setExportKey(Map<String, Object> exportKey) {
        this.exportKey = exportKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("direction", direction)
                .append("type", type)
                .append("startTime", startTime)
                .append("exportKey", exportKey)
                .toString();
    }
}