source: src/main/java/com/example/villadihovo/model/statistics/StatisticsForActivity.java

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 
1package com.example.villadihovo.model.statistics;
2
3import com.example.villadihovo.model.reservations.GuestMakeReservationId;
4import jakarta.persistence.*;
5import lombok.AllArgsConstructor;
6import lombok.Data;
7import lombok.NoArgsConstructor;
8
9import java.math.BigDecimal;
10
11@Data
12@AllArgsConstructor
13@NoArgsConstructor
14@Entity
15@Table(name = "activity_statistics")
16public 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.