lab-3 #2

Merged
Zakharov_Rostislav merged 22 commits from lab-3 into main 2024-05-23 12:01:06 +04:00
2 changed files with 13 additions and 5 deletions
Showing only changes of commit f03ab7e06d - Show all commits

View File

@ -27,6 +27,14 @@ public class BookDto {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getTypeId() {
return typeId;
}

View File

@ -10,7 +10,7 @@ public class UserDto {
private Long id;
@NotBlank
@Size(min = 5, max = 20)
private String name;
private String login;
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
@NotBlank
@Size(min = 5, max = 20)
@ -28,12 +28,12 @@ public class UserDto {
this.id = id;
}
public String getName() {
return name;
public String getLogin() {
return login;
}
public void setName(String name) {
this.name = name;
public void setLogin(String name) {
this.login = name;
}
public String getPassword() {