package com.cf.imes.module.executor.controller.admin.plan.vo;

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

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

/**
 * @author Beal
 */
@Data
@Valid
public class SortVO {


    @Schema(description = "排单id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排单id 不能空")
    private Long planId;


    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能空")
    private Long sort;


    @Schema(description = "是否置顶", requiredMode = Schema.RequiredMode.REQUIRED,example = "false")
    private Boolean isTopUp;


    @Schema(description = "是否为第一条数据",example = "false")
    private Boolean isOnePlan;


    @Schema(description = "是否为最后一条数据",example = "false")
    private Boolean isLastPln;


}
