package com.qianwen.smartman.modules.smis.convert; import org.mapstruct.Builder; import org.mapstruct.Mapper; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; import com.qianwen.smartman.modules.smis.entity.ShiftModel; import com.qianwen.smartman.modules.smis.vo.ShiftModelVO; import com.qianwen.smartman.modules.smis.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); }