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

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

Added admin view of pending roles and approve functionality

  • Property mode set to 100644
File size: 836 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.Table;
12import java.io.Serial;
13import java.io.Serializable;
14
15// извештај за сите сервиси и за сите број на reviews и avg рејтинг
16@Entity
17@Getter
18@Setter
19@ToString
20@RequiredArgsConstructor
21@Immutable
22@Table(name = "`reviews_for_user`")
23public class ReviewsForUser implements Serializable {
24 @Serial
25 private static final long serialVersionUID = 1L;
26 @Id
27 Integer repairid;
28 Integer userid;
29 Integer rating;
30 Integer orderid;
31 String rcomment;
32 String rsname;
33 String rslocation;
34}
35
36
Note: See TracBrowser for help on using the repository browser.