package com.qianwen.smartman.modules.smis.wrapper;
|
|
import java.util.Objects;
|
import com.qianwen.core.mp.support.BaseEntityWrapper;
|
import com.qianwen.smartman.modules.smis.convert.MalfunctionTypeConvert;
|
import com.qianwen.smartman.modules.smis.excel.MalfunctionTypeExcel;
|
import com.qianwen.smartman.modules.smis.vo.MalfunctionTypeVO;
|
|
public class MalfunctionTypeExcelWrapper extends BaseEntityWrapper<MalfunctionTypeVO, MalfunctionTypeExcel> {
|
public static MalfunctionTypeExcelWrapper build() {
|
return new MalfunctionTypeExcelWrapper();
|
}
|
|
public MalfunctionTypeExcel entityVO(MalfunctionTypeVO entity) {
|
MalfunctionTypeExcel malfunctionTypeExcel = (MalfunctionTypeExcel) Objects.requireNonNull(MalfunctionTypeConvert.INSTANCE.convertToExcel(entity));
|
return malfunctionTypeExcel;
|
}
|
}
|