// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/StudentWithBLOBs.java
// public class StudentWithBLOBs extends Student {
//     private String bio;
// 
//     private byte[] pic;
// 
//     public String getBio() {
//         return bio;
//     }
// 
//     public void setBio(String bio) {
//         this.bio = bio == null ? null : bio.trim();
//     }
// 
//     public byte[] getPic() {
//         return pic;
//     }
// 
//     public void setPic(byte[] pic) {
//         this.pic = pic;
//     }
// }


import com.sdcuike.practice.domain.StudentWithBLOBs;
import org.mapstruct.Mapper;
package com.sdcuike.practice.domain.dto;


/**
 * Created by beaver on 2017/5/2.s
 */
@Mapper(uses = {AddressDtoMapper.class})
public interface StudentDtoMapper {
    
// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/StudentWithBLOBs.java
// public class StudentWithBLOBs extends Student {
//     private String bio;
// 
//     private byte[] pic;
// 
//     public String getBio() {
//         return bio;
//     }
// 
//     public void setBio(String bio) {
//         this.bio = bio == null ? null : bio.trim();
//     }
// 
//     public byte[] getPic() {
//         return pic;
//     }
// 
//     public void setPic(byte[] pic) {
//         this.pic = pic;
//     }
// }


// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/dto/StudentDtoMapper.java
import com.sdcuike.practice.domain.StudentWithBLOBs;
import org.mapstruct.Mapper;

package com.sdcuike.practice.domain.dto;


/**
 * Created by beaver on 2017/5/2.s
 */
@Mapper(uses = {AddressDtoMapper.class})
public interface StudentDtoMapper {
    
    StudentDto student2Dto(StudentWithBLOBs studentWithBLOBs);