package org.dromara.domain.bo;

import org.dromara.domain.SenMonitorTaskAlgorithms;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 监控点任务-算法配置业务对象 sen_monitor_task_algorithms
 *
 * @author luogang
 * @date 2024-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SenMonitorTaskAlgorithms.class, reverseConvertGenerate = false)
public class SenMonitorTaskAlgorithmsBo extends BaseEntity {

    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空", groups = { EditGroup.class })
    private Long taskId;

    /**
     * 算法id
     */
    @NotNull(message = "算法id不能为空", groups = { EditGroup.class })
    private Long algorithmId;

    /**
     * 算法感兴趣绘制区域内容
     */
    @NotBlank(message = "算法感兴趣绘制区域内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String configContent;


}
