source: src/main/java/com/example/autopartz/model/views/RepairsForUser.java

main
Last change on this file was d4b888e, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added full functionality for adding review

  • Property mode set to 100644
File size: 867 bytes
Line 
1package com.example.autopartz.model.views;
2
3import lombok.Getter;
4import lombok.RequiredArgsConstructor;
5import lombok.Setter;
6import lombok.ToString;
7import org.hibernate.annotations.Immutable;
8
9import javax.persistence.Entity;
10import javax.persistence.Id;
11import javax.persistence.IdClass;
12import javax.persistence.Table;
13import java.io.Serial;
14import java.io.Serializable;
15import java.time.LocalDateTime;
16
17// извештај за сите сервиси и за сите број на reviews и avg рејтинг
18@Entity
19@Getter
20@Setter
21@ToString
22@RequiredArgsConstructor
23@Immutable
24@Table(name = "`repairs_for_user`")
25public class RepairsForUser implements Serializable {
26 @Serial
27 private static final long serialVersionUID = 1L;
28 @Id
29 Integer repairid;
30 Integer userid;
31 LocalDateTime orderdate;
32 Integer orderid;
33 String rsname;
34}
35
36
Note: See TracBrowser for help on using the repository browser.