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
34
35
package cn.iocoder.yudao.module.trade.controller.admin.foreign.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
 
@Schema(description = "管理后台 - 外贸订单收汇登记 Request VO")
@Data
public class TradeForeignReceiveSaveReqVO {
 
    @Schema(description = "外贸订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "外贸订单编号不能为空")
    private Long orderId;
 
    @Schema(description = "外币收款金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "1000.00")
    @NotNull(message = "外币收款金额不能为空")
    private BigDecimal foreignAmount;
 
    @Schema(description = "结汇汇率", example = "7.20")
    private BigDecimal exchangeRate;
 
    @Schema(description = "收款日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime receiveDate;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}