Skip to content

Commit

Permalink
rename: 패키지 이름 변경(#14)
Browse files Browse the repository at this point in the history
rename: 패키지 이름 변경
  • Loading branch information
LJH098 authored Oct 15, 2024
2 parents a9a2194 + 8764f40 commit e26f9a7
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu;
package com.hyunsolution.dangu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package com.hyunsolutiondemo.dangu.chatlog;
package com.hyunsolution.dangu.chatlog;

import com.hyunsolutiondemo.dangu.user.User;
import com.hyunsolutiondemo.dangu.workspace.Workspace;
import com.hyunsolution.dangu.user.User;
import com.hyunsolution.dangu.workspace.Workspace;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.ColumnDefault;

import javax.persistence.*;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Entity
@Getter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.hyunsolutiondemo.dangu.chatting;
package com.hyunsolution.dangu.chatting;

import com.hyunsolutiondemo.dangu.user.User;
import com.hyunsolutiondemo.dangu.workspace.Workspace;
import com.hyunsolution.dangu.user.User;
import com.hyunsolution.dangu.workspace.Workspace;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package com.hyunsolutiondemo.dangu.common.apiResponse;
import com.hyunsolutiondemo.dangu.common.apiResponse.ErrorCode;
package com.hyunsolution.dangu.common.apiResponse;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.springframework.http.HttpStatus;
import org.springframework.lang.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu.common.apiResponse;
package com.hyunsolution.dangu.common.apiResponse;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu.common.apiResponse;
package com.hyunsolution.dangu.common.apiResponse;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.hyunsolutiondemo.dangu.common.apiResponse;
package com.hyunsolution.dangu.common.apiResponse;

import lombok.Getter;
import com.hyunsolutiondemo.dangu.common.apiResponse.ErrorCode;

import javax.validation.constraints.NotNull;

@Getter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu.common.apiResponse;
package com.hyunsolution.dangu.common.apiResponse;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.HttpRequestMethodNotSupportedException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.hyunsolutiondemo.dangu.participant.controller;
package com.hyunsolution.dangu.participant.controller;

import com.hyunsolutiondemo.dangu.common.apiResponse.ApiResponse;
import com.hyunsolutiondemo.dangu.participant.domain.ParticipantRepository;
import com.hyunsolutiondemo.dangu.participant.service.ParticipantService;
import com.hyunsolutiondemo.dangu.user.domain.UserRepository;
import com.hyunsolutiondemo.dangu.workspace.domain.WorkspaceRepository;
import com.hyunsolution.dangu.common.apiResponse.ApiResponse;
import com.hyunsolution.dangu.participant.domain.ParticipantRepository;
import com.hyunsolution.dangu.participant.service.ParticipantService;
import com.hyunsolution.dangu.user.domain.UserRepository;
import com.hyunsolution.dangu.workspace.domain.WorkspaceRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.hyunsolutiondemo.dangu.participant.domain;
package com.hyunsolution.dangu.participant.domain;

import com.hyunsolutiondemo.dangu.user.domain.User;
import com.hyunsolutiondemo.dangu.workspace.domain.Workspace;
import com.hyunsolution.dangu.user.domain.User;
import com.hyunsolution.dangu.workspace.domain.Workspace;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.hyunsolutiondemo.dangu.participant.domain;
package com.hyunsolution.dangu.participant.domain;

import com.hyunsolutiondemo.dangu.user.domain.User;
import com.hyunsolution.dangu.user.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.hyunsolutiondemo.dangu.participant.service;
package com.hyunsolution.dangu.participant.service;

import com.hyunsolutiondemo.dangu.participant.domain.Participant;
import com.hyunsolutiondemo.dangu.participant.domain.ParticipantRepository;
import com.hyunsolutiondemo.dangu.user.domain.UserRepository;
import com.hyunsolutiondemo.dangu.workspace.domain.Workspace;
import com.hyunsolutiondemo.dangu.workspace.domain.WorkspaceRepository;
import com.hyunsolution.dangu.participant.domain.Participant;
import com.hyunsolution.dangu.participant.domain.ParticipantRepository;
import com.hyunsolution.dangu.user.domain.UserRepository;
import com.hyunsolution.dangu.workspace.domain.Workspace;
import com.hyunsolution.dangu.workspace.domain.WorkspaceRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu.user.domain;
package com.hyunsolution.dangu.user.domain;

import lombok.AccessLevel;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.hyunsolutiondemo.dangu.workspace.domain;
package com.hyunsolution.dangu.workspace.domain;

import com.hyunsolutiondemo.dangu.user.domain.User;
import com.hyunsolution.dangu.user.domain.User;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.hyunsolutiondemo.dangu.workspace.domain;
package com.hyunsolution.dangu.workspace.domain;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.Optional;

public interface WorkspaceRepository extends JpaRepository<Workspace, Long> {

@Query(value = "UPDATE Workspace w SET w.isMatched=true WHERE w.id=:workspaceId")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.hyunsolutiondemo.dangu;
package com.hyunsolution.dangu;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down

0 comments on commit e26f9a7

Please sign in to comment.