All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.guyi.ipojo.module.h2.where.condition.WhereConditionItem Maven / Gradle / Ivy

The newest version!
package tech.guyi.ipojo.module.h2.where.condition;

import lombok.Data;
import tech.guyi.ipojo.module.h2.entry.DbEntity;

@Data
public class WhereConditionItem {

    private DbEntity entity;
    public WhereConditionItem(DbEntity entity) {
        this.entity = entity;
    }

    private String fieldName;
    private Object value;
    private String type;

    public String getName(){
        return this.entity.getColumnName(fieldName);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy