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

import com.yunfeiyun.agmp.common.enums.DictTypeEnums;
import com.yunfeiyun.agmp.common.utils.DictUtils;
import com.yunfeiyun.agmp.fms.domain.TssTracecodeapply;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class TssTraceCodeApplyResVo extends TssTracecodeapply {
    /**产品信息*/
    private String finishgoodscode;
    /**产品编号*/
    private String finishgoodNo;

    private String QRCodeUrl;

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