mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 14:30:59 +08:00
feat: relocate remaining dtos
This commit is contained in:
16
backend/src/main/java/com/openisle/dto/PostMetaDto.java
Normal file
16
backend/src/main/java/com/openisle/dto/PostMetaDto.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.openisle.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/** Lightweight post metadata used in user profile lists. */
|
||||
@Data
|
||||
public class PostMetaDto {
|
||||
private Long id;
|
||||
private String title;
|
||||
private String snippet;
|
||||
private LocalDateTime createdAt;
|
||||
private String category;
|
||||
private long views;
|
||||
}
|
||||
Reference in New Issue
Block a user