// Path: QuickProject-Core/src/main/java/chanedi/dao/complexQuery/Sort.java
// @Data
// public class Sort implements Serializable {
// 
//     private static final long serialVersionUID = 7026434198845897214L;
//     private String property;
//     private String tableAlias;
//     private String column;
//     private Direction direction;
// 
//     public Sort() {
//         super();
//         direction = Direction.ASC;
//     }
// 
//     public Sort(String property) {
//         this();
//         this.property = property;
//     }
// 
//     public Sort(String property, Direction direction) {
//         this();
//         this.property = property;
//         this.direction = direction;
//     }
// 
//     public static enum Direction {
//         ASC, DESC;
//     }
// 
// }


import chanedi.dao.complexQuery.Sort;
import java.util.List;
package chanedi.dao.dialect;



/**
 * 数据库方言。
 * Created by unknown
 * Modify by Chanedi
 */
public abstract class Dialect {

    public abstract String addLimitString(String sql, int skipResults, int maxResults);

// Path: QuickProject-Core/src/main/java/chanedi/dao/complexQuery/Sort.java
// @Data
// public class Sort implements Serializable {
// 
//     private static final long serialVersionUID = 7026434198845897214L;
//     private String property;
//     private String tableAlias;
//     private String column;
//     private Direction direction;
// 
//     public Sort() {
//         super();
//         direction = Direction.ASC;
//     }
// 
//     public Sort(String property) {
//         this();
//         this.property = property;
//     }
// 
//     public Sort(String property, Direction direction) {
//         this();
//         this.property = property;
//         this.direction = direction;
//     }
// 
//     public static enum Direction {
//         ASC, DESC;
//     }
// 
// }


// Path: QuickProject-Core/src/main/java/chanedi/dao/dialect/Dialect.java
import chanedi.dao.complexQuery.Sort;
import java.util.List;

package chanedi.dao.dialect;



/**
 * 数据库方言。
 * Created by unknown
 * Modify by Chanedi
 */
public abstract class Dialect {

    public abstract String addLimitString(String sql, int skipResults, int maxResults);

    public abstract String addSortString(String sql, List<Sort> sortList);