[57e58a3] | 1 | package com.example.skychasemk.dto;
|
---|
| 2 |
|
---|
[62bba0c] | 3 | import lombok.Getter;
|
---|
| 4 | import lombok.Setter;
|
---|
| 5 |
|
---|
[57e58a3] | 6 | import java.time.LocalDate;
|
---|
| 7 |
|
---|
| 8 | public class SupportTicketDTO {
|
---|
| 9 |
|
---|
[62bba0c] | 10 | // Getters and Setters
|
---|
| 11 | @Setter
|
---|
| 12 | @Getter
|
---|
[57e58a3] | 13 | private Integer ticketID;
|
---|
[62bba0c] | 14 | private Integer userId;
|
---|
[57e58a3] | 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 |
|
---|
[62bba0c] | 28 | public Integer getUserId() {
|
---|
| 29 | return userId;
|
---|
[57e58a3] | 30 | }
|
---|
| 31 |
|
---|
[62bba0c] | 32 | public void setUserId(Integer userId) {
|
---|
| 33 | this.userId = userId;
|
---|
[57e58a3] | 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 |
|
---|