Skip to content

Commit b7c24c5

Browse files
vchornyy12Oleksandr
authored andcommitted
Fixed incorrect data types for ID in entity/DTO classes
1 parent da5ba0e commit b7c24c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/com/softserve/entity/RoomType.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.softserve.entity;
22

3-
import lombok.Data;
4-
import lombok.NoArgsConstructor;
3+
import lombok.*;
54

65
import javax.persistence.*;
76
import javax.validation.constraints.NotEmpty;
@@ -10,7 +9,9 @@
109
import java.io.Serializable;
1110

1211
@NoArgsConstructor
13-
@Data
12+
@ToString
13+
@Getter
14+
@Setter
1415
@Entity
1516
@Table(name = "room_types")
1617
public class RoomType implements Serializable {

0 commit comments

Comments
 (0)