package shop.alien.entity.store.dto;

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

import javax.validation.constraints.NotNull;

/**
 * 更新订单优惠券DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "UpdateOrderCouponDTO对象", description = "更新订单优惠券")
public class UpdateOrderCouponDTO {

    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "订单ID不能为空")
    private Integer orderId;

    @ApiModelProperty(value = "优惠券ID(可为空，表示不使用优惠券)")
    private Integer couponId;
}
