source: src/main/java/com/example/fooddeliverysystem/model/views/MostLoyalCustomerForEachPlace.java

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: 776 bytes
Line 
1package com.example.fooddeliverysystem.model.views;
2
3import jakarta.persistence.Column;
4import jakarta.persistence.Entity;
5import jakarta.persistence.Id;
6import lombok.Data;
7import lombok.NoArgsConstructor;
8import org.hibernate.annotations.Immutable;
9
10@Entity(name = "najveren_potrosuvac_za_sekoe_prodazno_mesto")
11@Immutable
12@Data
13@NoArgsConstructor
14public class MostLoyalCustomerForEachPlace {
15
16 @Column(name = "ime_potrosuvac")
17 private String customerName;
18
19 @Column(name = "ime_mesto")
20 private String salePlaceName;
21
22 @Column(name = "adresa_potrosuvac")
23 private String customerAdress;
24
25 @Column(name = "broj_adresa_potrosuvac")
26 private Integer customerAdressNumber;
27
28 @Id
29 @Column(name = "broj_naracka")
30 private Long orderNumber;
31
32
33
34}
Note: See TracBrowser for help on using the repository browser.