Skip to content

Commit

Permalink
fix EventCashFlow.currency NotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
vananiev committed May 4, 2023
1 parent 67ceaff commit 47fcad7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public class EventCashFlow {
private final BigDecimal value;

@Builder.Default
@Schema(description = "Валюта", example = "RUB", defaultValue = "RUB", nullable = true)
private final @Nullable String currency = "RUB";
@Schema(description = "Валюта", example = "RUB", defaultValue = "RUB")
private final String currency = "RUB";

@Schema(description = "Описание события", example = "Внесение наличных", nullable = true)
private final @Nullable String description;
Expand Down

0 comments on commit 47fcad7

Please sign in to comment.