46 lines
888 B
Java
46 lines
888 B
Java
package ru.soune.nocopy.dto.violation;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class ViolationRequest {
|
|
|
|
@JsonProperty("file_id")
|
|
private String fileId;
|
|
|
|
@JsonProperty("violation_id")
|
|
private Long violationId;
|
|
|
|
@JsonProperty("status")
|
|
private String status;
|
|
|
|
@JsonProperty("start_date")
|
|
private String startDate;
|
|
|
|
@JsonProperty("end_date")
|
|
private String endDate;
|
|
|
|
@JsonProperty("action")
|
|
private String action;
|
|
|
|
@JsonProperty("token")
|
|
private String token;
|
|
|
|
@JsonProperty("file_name")
|
|
private String fileName = null;
|
|
|
|
@JsonProperty("page")
|
|
private Integer page = 0;
|
|
|
|
@JsonProperty("size")
|
|
private Integer size = 10;
|
|
|
|
@JsonProperty("sort_direction")
|
|
private String sortDirection = "desc";
|
|
|
|
@JsonProperty("group_by")
|
|
private String groupBy;
|
|
|
|
} |