src/main/java/com/gm/wj/dto/base/OutputConverter.java
/**
     * Convert from domain.(shallow)
     *
     * @param domain domain data
     * @return converted dto data
     */
Convert from domain.(shallow)
@param domain domain data
@return converted dto data
Convert from domain . ( shallow ) @param domain domain data @return converted dto data
@SuppressWarnings("unchecked")
    @NonNull
    default <T extends DTO> T convertFrom(@NonNull DOMAIN domain) {
        updateProperties(domain, this);
        return (T) this;
    }
@ SuppressWarnings ( "unchecked" ) @ NonNull default < T extends DTO > T convertFrom ( @ NonNull DOMAIN domain ) { updateProperties ( domain , this ) ; return ( T ) this ; }
Convert from domain.
Convert from domain .