| | |
| | | package cn.iocoder.yudao.module.mes.controller.admin.wm.salesnotice.vo; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.DecimalMin; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Size; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Schema(description = "管理后台 - MES 发货通知单新增/修改 Request VO") |
| | |
| | | @NotEmpty(message = "通知单名称不能为空") |
| | | private String name; |
| | | |
| | | @Schema(description = "销售订单编号", example = "SO202603010001") |
| | | private String salesOrderCode; |
| | | |
| | | @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "客户编号不能为空") |
| | | private Long clientId; |
| | | |
| | | @Schema(description = "销售订单ID", example = "1") |
| | | private Long saleOrderId; |
| | | |
| | | @Schema(description = "销售订单号", example = "SO202603010001") |
| | | private String saleOrderCode; |
| | | |
| | | @Schema(description = "发货日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "发货日期不能为空") |
| | |
| | | @Schema(description = "收货地址", example = "北京市朝阳区xxx") |
| | | private String recipientAddress; |
| | | |
| | | @Schema(description = "物流公司", example = "顺丰速运") |
| | | @Size(max = 128, message = "物流公司名称不能超过 128 个字符") |
| | | private String logisticsCompany; |
| | | |
| | | @Schema(description = "快递费", example = "25.00") |
| | | @DecimalMin(value = "0", message = "快递费不能小于 0") |
| | | private BigDecimal expressFee; |
| | | |
| | | @Schema(description = "开票状态:0 未开票 1 部分开票 2 已开票", example = "0") |
| | | private Integer invoiceStatus; |
| | | |
| | | @Schema(description = "备注", example = "备注") |
| | | private String remark; |
| | | |