package com.ylx.order.domain.dto;

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

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

/**
 * 类描述：用户端取消订单
 *
 * @author Administrator
 * @version 1.0
 * @date 2026/6/8 10:26
 */
@Data
public class OrderCancleDTO {

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

    @NotBlank(message = "取消原因不能为空")
    @ApiModelProperty("取消原因")
    private String cancelledReason;
}