package com.xindazhou.vehicle.controller.admin.vehicle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 车辆档案锁定 Request VO
 *
 * @author xindazhou
 */
@Schema(description = "管理后台 - 车辆档案锁定 Request VO")
@Data
public class VehicleArchiveLockReqVO {

    @Schema(description = "车辆ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "车辆ID不能为空")
    private Long id;

    @Schema(description = "是否锁定", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    @NotNull(message = "锁定状态不能为空")
    private Boolean locked;

}

