// Path: druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/java/com/github/trang/druid/example/mybatis/model/City.java
// @Data
// public class City implements Serializable {
// 
//     private static final long serialVersionUID = 1L;
// 
//     private Long id;
//     private String name;
//     private String state;
//     private String country;
// 
// }


import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.github.trang.druid.example.mybatis.model.City;
package com.github.trang.druid.example.mybatis.mapper;




/**
 * CityMapper
 *
 * @author trang
 */
@Mapper
public interface CityMapper {

    @Select("select * from city")
// Path: druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/java/com/github/trang/druid/example/mybatis/model/City.java
// @Data
// public class City implements Serializable {
// 
//     private static final long serialVersionUID = 1L;
// 
//     private Long id;
//     private String name;
//     private String state;
//     private String country;
// 
// }


// Path: druid-spring-boot-example/druid-spring-boot-mybatis-example/src/main/java/com/github/trang/druid/example/mybatis/mapper/CityMapper.java
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.github.trang.druid.example.mybatis.model.City;

package com.github.trang.druid.example.mybatis.mapper;




/**
 * CityMapper
 *
 * @author trang
 */
@Mapper
public interface CityMapper {

    @Select("select * from city")
    List<City> findAll();