Fix bugs. Feature abstract class added
This commit is contained in:
@@ -11,6 +11,7 @@ import javax.persistence.Id;
|
|||||||
@Entity
|
@Entity
|
||||||
@Data
|
@Data
|
||||||
//@AllArgsConstructor
|
//@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class User {
|
public class User {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@@ -72,4 +73,4 @@ public class User {
|
|||||||
|
|
||||||
return "User(id=" + this.id + ", name=" + this.name + ", password=" + this.password + ")";
|
return "User(id=" + this.id + ", name=" + this.name + ", password=" + this.password + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user