Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- public class UserRequestDto {
- private UUID id;
- /**
- * Тип заявки
- */
- @NotNull
- private UserRequestType type;
- /**
- * Статус заявки
- */
- private UserRequestStatus status;
- /**
- * Пользователь создавший заявку
- */
- private UUID createdUserId;
- /**
- * Компания создавшая заявку
- */
- private UUID companyId;
- /**
- * Дата создания заявки
- */
- private LocalDateTime createdDateTime;
- /**
- * Дата последнего обновления заявки
- */
- private LocalDateTime lastUpdatedDateTime;
- /**
- * Описание заявки
- */
- private String description;
- /**
- * Заголовок заявки
- */
- private String title;
- private Map<String, Object> additionalInfo = new HashMap<>();
- @NotEmpty
- private Map<String, Object> body = new HashMap<>();
- private RequestSignatureScheme requestSignatureScheme;
- private LocalDateTime expirationDate;
- private UserRequestHistoryDto latestAction;
- /**
- * Used by internal services. Don't use the field to transfer data to applications
- */
- @JsonIgnore
- @Valid
- private UserRequestBody transformedBody;
- private UUID materializedObjectId;
- private boolean read;
- private String materializedObjectStatus;
- }
Advertisement
Add Comment
Please, Sign In to add comment