| | |
| | | import org.sxkj.fw.device.dto.FwDeviceTrackDTO; |
| | | import org.sxkj.fw.device.entity.FwDeviceTrackEntity; |
| | | import org.sxkj.fw.device.vo.FwDeviceTrackVO; |
| | | |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * 设备跟踪流转表 包装类,返回视图层所需的字段 |
| | | * |
| | | * @author Aix |
| | | * @author aix |
| | | * @since 2026-01-08 |
| | | */ |
| | | public class FwDeviceTrackWrapper extends BaseEntityWrapper<FwDeviceTrackEntity, FwDeviceTrackVO> { |
| | |
| | | return Objects.requireNonNull(BeanUtil.copy(fwDeviceTrack, FwDeviceTrackVO.class)); |
| | | } |
| | | |
| | | public FwDeviceTrackEntity entityDTO(FwDeviceTrackDTO fwDevice) { |
| | | return Objects.requireNonNull(BeanUtil.copy(fwDevice, FwDeviceTrackEntity.class)); |
| | | } |
| | | |
| | | public FwDeviceTrackEntity entityDTO(FwDeviceTrackDTO fwDeviceTrackDTO) { |
| | | return Objects.requireNonNull(BeanUtil.copy(fwDeviceTrackDTO, FwDeviceTrackEntity.class)); |
| | | } |
| | | |
| | | } |