liujie
2026-06-26 8fbe2f5f29b9658b6201b3daabe2d575c9da88fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.estate.expert.admin.domain.plan;
 
import com.estate.expert.admin.domain.common.mapper.EntityRefMapper;
import com.estate.expert.admin.domain.common.mapper.IMapperBase;
import com.estate.expert.admin.utils.MappingIgnore;
import org.mapstruct.*;
 
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING, uses = {EntityRefMapper.class})
public interface PlanMapper extends IMapperBase<PlanDto, Plan> {
 
    @Mapping(target = "state", ignore = true)
    @Mapping(target = "completedTime", ignore = true)
    @MappingIgnore
    @Override
    Plan partialUpdate(PlanDto planDto, @MappingTarget Plan plan);
 
}