tuqin
2026-11-03 9494075e6d9d2a4b2b884b4ed740dee0c434734c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package cn.iocoder.yudao.module.trade.controller.admin.foreign.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - 外贸订单单据登记 Request VO")
@Data
public class TradeForeignDocumentSaveReqVO {
 
    @Schema(description = "外贸订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "外贸订单编号不能为空")
    private Long orderId;
 
    @Schema(description = "单据类型(contract/packing_list/product_outbound/port_inbound/customs_declaration/release_notice/export_invoice/other)",
            requiredMode = Schema.RequiredMode.REQUIRED, example = "contract")
    @NotEmpty(message = "单据类型不能为空")
    private String docType;
 
    @Schema(description = "文件名称", example = "外销合同.pdf")
    private String name;
 
    @Schema(description = "文件地址", example = "http://xxx/xxx.pdf")
    private String url;
 
    @Schema(description = "附件 blobId", example = "1024")
    private Long blobId;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}