You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
491 B
17 lines
491 B
|
1 month ago
|
package com.youlai.boot.mini.converter;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||
|
|
import com.youlai.boot.mini.model.entity.MiniPointRule;
|
||
|
|
import com.youlai.boot.mini.model.vo.RuleListVO;
|
||
|
|
import org.mapstruct.Mapper;
|
||
|
|
|
||
|
|
@Mapper(componentModel = "spring")
|
||
|
|
public interface MiniPointRuleConverter {
|
||
|
|
|
||
|
|
IPage<RuleListVO> toRulePageVo(Page<MiniPointRule> pageList);
|
||
|
|
|
||
|
|
RuleListVO toRuleVo(MiniPointRule entity);
|
||
|
|
|
||
|
|
}
|