Changeset ffd50db for phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
- Timestamp:
- 10/01/22 22:57:41 (2 years ago)
- Branches:
- master
- Children:
- 47f4eaf
- Parents:
- fd5b100
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/PhoneOffer.java
rfd5b100 rffd50db 20 20 @Id 21 21 @Column(name = "offer_id") 22 @GeneratedValue(strategy=GenerationType.IDENTITY) 22 23 private Long id; 23 24 … … 115 116 } 116 117 118 public PhoneOffer(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.offer_shop = offer_shop; 137 this.offer_name = offer_name; 138 this.price = price; 139 this.ram_memory = ram_memory; 140 this.rom_memory = rom_memory; 141 this.color = color; 142 this.front_camera = front_camera; 143 this.back_camera = back_camera; 144 this.chipset = chipset; 145 this.battery = battery; 146 this.operating_system = operating_system; 147 this.cpu = cpu; 148 this.image_url = image_url; 149 this.offer_url = offer_url; 150 this.last_updated = last_updated; 151 this.is_validated = is_validated; 152 this.offer_description = offer_description; 153 this.offer_shop_code = offer_shop_code; 154 } 155 117 156 public PhoneOffer(Long id, 118 157 String offer_shop,
Note:
See TracChangeset
for help on using the changeset viewer.