|
|
@@ -4,12 +4,8 @@ import javax.validation.constraints.*;
|
|
|
import java.util.List;
|
|
|
|
|
|
public class VoteUpdateDto {
|
|
|
-
|
|
|
@NotNull
|
|
|
private Integer id;
|
|
|
-
|
|
|
- @NotNull
|
|
|
- private Integer activityId;
|
|
|
@NotBlank
|
|
|
@Size(min = 1, max = 256)
|
|
|
private String title;
|
|
|
@@ -23,7 +19,6 @@ public class VoteUpdateDto {
|
|
|
public String toString() {
|
|
|
return "VoteUpdateDto{" +
|
|
|
"id=" + id +
|
|
|
- ", activityId=" + activityId +
|
|
|
", title='" + title + '\'' +
|
|
|
", content='" + content + '\'' +
|
|
|
", options=" + options +
|
|
|
@@ -38,14 +33,6 @@ public class VoteUpdateDto {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
- public Integer getActivityId() {
|
|
|
- return activityId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setActivityId(Integer activityId) {
|
|
|
- this.activityId = activityId;
|
|
|
- }
|
|
|
-
|
|
|
public String getTitle() {
|
|
|
return title;
|
|
|
}
|