package com.ylx.order.domain.vo.merchant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("商户接单后取消订单入参")
public class MerchantCancelOrderDTO {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty("订单ID")
    private Long orderId;

    @NotBlank(message = "取消原因不能为空")
    @ApiModelProperty("商户取消订单原因，用于售后备注")
    private String cancelReason;

}
