// Path: SpringBoot-Druid/src/main/java/com/lengchuan/springBoot/druid/mapper/cluster1/TeacherMapper.java
// public interface TeacherMapper {
// 
//     int insert(Teacher teacher);
// }
// 
// Path: SpringBoot-Druid/src/main/java/com/lengchuan/springBoot/druid/model/Teacher.java
// public class Teacher implements Serializable {
// 
//     private Integer id;
// 
//     private String name;
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// }


import com.lengchuan.springBoot.druid.mapper.cluster1.TeacherMapper;
import com.lengchuan.springBoot.druid.model.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
package com.lengchuan.springBoot.druid.service;


/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 17-4-4
 */
@Service
public class TeacherService {

    @Autowired
// Path: SpringBoot-Druid/src/main/java/com/lengchuan/springBoot/druid/mapper/cluster1/TeacherMapper.java
// public interface TeacherMapper {
// 
//     int insert(Teacher teacher);
// }
// 
// Path: SpringBoot-Druid/src/main/java/com/lengchuan/springBoot/druid/model/Teacher.java
// public class Teacher implements Serializable {
// 
//     private Integer id;
// 
//     private String name;
// 
//     public Integer getId() {
//         return id;
//     }
// 
//     public void setId(Integer id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// }


// Path: SpringBoot-Druid/src/main/java/com/lengchuan/springBoot/druid/service/TeacherService.java
import com.lengchuan.springBoot.druid.mapper.cluster1.TeacherMapper;
import com.lengchuan.springBoot.druid.model.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

package com.lengchuan.springBoot.druid.service;


/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 17-4-4
 */
@Service
public class TeacherService {

    @Autowired
    private TeacherMapper teacherMapper;