mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-10 09:00:53 +08:00
20 lines
376 B
Java
20 lines
376 B
Java
package com.openisle.dto;
|
|
|
|
import com.openisle.model.ReactionType;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* DTO representing a reaction on a post, comment or message.
|
|
*/
|
|
@Data
|
|
public class ReactionDto {
|
|
private Long id;
|
|
private ReactionType type;
|
|
private String user;
|
|
private Long postId;
|
|
private Long commentId;
|
|
private Long messageId;
|
|
private int reward;
|
|
}
|
|
|