검증게시판 기능 추가
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.goldenchart.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data @Builder @NoArgsConstructor @AllArgsConstructor
|
||||
public class VerificationIssueCommentDto {
|
||||
|
||||
private Long id;
|
||||
private Long issueId;
|
||||
private String content;
|
||||
private String authorName;
|
||||
private LocalDateTime createdAt;
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.goldenchart.dto;
|
||||
|
||||
import com.goldenchart.entity.VerificationIssueStage;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data @Builder @NoArgsConstructor @AllArgsConstructor
|
||||
public class VerificationIssueDto {
|
||||
|
||||
private Long id;
|
||||
private String title;
|
||||
private String content;
|
||||
private String reproductionPath;
|
||||
private VerificationIssueStage stage;
|
||||
private LocalDateTime createdAt;
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.goldenchart.dto;
|
||||
|
||||
import com.goldenchart.entity.VerificationIssueStage;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data @Builder @NoArgsConstructor @AllArgsConstructor
|
||||
public class VerificationIssueEventDto {
|
||||
|
||||
public static final String TYPE_CREATED = "CREATED";
|
||||
public static final String TYPE_STAGE_CHANGED = "STAGE_CHANGED";
|
||||
|
||||
private String eventType;
|
||||
private Long issueId;
|
||||
private String title;
|
||||
private VerificationIssueStage stage;
|
||||
private VerificationIssueStage previousStage;
|
||||
private LocalDateTime updatedAt;
|
||||
/** 이벤트를 발생시킨 클라이언트 (동일 기기 알림 억제용) */
|
||||
private String sourceDeviceId;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.goldenchart.dto;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data @Builder @NoArgsConstructor @AllArgsConstructor
|
||||
public class VerificationIssueImageDto {
|
||||
|
||||
private Long id;
|
||||
private Long issueId;
|
||||
private String fileName;
|
||||
private String contentType;
|
||||
private Long fileSize;
|
||||
private Integer sortOrder;
|
||||
private String url;
|
||||
private LocalDateTime createdAt;
|
||||
}
|
||||
Reference in New Issue
Block a user