Skip to content

Commit dd33a59

Browse files
committed
feat: Create AccommodationPriceDto
1 parent 20c728d commit dd33a59

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.sweetypie.sweetypie.dto;
2+
3+
import com.querydsl.core.annotations.QueryProjection;
4+
import lombok.Data;
5+
6+
@Data
7+
public class AccommodationPriceDto {
8+
9+
int price;
10+
11+
@QueryProjection
12+
public AccommodationPriceDto(int price) {
13+
this.price = price;
14+
}
15+
}

0 commit comments

Comments
 (0)