package com.lesingle.edu.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 任务目标响应
 * 用于返回任务目标信息给前端
 */
@Data
@Builder
@Schema(description = "任务目标响应")
public class TaskTargetResponse {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "任务 ID")
    private Long taskId;

    @Schema(description = "目标类型")
    private String targetType;

    @Schema(description = "目标 ID")
    private Long targetId;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}
