Last change
on this file was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 20 months ago |
code added, trial 2
|
-
Property mode
set to
100644
|
File size:
730 bytes
|
Line | |
---|
1 | package com.example.fooddeliverysystem.model.views;
|
---|
2 |
|
---|
3 | import jakarta.persistence.Column;
|
---|
4 | import jakarta.persistence.Entity;
|
---|
5 | import jakarta.persistence.Id;
|
---|
6 | import lombok.Data;
|
---|
7 | import lombok.NoArgsConstructor;
|
---|
8 | import org.hibernate.annotations.Immutable;
|
---|
9 |
|
---|
10 | @Entity(name = "najdobri_paketi_za_sekoe_prodazno_mesto")
|
---|
11 | @Immutable
|
---|
12 | @Data
|
---|
13 | @NoArgsConstructor
|
---|
14 | public class BestPacketsForEachSalePlace {
|
---|
15 |
|
---|
16 |
|
---|
17 | @Column(name = "ime")
|
---|
18 | private String namePlace;
|
---|
19 |
|
---|
20 | @Id
|
---|
21 | @Column(name = "paket_id")
|
---|
22 | private Long packetId;
|
---|
23 |
|
---|
24 | @Column(name = "se_sostoi_od")
|
---|
25 | private String contains;
|
---|
26 |
|
---|
27 | @Column(name = "vkupno_prodadeni")
|
---|
28 | private Integer totalSold;
|
---|
29 |
|
---|
30 | @Column(name = "ime_vraboten")
|
---|
31 | private String employeeThatAddedName;
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.