// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/Student.java
// @Data
// @NoArgsConstructor
// public class Student {
//     private Long studId;
//     
//     private String name;
//     
//     private String email;
//     
//     private String phone;
//     
//     private LocalDateTime dob;
//     
//     private List<Address> addresses;
// }
// 
// 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.config.DatasourceConfig.UseDataSourceTest;
import com.sdcuike.practice.domain.Student;
import com.sdcuike.practice.domain.StudentWithBLOBs;
package com.sdcuike.practice.mapper;

@UseDataSourceTest
public interface StudentMapper {
    int deleteByPrimaryKey(Long studId);

// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/Student.java
// @Data
// @NoArgsConstructor
// public class Student {
//     private Long studId;
//     
//     private String name;
//     
//     private String email;
//     
//     private String phone;
//     
//     private LocalDateTime dob;
//     
//     private List<Address> addresses;
// }
// 
// 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/mapper/StudentMapper.java
import com.sdcuike.practice.config.DatasourceConfig.UseDataSourceTest;
import com.sdcuike.practice.domain.Student;
import com.sdcuike.practice.domain.StudentWithBLOBs;

package com.sdcuike.practice.mapper;

@UseDataSourceTest
public interface StudentMapper {
    int deleteByPrimaryKey(Long studId);

    int insert(StudentWithBLOBs record);