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:
737 bytes
|
Rev | Line | |
---|
[8d11f8c] | 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 = "dostavuvac_dostavi_za_sekoe_prod_mesto")
|
---|
| 11 | @Immutable
|
---|
| 12 | @Data
|
---|
| 13 | @NoArgsConstructor
|
---|
| 14 | public class DeliverNumberOfOrdersDeliveredBySalePlace {
|
---|
| 15 |
|
---|
| 16 | @Id
|
---|
| 17 | @Column(name = "id_mesto")
|
---|
| 18 | private Long salePlaceId;
|
---|
| 19 |
|
---|
| 20 | @Column(name = "ime")
|
---|
| 21 | private String deliverName;
|
---|
| 22 |
|
---|
| 23 | @Column(name = "ime_mesto")
|
---|
| 24 | private String salePlaceName;
|
---|
| 25 |
|
---|
| 26 | @Column(name = "broj_naracki")
|
---|
| 27 | private Integer numberOfOrders;
|
---|
| 28 |
|
---|
| 29 | @Column(name = "vkupna_suma")
|
---|
| 30 | private Integer totalSum;
|
---|
| 31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.