package com.ruoyi.app.order.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class AdminOrderStatusUpdateRequest extends AdminOrderActionRequest {

    @Min(value = 0, message = "目标订单状态无效")
    @Max(value = 4, message = "目标订单状态无效")
    private Long targetState;

    @Min(value = 0, message = "目标配送状态无效")
    @Max(value = 3, message = "目标配送状态无效")
    private Long targetDeliveryStatus;
}
