-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
76 additions
and
55 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
21 changes: 16 additions & 5 deletions
21
src/main/java/poomasi/domain/admin/statistics/dto/response/CategoryMonthlySalesResponse.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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
package poomasi.domain.admin.statistics.dto.response; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public record CategoryMonthlySalesResponse( | ||
String categoryName, | ||
int count, | ||
BigDecimal totalSales | ||
) { } | ||
@Getter | ||
@Setter | ||
public class CategoryMonthlySalesResponse { | ||
private String categoryName; | ||
private int count; | ||
private BigDecimal totalSales; | ||
|
||
public CategoryMonthlySalesResponse(String categoryName, int count, BigDecimal totalSales) { | ||
this.categoryName = categoryName; | ||
this.count = count; | ||
this.totalSales = totalSales; | ||
} | ||
} |
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