Ignore:
Timestamp:
09/03/21 11:25:12 (3 years ago)
Author:
KostaFortumanov <kfortumanov@…>
Branches:
master
Children:
f8007b3
Parents:
5577566
Message:

Added moderator class

Location:
src/main/java/it/finki/charitable/entities
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/charitable/entities/AppUser.java

    r5577566 rf0d5cb7  
    3636    private String email;
    3737    private String password;
    38     private String creditCardInfo;
    3938    @Enumerated(EnumType.STRING)
    4039    private UserRole userRole;
    4140    private Boolean enabled;
    42 
    43     @OneToMany
    44     private List<DonationInformation> donationInformation = new ArrayList<>();
    4541
    4642    public AppUser() {
     
    8379    }
    8480
    85     public String getCreditCardInfo() {
    86         return creditCardInfo;
    87     }
    88 
    89     public void setCreditCardInfo(String creditCardInfo) {
    90         this.creditCardInfo = creditCardInfo;
    91     }
    92 
    9381    public UserRole getUserRole() {
    9482        return userRole;
     
    10593    public void setEnabled(Boolean enabled) {
    10694        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;
    11595    }
    11696
Note: See TracChangeset for help on using the changeset viewer.