-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
316883e
commit eb67a56
Showing
12 changed files
with
200 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
.../src/main/java/gg/agenda/api/admin/ticket/controller/request/TicketChangeAdminReqDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package gg.agenda.api.admin.ticket.controller.request; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.UUID; | ||
|
||
import org.springframework.format.annotation.DateTimeFormat; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor(access = lombok.AccessLevel.PROTECTED) | ||
public class TicketChangeAdminReqDto { | ||
private UUID issuedFromKey; | ||
private UUID usedToKey; | ||
private Boolean isApproved; | ||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) | ||
private LocalDateTime approvedAt; | ||
private Boolean isUsed; | ||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) | ||
private LocalDateTime usedAt; | ||
|
||
@Builder | ||
public TicketChangeAdminReqDto(UUID issuedFromKey, UUID usedToKey, Boolean isApproved, | ||
LocalDateTime approvedAt, | ||
Boolean isUsed, LocalDateTime usedAt) { | ||
this.issuedFromKey = issuedFromKey; | ||
this.usedToKey = usedToKey; | ||
this.isApproved = isApproved; | ||
this.approvedAt = approvedAt; | ||
this.isUsed = isUsed; | ||
this.usedAt = usedAt; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.