ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package jnpf.permission.model.authorize;
 
import lombok.Data;
import org.mybatis.dynamic.sql.BasicColumn;
import org.mybatis.dynamic.sql.SqlTable;
 
import java.util.List;
 
/**
 *
 * dynamicSql模型
 * @author JNPF开发平台组
 * @version V3.4.4
 * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
 * @date  2022/9/27
 */
@Data
public class OnlineDynamicSqlModel {
    private List<BasicColumn> columns;
    private SqlTable sqlTable;
    private String tableName;
    private boolean isMain;
    private String foreign;
    private String relationKey;
 
    public OnlineDynamicSqlModel(){
 
    }
 
    public OnlineDynamicSqlModel(SqlTable sqlTable, List<BasicColumn> sqlColumns) {
        this.sqlTable = sqlTable;
        this.columns = sqlColumns;
        this.isMain = true;
    }
 
    public OnlineDynamicSqlModel(SqlTable sqlTable, List<BasicColumn> sqlColumns,String foreign,String relationKey, boolean b) {
        this.sqlTable = sqlTable;
        this.columns = sqlColumns;
        this.foreign = foreign;
        this.relationKey = relationKey;
        this.isMain = b;
    }
}