package com.sckw.fleet.model.request;

import com.sckw.core.web.request.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author zk
 * @desc 车辆信息
 * @date 2023/7/11 0011
 */
@Data
public class TruckUpdateStatusParam extends PageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -1021090755043784996L;

    @NotEmpty(message = "车辆ID列表不能为空")
    @Schema(description = "车辆ID列表")
    private List<Long> ids;

    @NotNull(message = "车辆状态不能为空")
    @Schema(description = "状态: 0-启用、1-停用")
    private Integer status;

}
