Revert "refactor: flatten dto entity and mapper packages"
This reverts commit 29766ebd28.
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
package com.label.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 浠诲姟鎺ュ彛缁熶竴鍝嶅簲浣擄紙浠诲姟姹犮€佹垜鐨勪换鍔°€佷换鍔¤鎯呭潎澶嶇敤锛夈€? */
|
||||
@Data
|
||||
@Builder
|
||||
@Schema(description = "鏍囨敞浠诲姟鍝嶅簲")
|
||||
public class TaskResponse {
|
||||
@Schema(description = "浠诲姟涓婚敭")
|
||||
private Long id;
|
||||
@Schema(description = "鍏宠仈璧勬枡 ID")
|
||||
private Long sourceId;
|
||||
/** 浠诲姟绫诲瀷锛堝搴?taskType 瀛楁锛夛細EXTRACTION / QA_GENERATION */
|
||||
@Schema(description = "浠诲姟绫诲瀷", example = "EXTRACTION")
|
||||
private String taskType;
|
||||
@Schema(description = "浠诲姟鐘舵€?, example = "UNCLAIMED")
|
||||
private String status;
|
||||
@Schema(description = "棰嗗彇浜虹敤鎴?ID")
|
||||
private Long claimedBy;
|
||||
@Schema(description = "棰嗗彇鏃堕棿")
|
||||
private LocalDateTime claimedAt;
|
||||
@Schema(description = "鎻愪氦鏃堕棿")
|
||||
private LocalDateTime submittedAt;
|
||||
@Schema(description = "瀹屾垚鏃堕棿")
|
||||
private LocalDateTime completedAt;
|
||||
/** 椹冲洖鍘熷洜锛圧EJECTED 鐘舵€佹椂闈炵┖锛?*/
|
||||
@Schema(description = "椹冲洖鍘熷洜")
|
||||
private String rejectReason;
|
||||
@Schema(description = "鍒涘缓鏃堕棿")
|
||||
private LocalDateTime createdAt;
|
||||
}
|
||||
Reference in New Issue
Block a user