-
Notifications
You must be signed in to change notification settings - Fork 4
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
44 changed files
with
326 additions
and
29 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
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/asset/controller/AssetController.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.asset.controller; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@RestController | ||
public class AssetController { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/asset/dto/AssetReq.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.asset.dto; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class AssetReq { | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/kbds/itamserveradmin/domain/asset/dto/AssetRes.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.asset.dto; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Builder | ||
public class AssetRes { | ||
} |
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
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/asset/repository/AssetNoticeRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.asset.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.asset.entity.AssetNotice; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetNoticeRepository extends JpaRepository<AssetNotice, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/asset/repository/AssetRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.asset.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.asset.entity.Asset; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetRepository extends JpaRepository<Asset, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/asset/repository/ManualLogRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.asset.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.asset.entity.ManualLog; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface ManualLogRepository extends JpaRepository<ManualLog, String> { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/com/kbds/itamserveradmin/domain/asset/service/AssetService.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,10 @@ | ||
package com.kbds.itamserveradmin.domain.asset.service; | ||
|
||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.stereotype.Service; | ||
|
||
@Service | ||
@RequiredArgsConstructor | ||
public class AssetService { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
...va/com/kbds/itamserveradmin/domain/assetRequest/repository/AssetRequestLogRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.assetRequest.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.assetRequest.entity.AssetRequestLog; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetRequestLogRepository extends JpaRepository<AssetRequestLog, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
.../kbds/itamserveradmin/domain/assetRequest/repository/AssetRequestManageLogRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.assetRequest.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.assetRequest.entity.AssetRequestManageLog; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetRequestManageLogRepository extends JpaRepository<AssetRequestManageLog, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
...com/kbds/itamserveradmin/domain/assetRequest/repository/AssetRequestManageRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.assetRequest.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.assetRequest.entity.AssetRequestManage; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetRequestManageRepository extends JpaRepository<AssetRequestManage, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
.../java/com/kbds/itamserveradmin/domain/assetRequest/repository/AssetRequestRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.assetRequest.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.assetRequest.entity.AssetRequest; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AssetRequestRepository extends JpaRepository<AssetRequest, String> { | ||
} |
8 changes: 8 additions & 0 deletions
8
...m/kbds/itamserveradmin/domain/assetRequest/repository/UserAssetRequestInfoRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.assetRequest.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.assetRequest.entity.UserAssetRequestInfo; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
|
||
public interface UserAssetRequestInfoRepository extends JpaRepository<UserAssetRequestInfo, String> { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/com/kbds/itamserveradmin/domain/contract/controller/ContractController.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,10 @@ | ||
package com.kbds.itamserveradmin.domain.contract.controller; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@Slf4j | ||
@RestController | ||
|
||
public class ContractController { | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
package com.kbds.itamserveradmin.domain.contract.entity; | ||
|
||
public enum OpStatus { | ||
IN_OPERATION, IN_DISPOSAL | ||
} | ||
30 changes: 30 additions & 0 deletions
30
src/main/java/com/kbds/itamserveradmin/domain/contract/entity/PeriodType.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,30 @@ | ||
package com.kbds.itamserveradmin.domain.contract.entity; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.persistence.Entity; | ||
import javax.persistence.Id; | ||
import javax.persistence.JoinColumn; | ||
import javax.persistence.OneToOne; | ||
import java.time.LocalDateTime; | ||
|
||
@Entity | ||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
public class PeriodType { | ||
@Id | ||
private Long periodId; | ||
|
||
@OneToOne | ||
@JoinColumn(name = "cont_id") | ||
private Contract cont; | ||
|
||
private LocalDateTime contStartDate; | ||
|
||
private LocalDateTime contEndDate; | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/kbds/itamserveradmin/domain/contract/repository/CALKeyRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.CALKey; | ||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface CALKeyRepository extends JpaRepository<CALKey, String> { | ||
} |
8 changes: 8 additions & 0 deletions
8
...in/java/com/kbds/itamserveradmin/domain/contract/repository/ContractRecordRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import com.kbds.itamserveradmin.domain.contract.entity.ContractRecord; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface ContractRecordRepository extends JpaRepository<ContractRecord, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/contract/repository/ContractRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface ContractRepository extends JpaRepository<Contract, String> { | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/kbds/itamserveradmin/domain/contract/repository/LicenseKeyRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import com.kbds.itamserveradmin.domain.contract.entity.LicenseKey; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface LicenseKeyRepository extends JpaRepository<LicenseKey, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
...in/java/com/kbds/itamserveradmin/domain/contract/repository/NumOfUsersTypeRepository.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.NumOfUsersType; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface NumOfUsersTypeRepository extends JpaRepository<NumOfUsersType, String> { | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/kbds/itamserveradmin/domain/contract/repository/PeriodTypeRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import com.kbds.itamserveradmin.domain.contract.entity.PeriodType; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface PeriodTypeRepository extends JpaRepository<PeriodType, String> { | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/com/kbds/itamserveradmin/domain/contract/repository/SupplyTypeRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.contract.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import com.kbds.itamserveradmin.domain.contract.entity.SupplyType; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface SupplyTypeRepository extends JpaRepository<SupplyType, String> { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/kbds/itamserveradmin/domain/contract/service/ContractService.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,7 @@ | ||
package com.kbds.itamserveradmin.domain.contract.service; | ||
|
||
import org.springframework.stereotype.Service; | ||
|
||
@Service | ||
public class ContractService { | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...in/java/com/kbds/itamserveradmin/domain/corporation/controller/CooperationController.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,4 @@ | ||
package com.kbds.itamserveradmin.domain.corporation.controller; | ||
|
||
public class CooperationController { | ||
} |
68 changes: 68 additions & 0 deletions
68
src/main/java/com/kbds/itamserveradmin/domain/corporation/entity/Corporation.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,68 @@ | ||
package com.kbds.itamserveradmin.domain.corporation.entity; | ||
|
||
import com.kbds.itamserveradmin.domain.contract.entity.Contract; | ||
import com.kbds.itamserveradmin.domain.department.entity.Department; | ||
import com.kbds.itamserveradmin.domain.user.entity.User; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import javax.persistence.*; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Entity | ||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Builder | ||
public class Corporation { | ||
@Id | ||
@Column(name = "corp_id") | ||
private String corpId; | ||
|
||
@Column(name = "corp_name") | ||
private String corpName; | ||
|
||
@Column(name = "crn") | ||
private String corpNum; | ||
|
||
@Column(name = "corp_contact") | ||
private String corpContact; | ||
|
||
@Column(name = "corp_addr") | ||
private String corpAddr; | ||
|
||
@Column(name = "corp_site") | ||
private String corpSite; | ||
|
||
@Column(name = "corp_head") | ||
private String corpHead; | ||
|
||
@Column(name = "corp_note") | ||
private String corpNote; | ||
|
||
@Column(name = "is_sub_corp") | ||
private boolean isSubCorp; | ||
|
||
//==연관관계==// | ||
@OneToMany(mappedBy = "cooperation",fetch = FetchType.LAZY) | ||
@Builder.Default | ||
private List<Department> departments = new ArrayList<>(); | ||
|
||
@OneToMany(mappedBy = "cooperation",fetch = FetchType.LAZY) | ||
@Builder.Default | ||
private List<User> users = new ArrayList<>(); | ||
|
||
// @OneToMany(mappedBy ="cooperation") | ||
// private List<Asset> assets = new ArrayList<>(); | ||
|
||
@OneToMany(mappedBy = "corp",fetch = FetchType.LAZY) | ||
@Builder.Default | ||
private List<Contract> contracts = new ArrayList<>(); | ||
|
||
//==연관관계==// | ||
|
||
|
||
} |
8 changes: 8 additions & 0 deletions
8
...in/java/com/kbds/itamserveradmin/domain/corporation/repository/CooperationRepository.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,8 @@ | ||
package com.kbds.itamserveradmin.domain.corporation.repository; | ||
|
||
import com.kbds.itamserveradmin.domain.corporation.entity.Corporation; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface CooperationRepository extends JpaRepository<Corporation,String> { | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/kbds/itamserveradmin/domain/corporation/service/CooperationService.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,4 @@ | ||
package com.kbds.itamserveradmin.domain.corporation.service; | ||
|
||
public interface CooperationService { | ||
} |
4 changes: 4 additions & 0 deletions
4
...main/java/com/kbds/itamserveradmin/domain/corporation/service/CooperationServiceImpl.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,4 @@ | ||
package com.kbds.itamserveradmin.domain.corporation.service; | ||
|
||
public class CooperationServiceImpl implements CooperationService{ | ||
} |
4 changes: 4 additions & 0 deletions
4
...main/java/com/kbds/itamserveradmin/domain/department/controller/DepartmentController.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,4 +1,8 @@ | ||
package com.kbds.itamserveradmin.domain.department.controller; | ||
|
||
import org.springframework.stereotype.Controller; | ||
|
||
@Controller | ||
public class DepartmentController { | ||
|
||
} |
Oops, something went wrong.