package com.zhiqiyun.open.router.request.sentiment;

import com.dliyun.oap.framework.annotation.ServiceParamField;
import com.dliyun.oap.framework.request.AbstractOapRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
public class SaveSpiderEventRequest extends AbstractOapRequest {
	@NotNull
	@ServiceParamField(describe = "采集网站规则ID")
	private Long siteRuleId;

	@NotBlank
	@ServiceParamField(describe = "事件标题")
	private String eventTitle;

	@NotBlank
	@ServiceParamField(describe = "事件关键词")
	private String keywords;
}
