| | |
| | | |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import com.vci.ubcs.code.entity.CodeWupinEntity; |
| | | import com.vci.ubcs.code.entity.CodeWupin; |
| | | import com.vci.ubcs.code.vo.CodeWupinVO; |
| | | import java.util.Objects; |
| | | |
| | |
| | | * @author yuxc |
| | | * @since 2023-05-05 |
| | | */ |
| | | public class CodeWupinWrapper extends BaseEntityWrapper<CodeWupinEntity, CodeWupinVO> { |
| | | public class CodeWupinWrapper extends BaseEntityWrapper<CodeWupin, CodeWupinVO> { |
| | | |
| | | public static CodeWupinWrapper build() { |
| | | return new CodeWupinWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeWupinVO entityVO(CodeWupinEntity codeWupin) { |
| | | public CodeWupinVO entityVO(CodeWupin codeWupin) { |
| | | CodeWupinVO codeWupinVO = Objects.requireNonNull(BeanUtil.copy(codeWupin, CodeWupinVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(codeWupin.getCreateUser()); |