mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 14:40:49 +08:00
17 lines
352 B
Java
17 lines
352 B
Java
package com.openisle.dto;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
@Data
|
|
public class PollDto {
|
|
private String question;
|
|
private List<String> options;
|
|
private Map<Integer, Integer> votes;
|
|
private LocalDateTime endTime;
|
|
private Map<Integer, List<AuthorDto>> participants;
|
|
}
|