Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![header](https://capsule-render.vercel.app/api?type=venom&color=gradient&height=300&section=header&text=Uplait&fontSize=90&fontColor=ffffff)
<img width="1205" alt="image" src="https://github.com/user-attachments/assets/04aa4a27-263f-49cb-a2e9-92ffa7b59ae4" />

# U-Plait 프로젝트 소개

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
@Getter
public class IPTVBookmarkResponse extends BookmarkResponse{
@Schema(description = "할인 가격", example = "79500")
private int discountPrice;
private int iptvDiscount;

@Schema(description = "채널 수", example = "255")
private int channel;

public IPTVBookmarkResponse(IPTVPlan plan, Long bookmarkId, boolean isBookmarked) {
super(plan, bookmarkId, isBookmarked);
this.discountPrice = plan.getIptvDiscountRate();
this.iptvDiscount = plan.getPlanPrice() * (100 - plan.getIptvDiscountRate()) / 100;
this.channel = plan.getChannel();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
@Getter
public class InternetBookmarkResponse extends BookmarkResponse{
@Schema(description = "할인 가격", example = "79500")
private int discountPrice;
private int internetDiscount;

@Schema(description = "인터넷 속도", example = "1GB")
private String velocity;

public InternetBookmarkResponse(InternetPlan plan, Long bookmarkId, boolean isBookmarked) {
super(plan, bookmarkId, isBookmarked);
this.discountPrice = plan.getInternetDiscountRate();
this.internetDiscount = plan.getInternetDiscountRate();
this.velocity = plan.getVelocity();
}
}
Loading