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 TssTracecodeapplyManagerListResVo {
    /**溯源码生成批次号*/
    private String tarcecodeapplyBatchno;
    /**溯源码模板编号*/
    private String tracecodetplId;
    /**溯源码使用次数*/
    private Integer useNumber;
    /**溯源码生成数量*/
    private Integer totalNumber;
    /**溯源码产品名称*/
    private String finishgoodscode;
    /**溯源码产品编号*/
    private String finishgoodNo;
    /**生成时间*/
    private String tarcecodeapplyCreateddate;
    /**溯源码编号连接信息*/
    private String traceCodeApplyConcat;

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