mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-01 01:21:04 +08:00
refactor poll and lottery forms, add poll notifications
This commit is contained in:
@@ -8,7 +8,6 @@ import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class PollDto {
|
||||
private String question;
|
||||
private List<String> options;
|
||||
private Map<Integer, Integer> votes;
|
||||
private LocalDateTime endTime;
|
||||
|
||||
@@ -27,7 +27,6 @@ public class PostRequest {
|
||||
private LocalDateTime startTime;
|
||||
private LocalDateTime endTime;
|
||||
// fields for poll posts
|
||||
private String question;
|
||||
private List<String> options;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user