package com.xiaoniu.system.usedcar.dto;

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

/**
 * @Author haoxuyang
 * @Date 2024/10/30 9:52
 */
@Data
@Schema(description = "修改二手车记录参数DTO")
public class EditUsedCarDTO {

    @Schema(description = "ID")
    @NotNull(message = "二手车id不能为空")
    private Long id;

    @Schema(description = "服务状态（1-待处理 2-已处理）")
    @NotNull(message = "服务状态不能为空")
    private Integer serviceStatus;
}
