<commit_before>package io.github.kkysen.quicktrip.app;

import io.github.kkysen.quicktrip.json.Json;

import java.time.LocalDate;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
 * 
 * @author <NAME>
 */
@Json
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class SearchArgs {
    
    private String origin;
    private LocalDate date; // FIXME turn into joda Date
    private List<NoDateDestination> destinations;
    private int budget;
    private int numPeople;
    
}<commit_msg>started turning into Model for SearchScreen<commit_after>package io.github.kkysen.quicktrip.app;

import io.github.kkysen.quicktrip.json.Json;

import java.time.LocalDate;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
 * 
 * @author <NAME>
 */
@Json
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class SearchArgs {
    
    private transient TextField originInput;
    private transient DatePicker dateInput;
    private transient List<DestField> dest
    
    private String origin;
    private LocalDate date; // FIXME turn into joda Date
    private List<NoDateDestination> destinations;
    private int budget;
    private int numPeople;
    
    public void serialize() throws InputError {
        origin = serializeOrigin();
        date = serializeStartDate();
        destinations = serializeDests();
        numPeople = serializeNumPeople();
        budget = serializeBudget();
        final String json = QuickTripConstants.GSON.toJson(this);
        try {
            MyFiles.write(Paths.get(QuickTripConstants.SEARCH_ARGS_PATH), json);
        } catch (final IOException e) {
            throw new RuntimeException(e);
        }
    }
    
}
{'fraction_non_alphanumeric': 0.08700322234156821, 'fraction_numerical': 0.0, 'mean_word_length': 3.4569377990430623, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3225906', 'n_tokens_mistral': 560, 'n_tokens_neox': 548, 'n_words': 138}