38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
|
|
package com.labelsys.backend.entity;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||
|
|
import com.labelsys.backend.enums.UserRole;
|
||
|
|
import java.time.LocalDateTime;
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Builder;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
@TableName("annotation_result")
|
||
|
|
public class AnnotationResult {
|
||
|
|
@TableId(type = IdType.INPUT)
|
||
|
|
private Long id;
|
||
|
|
private Long companyId;
|
||
|
|
private Long creatorId;
|
||
|
|
private UserRole creatorRole;
|
||
|
|
private Long taskId;
|
||
|
|
private Long resourceId;
|
||
|
|
private String qaContentJson;
|
||
|
|
private String qaContentStorageMode;
|
||
|
|
private String qaContentFilePath;
|
||
|
|
private String diffSummary;
|
||
|
|
private Boolean requiresManualReview;
|
||
|
|
private Boolean isDeleted;
|
||
|
|
private Long reviewerId;
|
||
|
|
private String reviewComment;
|
||
|
|
private LocalDateTime reviewedAt;
|
||
|
|
private LocalDateTime createdAt;
|
||
|
|
private LocalDateTime updatedAt;
|
||
|
|
}
|