Skip to content

Commit

Permalink
Commit with change of max characters for Tariff Service Name from 30 …
Browse files Browse the repository at this point in the history
…to 255 (#1209)

Co-authored-by: Helen Sotnik <[email protected]>
  • Loading branch information
HelenSotnik and Helen Sotnik authored Aug 7, 2023
1 parent fc17bc4 commit 0b7c954
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dao/src/main/java/greencity/entity/order/Bag.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public class Bag {
@Column(nullable = false)
private Long fullPrice;

@Column(nullable = false, length = 30)
@Column(nullable = false)
private String name;

@Column(nullable = false, length = 30)
@Column(nullable = false)
private String nameEng;

@Column(nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ public class TariffServiceDto {
private Double commission;

@NotBlank
@Length(min = 1, max = 30)
@Length(min = 1, max = 255)
private String name;

@NotBlank
@Length(min = 1, max = 30)
@Length(min = 1, max = 255)
private String nameEng;

@NotBlank
Expand Down

0 comments on commit 0b7c954

Please sign in to comment.