package com.schisandra.auth.domain.convert;

import com.schisandra.auth.domain.bo.SchisandraAuthUserBO;
import com.schisandra.auth.domain.bo.SchisandraSmsConfigBO;
import com.schisandra.auth.infra.basic.entity.SchisandraAuthUser;
import com.schisandra.auth.infra.basic.entity.SchisandraSmsConfig;
import lombok.Data;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (SchisandraSmsConfig)实体类
 *
 * @author makejava
 * @since 2024-05-08 20:09:54
 */
@Mapper(componentModel = "spring")
public interface SchisandraSmsConfigBOConvert  {

    SchisandraSmsConfigBOConvert INSTANCE = Mappers.getMapper(SchisandraSmsConfigBOConvert.class);

    /**
     * @description 将bo转换为实体
     * @param schisandraSmsConfigBO
     * @return com.schisandra.auth.infra.basic.bo.SchisandraAuthUser
     * @author schisandra
     * @date 2024/3/21 23:13
     */
    SchisandraSmsConfig convertBOToEntity(SchisandraSmsConfigBO schisandraSmsConfigBO);

    /**
     * @description 将实体转换为bo
     * @param schisandraSmsConfig
     * @return com.schisandra.auth.domain.bo.SchisandraAuthUserBO
     * @author schisandra
     * @date 2024/3/21 23:13
     */
    SchisandraSmsConfigBO convertEntityToBO(SchisandraSmsConfig schisandraSmsConfig);

    List<SchisandraSmsConfigBO> convertEntityToBOList(List<SchisandraSmsConfig> schisandraSmsConfigs);


}

