kimi
2020-05-27 c007f0ca1785db093d48f4846cda82fe8e955765
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
package com.highdatas.mdm.pojo;
 
import com.highdatas.mdm.util.Constant;
 
public enum ViewJoinType {
    /*
    * 左联
    * */
    left,
    /*
    * 内联
    * */
    inner;
 
    @Override
    public String toString() {
        if (left.equals(this)) {
            return Constant.LeftJoin;
        } else if (inner.equals(this)) {
            return Constant.InnerJoin;
        }
 
        return super.toString();
    }
}