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 | |
---|
1 | package com.example.autopartz.model.views;
|
---|
2 |
|
---|
3 | import lombok.Getter;
|
---|
4 | import lombok.RequiredArgsConstructor;
|
---|
5 | import lombok.Setter;
|
---|
6 | import lombok.ToString;
|
---|
7 | import org.hibernate.annotations.Immutable;
|
---|
8 |
|
---|
9 | import javax.persistence.Entity;
|
---|
10 | import javax.persistence.Id;
|
---|
11 | import javax.persistence.Table;
|
---|
12 | import java.io.Serial;
|
---|
13 | import 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`")
|
---|
23 | public 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.