package com.zt.plat.module.contractorder.api.dto.order;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import java.math.BigDecimal;

@Data
@Schema(description = "更新订单已收货数量")
@Validated
public class UpdateOrderLstQtyDTO {
    /**
     * 主键
     */
    @Schema(description = "订单明细id")
    @NotNull(message = "订单明细id不能为空")
    private Long orderDetailId;
    /**
     * 已收货数量
     */
    @Schema(description = "已收货数量")
    @NotNull(message = "已收货数量不能为空")
    private BigDecimal  lstQty;


    @Schema(description = "订单分类(字典：SPLY_BSN_TP)")
    @NotEmpty(message = "订单类型不能为空")
    private String splyBsnTp;
}
