source: src/main/java/com/example/fooddeliverysystem/model/views/TotalCouponsByCustomer.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: 568 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 = "potrosuvaci_vkupen_iznos_kuponi")
11@Immutable
12@Data
13@NoArgsConstructor
14public class TotalCouponsByCustomer {
15
16 @Id
17 @Column(name = "korisnik_id")
18 private Long userId;
19
20 @Column(name = "ime")
21 private String userName;
22
23 @Column(name = "vkupen_iznos")
24 private Integer totalSum;
25}
Note: See TracBrowser for help on using the repository browser.