package easydo.technology.service.dto;

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

import org.springframework.format.annotation.DateTimeFormat;

import easydo.technology.annotation.Query;
import lombok.Getter;
import lombok.Setter;

/**
* @author jinjin
* @date 2020-09-27
*/
@Getter
@Setter
public class LogQueryParam {

    @Query(blurry = "username,description,address,requestIp,method,params")
    private String blurry;

    /** 精确 */
    @Query
    private String logType;

    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> createTime;
}
