Files
lablesys_backend/src/main/java/com/labelsys/backend/entity/AnnotationResult.java

73 lines
1.6 KiB
Java
Raw Normal View History

2026-04-27 10:27:57 +08:00
package com.labelsys.backend.entity;
import com.baomidou.mybatisplus.annotation.*;
2026-04-27 10:27:57 +08:00
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
2026-04-27 10:27:57 +08:00
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("annotation_result")
public class AnnotationResult {
2026-04-27 10:27:57 +08:00
@TableId(type = IdType.INPUT)
private Long id;
@TableField("company_id")
2026-04-27 10:27:57 +08:00
private Long companyId;
@TableField("creator_id")
2026-04-27 10:27:57 +08:00
private Long creatorId;
@TableField("creator_role")
private String creatorRole;
@TableField("task_id")
2026-04-27 10:27:57 +08:00
private Long taskId;
@TableField("resource_id")
2026-04-27 10:27:57 +08:00
private Long resourceId;
// 添加字段
@TableField("task_name")
private String taskName;
@TableField("resource_name")
private String resourceName;
@TableField("qa_content_file_path")
2026-04-27 10:27:57 +08:00
private String qaContentFilePath;
@TableField("diff_summary_file_path")
private String diffSummaryFilePath;
@TableField("requires_manual_review")
2026-04-27 10:27:57 +08:00
private Boolean requiresManualReview;
@TableLogic(value = "false", delval = "true")
@TableField("is_deleted")
2026-04-27 10:27:57 +08:00
private Boolean isDeleted;
@TableField("reviewer_id")
2026-04-27 10:27:57 +08:00
private Long reviewerId;
@TableField("review_comment")
2026-04-27 10:27:57 +08:00
private String reviewComment;
@TableField("reviewed_at")
2026-04-27 10:27:57 +08:00
private LocalDateTime reviewedAt;
@TableField("created_at")
2026-04-27 10:27:57 +08:00
private LocalDateTime createdAt;
@TableField("updated_at")
2026-04-27 10:27:57 +08:00
private LocalDateTime updatedAt;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}