com.github.lit.support.mybatis.builder.Logic Maven / Gradle / Ivy
package com.github.lit.support.mybatis.builder;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* User : liulu
* Date : 2017/3/18 13:19
* version $Id: Logic.java, v 0.1 Exp $
*/
@Getter
@AllArgsConstructor
public enum Logic {
EQ(" = ", "equal"),
NOT_EQ(" != ", "not equal"),
LT(" < ", "less than"),
GT(" > ", "grater than"),
LTEQ(" <= ", "less than or equal"),
GTEQ(" >= ", "grater than or equal"),
LIKE(" like ", "like"),
NOT_LIKE(" not like ", "not like"),
IN(" in ", "in"),
NOT_IN(" not in ", "not in"),
NULL(" is null ", "is null"),
NOT_NULL(" is not null ", "is not null"),;
private String code;
private String desc;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy