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

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description
 *   个人消息按消息类型统计的请求入参数据模型
 *
 * @author cold_blade
 * @date 2023/9/13
 * @version 1.0
 */
@Setter
@Getter
public class MessageStatisticReq implements Serializable {

    private static final long serialVersionUID = -542167707059736842L;

    /**
     * 自然人id，[用户信息,前端开发不用关注]
     */
    @NotNull(message = "personId is required")
    private Long personId;
    /**
     * 单位id
     */
    private Long ouId;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
