- Timestamp:
- 02/07/23 13:48:25 (22 months ago)
- Branches:
- master
- Children:
- fc448f5
- Parents:
- f7b0906
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/model/Customer.java
rf7b0906 rd7f5da9 34 34 35 35 @Override 36 public boolean equals(Object o) { 37 if (this == o) return true; 38 if (o == null || getClass() != o.getClass()) return false; 39 Customer customer = (Customer) o; 40 return id_user!=null && Objects.equals(id_user,customer.id_user); 41 } 42 43 @Override 44 public int hashCode() { 45 return Objects.hash(); 46 } 47 48 @Override 36 49 public Collection<? extends GrantedAuthority> getAuthorities() { 37 50 return Collections.singletonList(Role.ROLE_USER);
Note:
See TracChangeset
for help on using the changeset viewer.