package jnpf.model.attendance.vo.scheduling;

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

import javax.validation.Valid;
import java.util.List;

/**
 * 预排班单个班次块下的岗位及已排人员。
 *
 * @author xiaofeng
 * @create 2026-05-18
 */
@Data
@Schema(description = "预排班班次内岗位—人员")
public class PreScheduleShiftPostVo {

    @Schema(description = "岗位 ID", example = "post_store_manager")
    private String id;

    @Schema(description = "岗位名称", example = "店长")
    private String name;

    @Schema(description = "岗位需求人数", example = "2")
    private Integer needCount;

    @Schema(description = "已排人数", example = "1")
    private Integer count;

    @Valid
    @Schema(description = "已排人员列表，无数据时 []")
    private List<PreScheduleShiftStaffVo> users;
}
