source: src/main/java/com/example/skychasemk/dto/SupportTicketDTO.java@ 62bba0c

Last change on this file since 62bba0c was 62bba0c, checked in by ste08 <sjovanoska@…>, 3 months ago

Report working, Wishlist partly working.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1package com.example.skychasemk.dto;
2
3import lombok.Getter;
4import lombok.Setter;
5
6import java.time.LocalDate;
7
8public class SupportTicketDTO {
9
10 // Getters and Setters
11 @Setter
12 @Getter
13 private Integer ticketID;
14 private Integer userId;
15 private String subject;
16 private String description;
17 private TicketStatus status;
18 private LocalDate dateCreated;
19 private LocalDate dateResolved;
20 private Integer assignedTo;
21
22 public enum TicketStatus {
23 Open,
24 InProgress,
25 Resolved
26 }
27
28 public Integer getUserId() {
29 return userId;
30 }
31
32 public void setUserId(Integer userId) {
33 this.userId = userId;
34 }
35
36 public String getSubject() {
37 return subject;
38 }
39
40 public void setSubject(String subject) {
41 this.subject = subject;
42 }
43
44 public String getDescription() {
45 return description;
46 }
47
48 public void setDescription(String description) {
49 this.description = description;
50 }
51
52 public TicketStatus getStatus() {
53 return status;
54 }
55
56 public void setStatus(TicketStatus status) {
57 this.status = status;
58 }
59
60 public LocalDate getDateCreated() {
61 return dateCreated;
62 }
63
64 public void setDateCreated(LocalDate dateCreated) {
65 this.dateCreated = dateCreated;
66 }
67
68 public LocalDate getDateResolved() {
69 return dateResolved;
70 }
71
72 public void setDateResolved(LocalDate dateResolved) {
73 this.dateResolved = dateResolved;
74 }
75
76 public Integer getAssignedTo() {
77 return assignedTo;
78 }
79
80 public void setAssignedTo(Integer assignedTo) {
81 this.assignedTo = assignedTo;
82 }
83}
84
Note: See TracBrowser for help on using the repository browser.