| | |
| | | |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import org.springblade.modules.house.entity.UserHouseLabelEntity; |
| | | import org.springblade.modules.house.vo.HouseLabelVO; |
| | | import org.springblade.modules.house.entity.HouseLabelEntity; |
| | | import org.springblade.modules.house.vo.UserHouseLabelVO; |
| | | |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | |
| | | * @author BladeX |
| | | * @since 2023-10-28 |
| | | */ |
| | | public class HouseLabelWrapper extends BaseEntityWrapper<UserHouseLabelEntity, HouseLabelVO> { |
| | | public class HouseLabelWrapper extends BaseEntityWrapper<HouseLabelEntity, UserHouseLabelVO> { |
| | | |
| | | public static HouseLabelWrapper build() { |
| | | return new HouseLabelWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public HouseLabelVO entityVO(UserHouseLabelEntity houseLabel) { |
| | | HouseLabelVO houseLabelVO = Objects.requireNonNull(BeanUtil.copy(houseLabel, HouseLabelVO.class)); |
| | | public UserHouseLabelVO entityVO(HouseLabelEntity houseLabel) { |
| | | UserHouseLabelVO houseLabelVO = Objects.requireNonNull(BeanUtil.copy(houseLabel, UserHouseLabelVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(houseLabel.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(houseLabel.getUpdateUser()); |