@@ -2,6 +2,9 @@ package ru.soune.nocopy.dto.user;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import ru.soune.nocopy.entity.user.SubscriptionType;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class UserAdditionalInfoBody {
|
||||
@@ -17,4 +20,37 @@ public class UserAdditionalInfoBody {
|
||||
|
||||
@JsonProperty("user_agent")
|
||||
private String userAgent;
|
||||
|
||||
@JsonProperty("page")
|
||||
private int page = 0;
|
||||
|
||||
@JsonProperty("size")
|
||||
private int size = 5;
|
||||
|
||||
@JsonProperty("sort_by")
|
||||
private String sortBy;
|
||||
|
||||
@JsonProperty("sort_direction")
|
||||
private String sortDirection = "desc";
|
||||
|
||||
@JsonProperty("full_name")
|
||||
private String fullName;
|
||||
|
||||
@JsonProperty("email")
|
||||
private String email;
|
||||
|
||||
@JsonProperty("is_active")
|
||||
private Boolean isActive;
|
||||
|
||||
@JsonProperty("email_verified")
|
||||
private Boolean emailVerified;
|
||||
|
||||
@JsonProperty("sub_type")
|
||||
private SubscriptionType subscriptionType;
|
||||
|
||||
@JsonProperty("date_from")
|
||||
private LocalDate dateFrom;
|
||||
|
||||
@JsonProperty("date_to")
|
||||
private LocalDate dateTo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user