package cn.ibizlab.core.sample.mapping;

import org.mapstruct.*;
import cn.ibizlab.core.sample.domain.IBIZCustomerMG;
import cn.ibizlab.core.sample.domain.IBIZCustomer;
import java.util.List;

@Mapper(componentModel = "spring", uses = {})
public interface IBIZCustomerMGInheritMapping {

    @Mappings({
            @Mapping(target ="focusNull",ignore = true),
            @Mapping(source ="ibizCustomerId",target = "ibizCustomerId"),
            @Mapping(source ="ibizCustomerName",target = "ibizCustomerName"),
    })
    IBIZCustomer toIbizCustomer(IBIZCustomerMG ibizCustomerMg);

    @Mappings({
            @Mapping(target ="focusNull",ignore = true),
            @Mapping(source ="ibizCustomerId",target = "ibizCustomerId"),
            @Mapping(source ="ibizCustomerName",target = "ibizCustomerName"),
    })
    IBIZCustomerMG toIbizCustomerMg(IBIZCustomer ibizCustomer);

    List<IBIZCustomer> toIbizCustomer(List<IBIZCustomerMG> list);

    List<IBIZCustomerMG> toIbizCustomerMg(List<IBIZCustomer> list);

}
