source: phonelux-backend/src/main/java/finki/it/phoneluxbackend/entities/ScrapperInfo.java

Last change on this file was 47f4eaf, checked in by Marko <Marko@…>, 2 years ago

Final features implemented

  • Property mode set to 100644
File size: 757 bytes
Line 
1package finki.it.phoneluxbackend.entities;
2
3import lombok.*;
4
5import javax.persistence.*;
6import java.time.LocalDateTime;
7
8
9@AllArgsConstructor
10@NoArgsConstructor
11@Getter
12@Setter
13@ToString
14@Entity(name = "ScrapperInfo")
15@Table(name = "scrapper_info")
16public class ScrapperInfo {
17
18 @Id
19 @Column(name = "id")
20 @GeneratedValue(strategy=GenerationType.IDENTITY)
21 private Long id;
22 @Column(name = "store")
23 private String store;
24 @Column(name = "status")
25 private String status;
26 @Column(name = "recieved_at")
27 private LocalDateTime recievedAt;
28
29 public ScrapperInfo(String store, String status, LocalDateTime recievedAt) {
30 this.store = store;
31 this.status = status;
32 this.recievedAt = recievedAt;
33 }
34
35}
Note: See TracBrowser for help on using the repository browser.