package com.docus.server.entity.scheduling.management;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.docus.server.enums.*;

/**
* <p>
    * 采集器配置
    * </p>
*
* @author AutoGenerator
* @since 2023-07-14
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sch_collector_config")
@ApiModel(value="SchCollectorConfig对象", description="采集器配置")
public class SchCollectorConfig implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private Long id;

    @ApiModelProperty(value = "采集器id")
    @TableField("collector_id")
    private Long collectorId;

    @ApiModelProperty(value = "配置类型，0：采集器公共配置，1：采集器私有配置")
    @TableField("config_type")
    private String configType;

    @ApiModelProperty(value = "配置参数")
    @TableField("config_json")
    private String configJson;

    @ApiModelProperty(value = "产生时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
