// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/domain/JournalType.java
// public enum JournalType {
//     START("start"),
//     END("end"),
//     BID("bid"),
//     NOW("now"),
//     CHANGE("change"),
//     CANCEL("cancel_bid");
// 
//     private String type;
//     JournalType(String type) {
//         this.type = type;
//     }
// 
//     public static final Map<String, JournalType> VALUES;
//     static {
//         VALUES = Collections.unmodifiableMap(
//                 Arrays.stream(JournalType.values())
//                         .collect(Collectors.toMap((JournalType v) -> v.type, v -> v))
//         );
//     }
// }


import com.apwglobal.nice.domain.JournalType;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.Optional;
    public Optional<Long> getItemId() {
        return itemId;
    }
    public void setItemId(Optional<Long> itemId) {
        this.itemId = itemId;
    }
    public Optional<JournalType> getChangeType() {
        return changeType;
    }
    public void setChangeType(Optional<JournalType> changeType) {
        this.changeType = changeType;
    }
    public Optional<Date> getFrom() {
        return from;
    }
    public void setFrom(Optional<Date> from) {
        this.from = from;
    }
    public Optional<Date> getTo() {
        return to;
    }
    public void setTo(Optional<Date> to) {
        this.to = to;
    }


    public static final class Builder {
        private Optional<Integer> limit;
        private Optional<Long> rowId;
        private Optional<Long> itemId;
// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/domain/JournalType.java
// public enum JournalType {
//     START("start"),
//     END("end"),
//     BID("bid"),
//     NOW("now"),
//     CHANGE("change"),
//     CANCEL("cancel_bid");
// 
//     private String type;
//     JournalType(String type) {
//         this.type = type;
//     }
// 
//     public static final Map<String, JournalType> VALUES;
//     static {
//         VALUES = Collections.unmodifiableMap(
//                 Arrays.stream(JournalType.values())
//                         .collect(Collectors.toMap((JournalType v) -> v.type, v -> v))
//         );
//     }
// }


// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/command/SearchJournal.java
import com.apwglobal.nice.domain.JournalType;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.Optional;

    public Optional<Long> getItemId() {
        return itemId;
    }
    public void setItemId(Optional<Long> itemId) {
        this.itemId = itemId;
    }
    public Optional<JournalType> getChangeType() {
        return changeType;
    }
    public void setChangeType(Optional<JournalType> changeType) {
        this.changeType = changeType;
    }
    public Optional<Date> getFrom() {
        return from;
    }
    public void setFrom(Optional<Date> from) {
        this.from = from;
    }
    public Optional<Date> getTo() {
        return to;
    }
    public void setTo(Optional<Date> to) {
        this.to = to;
    }


    public static final class Builder {
        private Optional<Integer> limit;
        private Optional<Long> rowId;
        private Optional<Long> itemId;
        private Optional<JournalType> changeType;