package top.baogutang.admin.domain.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import top.baogutang.common.constants.NoticeTypeEnum;
import top.baogutang.common.domain.PageParam;

import java.io.Serializable;

/**
 * @description:
 * @author: nikooh
 * @date: 2024/02/22 : 13:55
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeLogQueryParam extends PageParam implements Serializable {

    private static final long serialVersionUID = 4745304392774888914L;

    private NoticeTypeEnum noticeType;

    public NoticeLogQueryParam(Integer pageNum, Integer pageSize, NoticeTypeEnum noticeType) {
        this.setPageNum(pageNum);
        this.setPageSize(pageSize);
        this.noticeType = noticeType;
    }
}
