package com.qianwen.smartman.modules.smis.convert; import java.util.List; import org.mapstruct.Builder; import org.mapstruct.Mapper; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; import com.qianwen.smartman.modules.smis.entity.ProductionCalendar; import com.qianwen.smartman.modules.smis.vo.CalendarSaveVO; import com.qianwen.smartman.modules.smis.vo.CalendarSimpleVO; import com.qianwen.smartman.modules.smis.vo.ProductionCalendarVO; @Mapper(builder = @Builder(disableBuilder = true)) public interface ProductionCalendarConvert { public static final ProductionCalendarConvert INSTANCE = (ProductionCalendarConvert) Mappers.getMapper(ProductionCalendarConvert.class); @Mappings({}) ProductionCalendarVO convert(ProductionCalendar db); @Mappings({}) List convert(List db); @Mappings({}) ProductionCalendar conver(CalendarSaveVO calendarSaveVO); }