Changeset 5201690 for phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
- Timestamp:
- 09/21/22 18:46:15 (2 years ago)
- Branches:
- master
- Children:
- d66b8eb
- Parents:
- 7e88e46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
r7e88e46 r5201690 14 14 @Setter 15 15 @ToString 16 @EqualsAndHashCode 16 17 @Entity(name = "PhoneOffer") 17 18 @Table(name = "phone_offers") … … 76 77 77 78 @ManyToMany(mappedBy = "favouriteOffers") 79 @JsonIgnore 78 80 private List<User> users = new ArrayList<User>(); 79 81 … … 112 114 this.phone = phone; 113 115 } 116 117 public PhoneOffer(Long id, 118 String offer_shop, 119 String offer_name, 120 Integer price, 121 String ram_memory, 122 String rom_memory, 123 String color, 124 String front_camera, 125 String back_camera, 126 String chipset, 127 String battery, 128 String operating_system, 129 String cpu, 130 String image_url, 131 String offer_url, 132 Date last_updated, 133 Boolean is_validated, 134 String offer_description, 135 String offer_shop_code) { 136 this.id = id; 137 this.offer_shop = offer_shop; 138 this.offer_name = offer_name; 139 this.price = price; 140 this.ram_memory = ram_memory; 141 this.rom_memory = rom_memory; 142 this.color = color; 143 this.front_camera = front_camera; 144 this.back_camera = back_camera; 145 this.chipset = chipset; 146 this.battery = battery; 147 this.operating_system = operating_system; 148 this.cpu = cpu; 149 this.image_url = image_url; 150 this.offer_url = offer_url; 151 this.last_updated = last_updated; 152 this.is_validated = is_validated; 153 this.offer_description = offer_description; 154 this.offer_shop_code = offer_shop_code; 155 } 114 156 }
Note:
See TracChangeset
for help on using the changeset viewer.