refactor: 代码生成临时提交

This commit is contained in:
ray
2024-07-14 23:33:11 +08:00
parent 9a8490d8c2
commit b65641220e
51 changed files with 1088 additions and 1185 deletions

View File

@@ -0,0 +1,20 @@
package ${package}.converter;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ${package}.model.entity.${entityName};
import ${package}.model.form.${entityName}Form;
/**
* $!{tableComment}转换器
*
* @author ${author}
* @since ${date}
*/
@Mapper(componentModel = "spring")
public interface ${entityName}Converter{
${entityName}Form toForm(${entityName} entity);
${entityName} toEntity(${entityName}Form entity);
}