mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-10 09:00:53 +08:00
37 lines
966 B
Java
37 lines
966 B
Java
package com.openisle.dto;
|
|
|
|
import com.openisle.model.PostChangeType;
|
|
import com.openisle.model.PostVisibleScopeType;
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
public class PostChangeLogDto {
|
|
|
|
private Long id;
|
|
private String username;
|
|
private String userAvatar;
|
|
private PostChangeType type;
|
|
private LocalDateTime time;
|
|
private String oldTitle;
|
|
private String newTitle;
|
|
private String oldContent;
|
|
private String newContent;
|
|
private CategoryDto oldCategory;
|
|
private CategoryDto newCategory;
|
|
private List<TagDto> oldTags;
|
|
private List<TagDto> newTags;
|
|
private Boolean oldClosed;
|
|
private Boolean newClosed;
|
|
private LocalDateTime oldPinnedAt;
|
|
private LocalDateTime newPinnedAt;
|
|
private Boolean oldFeatured;
|
|
private Boolean newFeatured;
|
|
private PostVisibleScopeType oldVisibleScope;
|
|
private PostVisibleScopeType newVisibleScope;
|
|
private Integer amount;
|
|
}
|