yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.qianwen.smartman.modules.cps.convert;
 
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import com.qianwen.smartman.modules.cps.entity.ShiftModel;
import com.qianwen.smartman.modules.cps.vo.ShiftModelVO;
import com.qianwen.smartman.modules.cps.vo.ShiftSimpleVO;
 
@Mapper(builder = @Builder(disableBuilder = true))
public interface ShiftConvert {
    public static final ShiftConvert INSTANCE = (ShiftConvert) Mappers.getMapper(ShiftConvert.class);
 
    @Mappings({})
    ShiftModelVO convert(ShiftModel db);
 
    @Mappings({})
    ShiftSimpleVO convertSimple(ShiftModel db);
}