com.yuweix.kuafu.dao.mybatis.where.Operator Maven / Gradle / Ivy
The newest version!
package com.yuweix.kuafu.dao.mybatis.where;
/**
* 操作符
* @author yuwei
*/
public enum Operator {
gt(">"),
gte(">="),
eq("="),
lt("<"),
lte("<="),
ne("!="),
like("like"),
in("in"),
nin("not in"),
isNull("is null"),
isNotNull("is not null");
private String code;
Operator(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}