package com.xmomen.module.order.model;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Map;


public @Data class CreatePackingRecord implements Serializable {
    // 商品编码
    @NotNull
    @Length(min = 5, max = 50)
    private String upc;
    // 包装信息，key=订单号，value=包装ID
    @NotNull
    private Map<String, Integer> packingInfo;// key=orderNo，value=packingId

}
