package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.OMRecord;
import com.youlai.boot.system.model.form.OMRecordForm;

/**
 * 运维管理对象转换器
 *
 * @author kangyu
 * @since 2025-07-25 10:18
 */
@Mapper(componentModel = "spring")
public interface OMRecordConverter{

    OMRecordForm toForm(OMRecord entity);

    OMRecord toEntity(OMRecordForm formData);
}