package com.wzj.soopin.order.domain.form;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.wzj.soopin.order.domain.entity.OrderDeliveryHistory;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
import org.dromara.common.excel.annotation.Excel;


@Getter
@Setter
public class DeliverProductForm {
    @Schema(description = "订单id")
    @NotBlank(message = "订单id不能为空")
    @Excel(name = "订单号")
    private Long orderId;

    @Schema(description = "快递名称")
    @NotBlank(message = "快递名称不能为空")
    @Excel(name = "快递公司")
    private String expressName;

    @Schema(description = "快递单号")
    @NotBlank(message = "快递单号不能为空")
    @Excel(name = "运单号")
    private String expressSn;

    public Wrapper<OrderDeliveryHistory> toWrapper() {
        return null;
    }
}
