source: src/main/java/com/example/skychasemk/model/TopMonthlyReport.java@ 9868304

Last change on this file since 9868304 was a70b5a4, checked in by ste08 <sjovanoska@…>, 4 months ago

Report added

  • Property mode set to 100644
File size: 1.1 KB
Line 
1package com.example.skychasemk.model;
2
3import jakarta.persistence.Column;
4import jakarta.persistence.Entity;
5import jakarta.persistence.Id;
6import jakarta.persistence.Table;
7
8import java.time.LocalDate;
9
10@Entity
11@Table(name="topmonhtlyreport")
12public class TopMonthlyReport {
13 @Id
14 @Column(name = "month")
15 private LocalDate month;
16
17 @Column(name = "category")
18 private String category;
19
20 @Column(name = "name")
21 private String name;
22
23 @Column(name = "count")
24 private int count;
25
26 // Getters and Setters
27 public LocalDate getMonth() {
28 return month;
29 }
30
31 public void setMonth(LocalDate month) {
32 this.month = month;
33 }
34
35 public String getCategory() {
36 return category;
37 }
38
39 public void setCategory(String category) {
40 this.category = category;
41 }
42
43 public String getName() {
44 return name;
45 }
46
47 public void setName(String name) {
48 this.name = name;
49 }
50
51 public int getCount() {
52 return count;
53 }
54
55 public void setCount(int count) {
56 this.count = count;
57 }
58}
Note: See TracBrowser for help on using the repository browser.