package dto; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.ToString; import lombok.extern.jackson.Jacksonized; import java.io.Serializable; //still need to fix all the scan objects to be significantly less poorly written //TODO add interface for the scan objects (is probably the cleanest solution) @AllArgsConstructor @Builder @Getter @ToString @Jacksonized public class ScanObj implements Serializable { public static final String SQL = "INSERT INTO scans " + "(scan_id, offering_id, event_id, is_managed_service, component_list) " + "VALUES (? ? ? ? ?)"; private final String scanId; private final String productId; private final String eventId; private final String isManagedService; private final String componentList; }