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.NotNull;
import lombok.Data;

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

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

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


    @NotNull(message = "车辆主键不能为空")
    @Schema(description = "车辆主键")
    private Long id;

    @NotNull(message = "车辆状态不能为空")
    @Schema(description = "状态: 0-正常、1-黑名单")
    private Integer blacklist;

}
