Last change
on this file was f7c05a1, checked in by Elena Shulevska <elena.shulevska@…>, 15 months ago |
initial commit of the source code on origin
|
-
Property mode
set to
100644
|
File size:
729 bytes
|
Line | |
---|
1 | package com.example.villadihovo.model.statistics;
|
---|
2 |
|
---|
3 | import com.example.villadihovo.model.reservations.GuestMakeReservationId;
|
---|
4 | import jakarta.persistence.*;
|
---|
5 | import lombok.AllArgsConstructor;
|
---|
6 | import lombok.Data;
|
---|
7 | import lombok.NoArgsConstructor;
|
---|
8 |
|
---|
9 | import java.math.BigDecimal;
|
---|
10 |
|
---|
11 | @Data
|
---|
12 | @AllArgsConstructor
|
---|
13 | @NoArgsConstructor
|
---|
14 | @Entity
|
---|
15 | @Table(name = "activity_statistics")
|
---|
16 | public class StatisticsForActivity {
|
---|
17 |
|
---|
18 | @Id
|
---|
19 | @Column(name = "years")
|
---|
20 | private BigDecimal years;
|
---|
21 |
|
---|
22 | @Column(name = "num_activities")
|
---|
23 | private Integer num_activities;
|
---|
24 |
|
---|
25 | @Column(name = "total_guests")
|
---|
26 | private Integer total_guests;
|
---|
27 |
|
---|
28 | @Column(name = "avg_price")
|
---|
29 | private float avg_price;
|
---|
30 |
|
---|
31 | @Column(name = "sales")
|
---|
32 | private float sales;
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.