package cn.axzo.msg.center.api.request.v3;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author yanglin
 */
@Setter
@Getter
public class SearchMessageReqV3 {
    private Long receiverOuId;
    private Long receiverPersonId;
    private String receiverPhone;
    private String bizEventMappingCode;
    private String bizCode;
    private String title;
    private String content;
    private String templateCode;
    @JsonFormat(pattern = "yyyy-MM-hh HH:mm")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-hh HH:mm")
    private Date endTime;
    private int limit = 10;
}