refactor: extract post dtos

This commit is contained in:
Tim
2025-08-04 20:37:20 +08:00
parent 6fa5978613
commit b41835d9c8
10 changed files with 311 additions and 215 deletions

View File

@@ -0,0 +1,14 @@
package com.openisle.dto;
import lombok.Data;
/**
* DTO representing a post or comment author.
*/
@Data
public class AuthorDto {
private Long id;
private String username;
private String avatar;
}