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