package com.gxwebsoft.cms.param;

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

import java.io.Serializable;

/**
 * 客资派单请求参数
 *
 * @author 科技小王子
 * @since 2026-04-14
 */
@Data
@Schema(name = "LeadDispatchParam", description = "客资派单请求参数")
public class LeadDispatchParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "客资ID")
    private Integer leadId;

    @Schema(description = "目标用户ID(业务员)")
    private Integer toUserId;

    @Schema(description = "派单备注")
    private String remarks;

    @Schema(description = "派单类型: 1新分配 2重新分配")
    private Integer dispatchType = 1;

    // ========== 批量派单 ==========
    @Schema(description = "批量客资ID列表")
    private Integer[] leadIds;

    @Schema(description = "是否批量派单")
    private Boolean batchMode = false;
}
