// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/util/UnixDate.java
// public class UnixDate {
// 
//     public static Date toDate(long unixTimestamp) {
//         return new Date(unixTimestamp * 1000);
//     }
// 
//     public static long toUnixTimestamp(Date date) {
//         return date.getTime() / 1000;
//     }
// 
// }


import com.apwglobal.bd.BD;
import com.apwglobal.nice.util.UnixDate;
import java.util.Date;
import java.util.Optional;
        return sellerId;
    }

    public static final class Builder {
        private long rowId;
        private long itemId;
        private JournalType changeType;
        private Date changeDate;
        private Optional<Double> currentPrice;
        private long sellerId;

        public Builder() {
        }

        public Builder rowId(long rowId) {
            this.rowId = rowId;
            return this;
        }

        public Builder itemId(long itemId) {
            this.itemId = itemId;
            return this;
        }

        public Builder changeType(String changeType) {
            this.changeType = JournalType.VALUES.get(changeType);
            return this;
        }

        public Builder changeDate(long unitTimestamp) {
// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/util/UnixDate.java
// public class UnixDate {
// 
//     public static Date toDate(long unixTimestamp) {
//         return new Date(unixTimestamp * 1000);
//     }
// 
//     public static long toUnixTimestamp(Date date) {
//         return date.getTime() / 1000;
//     }
// 
// }


// Path: allegro-nice-domain/src/main/java/com/apwglobal/nice/domain/Journal.java
import com.apwglobal.bd.BD;
import com.apwglobal.nice.util.UnixDate;
import java.util.Date;
import java.util.Optional;

        return sellerId;
    }

    public static final class Builder {
        private long rowId;
        private long itemId;
        private JournalType changeType;
        private Date changeDate;
        private Optional<Double> currentPrice;
        private long sellerId;

        public Builder() {
        }

        public Builder rowId(long rowId) {
            this.rowId = rowId;
            return this;
        }

        public Builder itemId(long itemId) {
            this.itemId = itemId;
            return this;
        }

        public Builder changeType(String changeType) {
            this.changeType = JournalType.VALUES.get(changeType);
            return this;
        }

        public Builder changeDate(long unitTimestamp) {
            this.changeDate = UnixDate.toDate(unitTimestamp);