mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Give raw-material uploads a dedicated five-minute timeout and process file-picker and drag/drop uploads through a shared two-worker queue, so constrained uplinks no longer abort multipart requests at the global 30-second deadline. Switch wiki processing jobs and page citations to application-assigned IDs: the PostgreSQL/Kingbase migrations define plain BIGINT primary keys without identity defaults, so database-generated keys fail on insert.
37 lines
714 B
Java
37 lines
714 B
Java
package vip.mate.wiki.model;
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import lombok.Data;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* RFC-029: Wiki page citation entity — links a page to the chunks it was derived from.
|
|
*/
|
|
@Data
|
|
@TableName("mate_wiki_page_citation")
|
|
public class WikiPageCitationEntity {
|
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
private Long id;
|
|
|
|
private Long pageId;
|
|
|
|
private Long chunkId;
|
|
|
|
private Integer paragraphIdx;
|
|
|
|
private String anchorText;
|
|
|
|
private BigDecimal confidence;
|
|
|
|
private String createdBy;
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private LocalDateTime createTime;
|
|
|
|
@TableLogic
|
|
private Integer deleted;
|
|
}
|