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;
|
|
}
|