package com.snack.server.module.user.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户分页查询
 */
@Data
@Schema(description = "用户分页查询请求")
public class UserPageReq implements Serializable {

    @Schema(description = "页码", example = "1")
    private Long current = 1L;

    @Schema(description = "每页条数", example = "10")
    private Long size = 10L;

    @Schema(description = "关键字（用户名/昵称/手机号）")
    private String keyword;

    @Schema(description = "状态：0-禁用 1-启用")
    private Integer status;
}
