31 lines
810 B
Java
31 lines
810 B
Java
package ru.soune.nocopy.dto.complaint;
|
|||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
import ru.soune.nocopy.entity.complaint.LawCasePriority;
|
||
|
|
import ru.soune.nocopy.entity.complaint.LawCaseType;
|
||
|
|
|
||
|
|
import java.math.BigDecimal;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
public class LawCaseRequest {
|
||
|
|
private Long id;
|
||
|
|
//required
|
||
|
|
private String name;
|
||
|
|
//required
|
||
|
|
private String description;
|
||
|
|
private BigDecimal amount;
|
||
|
|
private String priority = LawCasePriority.MIDDLE.toString();
|
||
|
|
private String type;
|
||
|
|
private String lawyer;
|
||
|
|
private String token;
|
||
|
|
private Integer pageSize = 10;
|
||
|
|
private Integer pageNumber = 0;
|
||
|
|
private String sortBy = "createdAt";
|
||
|
|
private String sortDir = "asc";
|
||
|
|
private String action;
|
||
|
|
private LawCaseType filterType;
|
||
|
|
private String filterLawyer;
|
||
|
|
private LawCasePriority filterPriority;
|
||
|
|
|
||
|
|
}
|