-
Notifications
You must be signed in to change notification settings - Fork 1
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 #125 from ghdcksgml1/dev
Merge Dev Branch
- Loading branch information
Showing
36 changed files
with
1,837 additions
and
71 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
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
5 changes: 5 additions & 0 deletions
5
...a/com/heachi/housework/api/controller/housework/info/request/HouseworkInfoDeleteType.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,5 @@ | ||
package com.heachi.housework.api.controller.housework.info.request; | ||
|
||
public enum HouseworkInfoDeleteType { | ||
ALL, ONE | ||
} |
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
...va/com/heachi/housework/api/service/group/info/request/GroupInfoUpdateServiceRequest.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 com.heachi.housework.api.service.group.info.request; | ||
|
||
import com.heachi.housework.api.controller.group.info.request.GroupInfoCreateRequest; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class GroupInfoUpdateServiceRequest { | ||
private Long groupId; | ||
private String bgColor; | ||
private String colorCode; | ||
private String gradient; | ||
private String name; | ||
private String info; | ||
|
||
@Builder | ||
public GroupInfoUpdateServiceRequest(Long groupId, String bgColor, String colorCode, String gradient, String name, String info) { | ||
this.groupId = groupId; | ||
this.bgColor = bgColor; | ||
this.colorCode = colorCode; | ||
this.gradient = gradient; | ||
this.name = name; | ||
this.info = info; | ||
} | ||
|
||
public static GroupInfoUpdateServiceRequest of(GroupInfoCreateRequest request, Long groupId) { | ||
return GroupInfoUpdateServiceRequest.builder() | ||
.groupId(groupId) | ||
.bgColor(request.getBgColor()) | ||
.colorCode(request.getColorCode()) | ||
.gradient(request.getGradient()) | ||
.name(request.getName()) | ||
.info(request.getInfo()) | ||
.build(); | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ava/com/heachi/housework/api/service/group/info/response/GroupInfoUpdatePageResponse.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,37 @@ | ||
package com.heachi.housework.api.service.group.info.response; | ||
|
||
import com.heachi.mysql.define.group.info.GroupInfo; | ||
import jakarta.validation.constraints.NotEmpty; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import org.hibernate.validator.constraints.Length; | ||
|
||
@Getter | ||
public class GroupInfoUpdatePageResponse { | ||
private String bgColor; | ||
private String colorCode; | ||
private String gradient; | ||
private String name; | ||
private String info; | ||
|
||
@Builder | ||
public GroupInfoUpdatePageResponse(String bgColor, String colorCode, String gradient, String name, String info) { | ||
this.bgColor = bgColor; | ||
this.colorCode = colorCode; | ||
this.gradient = gradient; | ||
this.name = name; | ||
this.info = info; | ||
} | ||
|
||
public static GroupInfoUpdatePageResponse of(GroupInfo groupInfo) { | ||
return GroupInfoUpdatePageResponse.builder() | ||
.bgColor(groupInfo.getBgColor()) | ||
.colorCode(groupInfo.getColorCode()) | ||
.gradient(groupInfo.getGradient()) | ||
.name(groupInfo.getName()) | ||
.info(groupInfo.getInfo()) | ||
.build(); | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.