open.source.exchange.model.ExMultiValueMap Maven / Gradle / Ivy
package open.source.exchange.model;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExMultiValueMap extends ExBase implements Serializable {
private int size;
private boolean isEmpty;
private Map> mapVsList;
public ExMultiValueMap(ExBase exBase) {
if (null != exBase) {
this.setClazz(exBase.getClazz());
this.setHashCode(exBase.getHashCode());
this.setToString(exBase.getToString());
}
}
}