package com.zhiqiyun.open.mvc.manager.params;

import com.zhiqiyun.open.core.models.RangeDate;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class QueryApiRequestLogParams extends QueryPageParams {

    private String appKey;
    private String method;
    private String version;
    private RangeDate serviceBeginTime;
    private String clientIp;

    public void setServiceBeginTime(List<String> loginTime) {
        this.serviceBeginTime = RangeDate.build(loginTime);
    }

}
