| | |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public class CodePhaseattrWrapper extends BaseEntityWrapper<CodePhaseattrEntity, CodePhaseattrVO> { |
| | | public class CodePhaseattrWrapper extends BaseEntityWrapper<CodePhaseAttr, CodePhaseattrVO> { |
| | | |
| | | public static CodePhaseattrWrapper build() { |
| | | return new CodePhaseattrWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodePhaseattrVO entityVO(CodePhaseattrEntity codePhaseattr) { |
| | | public CodePhaseattrVO entityVO(CodePhaseAttr codePhaseattr) { |
| | | CodePhaseattrVO CodePhaseattrVO = Objects.requireNonNull(BeanUtil.copy(codePhaseattr, CodePhaseattrVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodePhaseattr.getCreateUser()); |