-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from work-at/feature/get-cs-type-list
feat: cs type 리스트 조회
- Loading branch information
Showing
4 changed files
with
44 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
src/main/java/com/workat/api/report/dto/response/CSTypeListResponse.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,25 @@ | ||
package com.workat.api.report.dto.response; | ||
|
||
import java.util.List; | ||
|
||
import com.workat.domain.report.CSType; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Getter | ||
public class CSTypeListResponse { | ||
|
||
@ApiModelProperty(name = "response", notes = "cs 타입") | ||
private List<CSType> CSTypes; | ||
|
||
private CSTypeListResponse(List<CSType> CSTypes) { | ||
this.CSTypes = CSTypes; | ||
} | ||
|
||
public static CSTypeListResponse of(List<CSType> CSTypes) { | ||
return new CSTypeListResponse(CSTypes); | ||
} | ||
} |
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