package ee.pardiralli.domain;

import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Search {

    private String itemId;

    private String buyersEmail;

    private String ownersFirstName;

    private String ownersLastName;

    private String ownersPhoneNr;
}

package ee.pardiralli.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Search {

    private String itemId;

    private String buyersEmail;

    private String ownersFirstName;

    private String ownersLastName;

    private String ownersPhoneNr;
}

refactor Search, #21