Ignore:
Timestamp:
09/07/22 00:51:50 (2 years ago)
Author:
Marko <Marko@…>
Branches:
master
Children:
527b93f
Parents:
dbd4834
Message:

Edited registration and login services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java

    rdbd4834 rf25d07e  
    55
    66import javax.persistence.*;
     7import java.util.ArrayList;
    78import java.util.Date;
     9import java.util.List;
    810
    911@AllArgsConstructor
     
    7375    private String offer_shop_code;
    7476
     77    @ManyToMany(mappedBy = "favouriteOffers")
     78    private List<User> users = new ArrayList<User>();
     79
    7580    @ManyToOne(fetch = FetchType.LAZY)
    7681    @JoinColumn(name = "phone_id", referencedColumnName = "id")
Note: See TracChangeset for help on using the changeset viewer.