- 目录/包名/API路径/数据库/容器名全部重命名 - 26个Java文件包名 com.xuqm.log → com.xuqm.bugcollect - API前缀 /log/v1/ → /bugcollect/v1/ - mvn compile 通过 Co-Authored-By: Claude <noreply@anthropic.com>
21 行
634 B
Java
21 行
634 B
Java
package com.xuqm.bugcollect.dto;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
public record IssueResponse(
|
|
Long id,
|
|
@JsonProperty("appKey") String appKey,
|
|
String fingerprint,
|
|
String type,
|
|
String title,
|
|
@JsonProperty("firstSeenAt") LocalDateTime firstSeenAt,
|
|
@JsonProperty("lastSeenAt") LocalDateTime lastSeenAt,
|
|
int count,
|
|
@JsonProperty("isResolved") boolean isResolved,
|
|
String platform,
|
|
@JsonProperty("appVersion") String appVersion,
|
|
List<IssueEventResponse> events
|
|
) {}
|