package com.yunfeiyun.agmp.fms.domain.resvo;

import com.yunfeiyun.agmp.common.enums.DictTypeEnums;
import com.yunfeiyun.agmp.common.utils.DictUtils;
import lombok.Data;

@Data
public class WmsFinishgoodsSourceInfo {
    /**库存标识*/
    private String stockId;
    /**商品批次号*/
    private String finishgoodNo;
    /**产品信息类型*/
    private String finishgoodscode;
    /**溯源信息名称*/
    private String sourceinfoName;
    /**入库时间*/
    private String finishgoodCreateddate;
    /**采收时间*/
    private String pickDate;

    public String getFinishgoodscodeContext(){
        return DictUtils.getDictLabel(DictTypeEnums.AGM_MPP_PRODUCT.getCode(),this.finishgoodscode);
    }
}
