package com.greenorange.promotion.model.dto.userPerformanceSummary;

import com.greenorange.promotion.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 员工绩效汇总查询请求体，继承自分页请求 PageRequest
 */
@Data
@Schema(description = "员工绩效汇总查询请求体", requiredProperties = {"current", "pageSize"})
public class UserPerformanceSummaryStaffQueryRequest extends PageRequest implements Serializable {

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "chenxinzhi")
    private String nickName;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "15888610253")
    private String phoneNumber;

    /**
     * 主管用户id
     */
    @NotNull(message = "主管用户id不能为null")
    @Schema(description = "主管用户id", example = "1")
    private Long supervisorUserId;

    @Serial
    private static final long serialVersionUID = 1L;

}
