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.Record;
import com.youlai.boot.system.model.form.RecordForm;

/**
 * 部署记录对象转换器
 *
 * @author kangyu
 * @since 2024-10-08 14:14
 */
@Mapper(componentModel = "spring")
public interface RecordConverter{

    RecordForm toForm(Record entity);

    Record toEntity(RecordForm formData);

}