// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/User.java
// @Data
// @NoArgsConstructor
// public class User extends AbstractAuditingEntity {
//     private Long id;
//     
//     private String loginName;
//     
//     private String phone;
//     
//     private String passwordHash;
//     
//     private String firstName;
//     
//     private String lastName;
//     
//     private String email;
//     
//     private String imageUrl;
//     
//     private Boolean activated;
//     
//     private String langKey;
//     
//     private String activationKey;
//     
//     private String resetKey;
//     
//     private Date resetTime;
//     
//     private Set<Authority> authorities = new HashSet<>();
//     
//     
// }


import com.sdcuike.practice.config.DatasourceConfig.UseDataSourceTest;
import com.sdcuike.practice.domain.User;
package com.sdcuike.practice.mapper;


@UseDataSourceTest
public interface UserMapper {
    int deleteByPrimaryKey(Long id);
    
// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/domain/User.java
// @Data
// @NoArgsConstructor
// public class User extends AbstractAuditingEntity {
//     private Long id;
//     
//     private String loginName;
//     
//     private String phone;
//     
//     private String passwordHash;
//     
//     private String firstName;
//     
//     private String lastName;
//     
//     private String email;
//     
//     private String imageUrl;
//     
//     private Boolean activated;
//     
//     private String langKey;
//     
//     private String activationKey;
//     
//     private String resetKey;
//     
//     private Date resetTime;
//     
//     private Set<Authority> authorities = new HashSet<>();
//     
//     
// }


// Path: spring-boot-oauth-authorization-server/src/main/java/com/sdcuike/practice/mapper/UserMapper.java
import com.sdcuike.practice.config.DatasourceConfig.UseDataSourceTest;
import com.sdcuike.practice.domain.User;

package com.sdcuike.practice.mapper;


@UseDataSourceTest
public interface UserMapper {
    int deleteByPrimaryKey(Long id);
    
    int insert(User record);