package org.dromara.system.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class CargoItemBo {

    @NotBlank(message = "货物名称不能为空")
    private String cargoName;

    private String cargoType;

    @NotNull(message = "数量不能为空")
    private Integer quantity;

    private String unit;

    private BigDecimal weight;

    private BigDecimal length;

    private BigDecimal width;

    private BigDecimal height;

    private BigDecimal value;

    private List<String> images;

    private String remark;

    private Map<String, Object> params;
}
