|
@@ -15,6 +15,9 @@
|
|
|
*/
|
|
|
package com.baomidou.mybatisplus.core.parser;
|
|
|
|
|
|
+import lombok.Data;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* Sql Info
|
|
@@ -23,6 +26,8 @@ package com.baomidou.mybatisplus.core.parser;
|
|
|
* @author hubin
|
|
|
* @since 2017-06-20
|
|
|
*/
|
|
|
+@Data
|
|
|
+@Accessors(chain = true)
|
|
|
public class SqlInfo {
|
|
|
|
|
|
/**
|
|
@@ -37,22 +42,4 @@ public class SqlInfo {
|
|
|
public static SqlInfo newInstance() {
|
|
|
return new SqlInfo();
|
|
|
}
|
|
|
-
|
|
|
- public String getSql() {
|
|
|
- return sql;
|
|
|
- }
|
|
|
-
|
|
|
- public SqlInfo setSql(String sql) {
|
|
|
- this.sql = sql;
|
|
|
- return this;
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isOrderBy() {
|
|
|
- return orderBy;
|
|
|
- }
|
|
|
-
|
|
|
- public SqlInfo setOrderBy(boolean orderBy) {
|
|
|
- this.orderBy = orderBy;
|
|
|
- return this;
|
|
|
- }
|
|
|
}
|