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 VehicleArchiveChangeOwnerReqVO {

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

    @Schema(description = "新车主ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "新车主ID不能为空")
    private Long newOwnerId;

}

