Files
label_backend/src/main/java/com/label/entity/AnnotationTaskHistory.java

44 lines
976 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.label.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 任务状态历史,对应 annotation_task_history 表(仅追加,无 UPDATE/DELETE
*/
@Data
@Builder
@TableName("annotation_task_history")
public class AnnotationTaskHistory {
@TableId(type = IdType.AUTO)
private Long id;
private Long taskId;
/** 所属公司(多租户键) */
private Long companyId;
/** 转换前状态(首次插入时为 null */
private String fromStatus;
/** 转换后状态 */
private String toStatus;
/** 操作人 ID */
private Long operatorId;
/** 操作人角色 */
private String operatorRole;
/** 备注(驳回原因等) */
private String comment;
private LocalDateTime createdAt;
}