-
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.
Browse files
Browse the repository at this point in the history
종류별 악기 목록 조회 API 구현
- Loading branch information
Showing
15 changed files
with
798 additions
and
151 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
39 changes: 39 additions & 0 deletions
39
...om/ajou/hertz/domain/instrument/dto/request/AcousticAndClassicGuitarFilterConditions.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,39 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.AcousticAndClassicGuitarBrand; | ||
import com.ajou.hertz.domain.instrument.constant.AcousticAndClassicGuitarModel; | ||
import com.ajou.hertz.domain.instrument.constant.AcousticAndClassicGuitarPickUp; | ||
import com.ajou.hertz.domain.instrument.constant.AcousticAndClassicGuitarWood; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class AcousticAndClassicGuitarFilterConditions extends InstrumentFilterConditions { | ||
|
||
private AcousticAndClassicGuitarBrand brand; | ||
private AcousticAndClassicGuitarModel model; | ||
private AcousticAndClassicGuitarWood wood; | ||
private AcousticAndClassicGuitarPickUp pickUp; | ||
|
||
private AcousticAndClassicGuitarFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
AcousticAndClassicGuitarBrand brand, | ||
AcousticAndClassicGuitarModel model, | ||
AcousticAndClassicGuitarWood wood, | ||
AcousticAndClassicGuitarPickUp pickUp | ||
) { | ||
super(progress, sido, sgg); | ||
this.brand = brand; | ||
this.model = model; | ||
this.wood = wood; | ||
this.pickUp = pickUp; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/main/java/com/ajou/hertz/domain/instrument/dto/request/AmplifierFilterConditions.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,35 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.AmplifierBrand; | ||
import com.ajou.hertz.domain.instrument.constant.AmplifierType; | ||
import com.ajou.hertz.domain.instrument.constant.AmplifierUsage; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class AmplifierFilterConditions extends InstrumentFilterConditions { | ||
|
||
private AmplifierType type; | ||
private AmplifierBrand brand; | ||
private AmplifierUsage usage; | ||
|
||
private AmplifierFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
AmplifierType type, | ||
AmplifierBrand brand, | ||
AmplifierUsage usage | ||
) { | ||
super(progress, sido, sgg); | ||
this.type = type; | ||
this.brand = brand; | ||
this.usage = usage; | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ain/java/com/ajou/hertz/domain/instrument/dto/request/AudioEquipmentFilterConditions.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,27 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.AudioEquipmentType; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class AudioEquipmentFilterConditions extends InstrumentFilterConditions { | ||
|
||
private AudioEquipmentType type; | ||
|
||
private AudioEquipmentFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
AudioEquipmentType type | ||
) { | ||
super(progress, sido, sgg); | ||
this.type = type; | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
src/main/java/com/ajou/hertz/domain/instrument/dto/request/BassGuitarFilterConditions.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,39 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.BassGuitarBrand; | ||
import com.ajou.hertz.domain.instrument.constant.BassGuitarPickUp; | ||
import com.ajou.hertz.domain.instrument.constant.BassGuitarPreAmplifier; | ||
import com.ajou.hertz.domain.instrument.constant.GuitarColor; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class BassGuitarFilterConditions extends InstrumentFilterConditions { | ||
|
||
private BassGuitarBrand brand; | ||
private BassGuitarPickUp pickUp; | ||
private BassGuitarPreAmplifier preAmplifier; | ||
private GuitarColor color; | ||
|
||
private BassGuitarFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
BassGuitarBrand brand, | ||
BassGuitarPickUp pickUp, | ||
BassGuitarPreAmplifier preAmplifier, | ||
GuitarColor color | ||
) { | ||
super(progress, sido, sgg); | ||
this.brand = brand; | ||
this.pickUp = pickUp; | ||
this.preAmplifier = preAmplifier; | ||
this.color = color; | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
src/main/java/com/ajou/hertz/domain/instrument/dto/request/EffectorFilterConditions.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,31 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.EffectorFeature; | ||
import com.ajou.hertz.domain.instrument.constant.EffectorType; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class EffectorFilterConditions extends InstrumentFilterConditions { | ||
|
||
private EffectorType type; | ||
private EffectorFeature feature; | ||
|
||
private EffectorFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
EffectorType type, | ||
EffectorFeature feature | ||
) { | ||
super(progress, sido, sgg); | ||
this.type = type; | ||
this.feature = feature; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ain/java/com/ajou/hertz/domain/instrument/dto/request/ElectricGuitarFilterConditions.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,35 @@ | ||
package com.ajou.hertz.domain.instrument.dto.request; | ||
|
||
import com.ajou.hertz.domain.instrument.constant.ElectricGuitarBrand; | ||
import com.ajou.hertz.domain.instrument.constant.ElectricGuitarModel; | ||
import com.ajou.hertz.domain.instrument.constant.GuitarColor; | ||
import com.ajou.hertz.domain.instrument.constant.InstrumentProgressStatus; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@NoArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Setter // for @ModelAttribute | ||
@Getter | ||
public class ElectricGuitarFilterConditions extends InstrumentFilterConditions { | ||
|
||
private ElectricGuitarBrand brand; | ||
private ElectricGuitarModel model; | ||
private GuitarColor color; | ||
|
||
private ElectricGuitarFilterConditions( | ||
InstrumentProgressStatus progress, | ||
String sido, | ||
String sgg, | ||
ElectricGuitarBrand brand, | ||
ElectricGuitarModel model, | ||
GuitarColor color | ||
) { | ||
super(progress, sido, sgg); | ||
this.brand = brand; | ||
this.model = model; | ||
this.color = color; | ||
} | ||
} |
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
Oops, something went wrong.