-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Woody] Chapter 6. JPA 활용
- Loading branch information
Showing
45 changed files
with
1,207 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package umc.spring.domain; | ||
|
||
import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.PathMetadata; | ||
import javax.annotation.processing.Generated; | ||
import com.querydsl.core.types.Path; | ||
import com.querydsl.core.types.dsl.PathInits; | ||
|
||
|
||
/** | ||
* QFood is a Querydsl query type for Food | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QFood extends EntityPathBase<Food> { | ||
|
||
private static final long serialVersionUID = -1348495606L; | ||
|
||
public static final QFood food = new QFood("food"); | ||
|
||
public final umc.spring.domain.common.QBaseEntity _super = new umc.spring.domain.common.QBaseEntity(this); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
||
public final EnumPath<umc.spring.domain.enums.FoodCategory> foodCategory = createEnum("foodCategory", umc.spring.domain.enums.FoodCategory.class); | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
public final ListPath<umc.spring.domain.mapping.MemberPreferFood, umc.spring.domain.mapping.QMemberPreferFood> memberPreferFoodList = this.<umc.spring.domain.mapping.MemberPreferFood, umc.spring.domain.mapping.QMemberPreferFood>createList("memberPreferFoodList", umc.spring.domain.mapping.MemberPreferFood.class, umc.spring.domain.mapping.QMemberPreferFood.class, PathInits.DIRECT2); | ||
|
||
public final BooleanPath preferOptional = createBoolean("preferOptional"); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
||
public QFood(String variable) { | ||
super(Food.class, forVariable(variable)); | ||
} | ||
|
||
public QFood(Path<? extends Food> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QFood(PathMetadata metadata) { | ||
super(Food.class, metadata); | ||
} | ||
|
||
} | ||
|
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,74 @@ | ||
package umc.spring.domain; | ||
|
||
import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.PathMetadata; | ||
import javax.annotation.processing.Generated; | ||
import com.querydsl.core.types.Path; | ||
import com.querydsl.core.types.dsl.PathInits; | ||
|
||
|
||
/** | ||
* QMember is a Querydsl query type for Member | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QMember extends EntityPathBase<Member> { | ||
|
||
private static final long serialVersionUID = 1366956614L; | ||
|
||
public static final QMember member = new QMember("member1"); | ||
|
||
public final umc.spring.domain.common.QBaseEntity _super = new umc.spring.domain.common.QBaseEntity(this); | ||
|
||
public final StringPath address = createString("address"); | ||
|
||
public final DatePath<java.time.LocalDate> birthdate = createDate("birthdate", java.time.LocalDate.class); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
||
public final StringPath email = createString("email"); | ||
|
||
public final EnumPath<umc.spring.domain.enums.Gender> gender = createEnum("gender", umc.spring.domain.enums.Gender.class); | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
public final DatePath<java.time.LocalDate> inactiveDate = createDate("inactiveDate", java.time.LocalDate.class); | ||
|
||
public final ListPath<umc.spring.domain.mapping.MemberAgreeTerm, umc.spring.domain.mapping.QMemberAgreeTerm> memberAgreeTermList = this.<umc.spring.domain.mapping.MemberAgreeTerm, umc.spring.domain.mapping.QMemberAgreeTerm>createList("memberAgreeTermList", umc.spring.domain.mapping.MemberAgreeTerm.class, umc.spring.domain.mapping.QMemberAgreeTerm.class, PathInits.DIRECT2); | ||
|
||
public final ListPath<umc.spring.domain.mapping.MemberMission, umc.spring.domain.mapping.QMemberMission> memberMissionList = this.<umc.spring.domain.mapping.MemberMission, umc.spring.domain.mapping.QMemberMission>createList("memberMissionList", umc.spring.domain.mapping.MemberMission.class, umc.spring.domain.mapping.QMemberMission.class, PathInits.DIRECT2); | ||
|
||
public final ListPath<umc.spring.domain.mapping.MemberPreferFood, umc.spring.domain.mapping.QMemberPreferFood> memberPreferFoodList = this.<umc.spring.domain.mapping.MemberPreferFood, umc.spring.domain.mapping.QMemberPreferFood>createList("memberPreferFoodList", umc.spring.domain.mapping.MemberPreferFood.class, umc.spring.domain.mapping.QMemberPreferFood.class, PathInits.DIRECT2); | ||
|
||
public final StringPath name = createString("name"); | ||
|
||
public final NumberPath<Integer> point = createNumber("point", Integer.class); | ||
|
||
public final ListPath<Review, QReview> reviewList = this.<Review, QReview>createList("reviewList", Review.class, QReview.class, PathInits.DIRECT2); | ||
|
||
public final EnumPath<umc.spring.domain.enums.SocialType> socialtype = createEnum("socialtype", umc.spring.domain.enums.SocialType.class); | ||
|
||
public final StringPath specAddress = createString("specAddress"); | ||
|
||
public final EnumPath<umc.spring.domain.enums.MemberStatus> status = createEnum("status", umc.spring.domain.enums.MemberStatus.class); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
||
public QMember(String variable) { | ||
super(Member.class, forVariable(variable)); | ||
} | ||
|
||
public QMember(Path<? extends Member> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QMember(PathMetadata metadata) { | ||
super(Member.class, metadata); | ||
} | ||
|
||
} | ||
|
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,67 @@ | ||
package umc.spring.domain; | ||
|
||
import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.PathMetadata; | ||
import javax.annotation.processing.Generated; | ||
import com.querydsl.core.types.Path; | ||
import com.querydsl.core.types.dsl.PathInits; | ||
|
||
|
||
/** | ||
* QMission is a Querydsl query type for Mission | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QMission extends EntityPathBase<Mission> { | ||
|
||
private static final long serialVersionUID = -453449888L; | ||
|
||
private static final PathInits INITS = PathInits.DIRECT2; | ||
|
||
public static final QMission mission = new QMission("mission"); | ||
|
||
public final umc.spring.domain.common.QBaseEntity _super = new umc.spring.domain.common.QBaseEntity(this); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
||
public final DatePath<java.time.LocalDate> dueDate = createDate("dueDate", java.time.LocalDate.class); | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
public final ListPath<umc.spring.domain.mapping.MemberMission, umc.spring.domain.mapping.QMemberMission> memberMissionList = this.<umc.spring.domain.mapping.MemberMission, umc.spring.domain.mapping.QMemberMission>createList("memberMissionList", umc.spring.domain.mapping.MemberMission.class, umc.spring.domain.mapping.QMemberMission.class, PathInits.DIRECT2); | ||
|
||
public final StringPath missionSpec = createString("missionSpec"); | ||
|
||
public final NumberPath<Integer> reward = createNumber("reward", Integer.class); | ||
|
||
public final QStore store; | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
||
public QMission(String variable) { | ||
this(Mission.class, forVariable(variable), INITS); | ||
} | ||
|
||
public QMission(Path<? extends Mission> path) { | ||
this(path.getType(), path.getMetadata(), PathInits.getFor(path.getMetadata(), INITS)); | ||
} | ||
|
||
public QMission(PathMetadata metadata) { | ||
this(metadata, PathInits.getFor(metadata, INITS)); | ||
} | ||
|
||
public QMission(PathMetadata metadata, PathInits inits) { | ||
this(Mission.class, metadata, inits); | ||
} | ||
|
||
public QMission(Class<? extends Mission> type, PathMetadata metadata, PathInits inits) { | ||
super(type, metadata, inits); | ||
this.store = inits.isInitialized("store") ? new QStore(forProperty("store"), inits.get("store")) : null; | ||
} | ||
|
||
} | ||
|
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,50 @@ | ||
package umc.spring.domain; | ||
|
||
import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.PathMetadata; | ||
import javax.annotation.processing.Generated; | ||
import com.querydsl.core.types.Path; | ||
import com.querydsl.core.types.dsl.PathInits; | ||
|
||
|
||
/** | ||
* QRegion is a Querydsl query type for Region | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QRegion extends EntityPathBase<Region> { | ||
|
||
private static final long serialVersionUID = 1509930656L; | ||
|
||
public static final QRegion region = new QRegion("region"); | ||
|
||
public final umc.spring.domain.common.QBaseEntity _super = new umc.spring.domain.common.QBaseEntity(this); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> createdAt = _super.createdAt; | ||
|
||
public final NumberPath<Long> id = createNumber("id", Long.class); | ||
|
||
public final StringPath name = createString("name"); | ||
|
||
public final ListPath<Store, QStore> StoreList = this.<Store, QStore>createList("StoreList", Store.class, QStore.class, PathInits.DIRECT2); | ||
|
||
//inherited | ||
public final DateTimePath<java.time.LocalDateTime> updatedAt = _super.updatedAt; | ||
|
||
public QRegion(String variable) { | ||
super(Region.class, forVariable(variable)); | ||
} | ||
|
||
public QRegion(Path<? extends Region> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QRegion(PathMetadata metadata) { | ||
super(Region.class, metadata); | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.