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

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

import java.io.Serializable;

/**
 * 管理端 - 客服会话分页查询
 */
@Data
@Schema(description = "客服会话分页查询")
public class ChatSessionPageReq implements Serializable {

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

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

    @Schema(description = "状态：0-待处理 1-处理中 2-已解决 3-已关闭")
    private Integer status;

    @Schema(description = "关键字（用户名 / 会话编号）")
    private String keyword;

    /** 仅看分配给我的会话 */
    @Schema(description = "仅看分配给我的会话：0-否 1-是", example = "0")
    private Integer mine = 0;
}
