Class EventsSpecification
java.lang.Object
com.eeit87t3.tickiteasy.event.repository.EventsSpecification
封裝 Events 的條件邏輯。
- Author:
- Chuan (chuan13)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Specification<EventsEntity> hasCategoryString(String categoryString) static Specification<EventsEntity> hasCityName(String cityName) static Specification<EventsEntity> hasEventName(String eventName) static Specification<EventsEntity> hasSerchingTime(LocalDateTime searchingStartTime, LocalDateTime searchingEndTime) static Specification<EventsEntity> hasStatuses(List<Short> statuses) static Specification<EventsEntity> hasTagString(String tagString)
-
Constructor Details
-
EventsSpecification
public EventsSpecification()
-
-
Method Details
-
hasStatuses
-
hasEventName
-
hasCategoryString
-
hasTagString
-
hasCityName
-
hasSerchingTime
public static Specification<EventsEntity> hasSerchingTime(LocalDateTime searchingStartTime, LocalDateTime searchingEndTime)
-