- Timestamp:
- 09/03/21 11:25:12 (3 years ago)
- Branches:
- master
- Children:
- f8007b3
- Parents:
- 5577566
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/charitable/entities/AppUser.java
r5577566 rf0d5cb7 36 36 private String email; 37 37 private String password; 38 private String creditCardInfo;39 38 @Enumerated(EnumType.STRING) 40 39 private UserRole userRole; 41 40 private Boolean enabled; 42 43 @OneToMany44 private List<DonationInformation> donationInformation = new ArrayList<>();45 41 46 42 public AppUser() { … … 83 79 } 84 80 85 public String getCreditCardInfo() {86 return creditCardInfo;87 }88 89 public void setCreditCardInfo(String creditCardInfo) {90 this.creditCardInfo = creditCardInfo;91 }92 93 81 public UserRole getUserRole() { 94 82 return userRole; … … 105 93 public void setEnabled(Boolean enabled) { 106 94 this.enabled = enabled; 107 }108 109 public List<DonationInformation> getDonationInformation() {110 return donationInformation;111 }112 113 public void setDonationInformation(List<DonationInformation> donationInformation) {114 this.donationInformation = donationInformation;115 95 } 116 96
Note:
See TracChangeset
for help on using the changeset viewer.