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

org.sagacity.sqltoy.model.inner.EntityUpdateExtend Maven / Gradle / Ivy

There is a newer version: 5.6.31.jre8
Show newest version
/**
 * 
 */
package org.sagacity.sqltoy.model.inner;

import java.io.Serializable;

import javax.sql.DataSource;

import org.sagacity.sqltoy.model.IgnoreCaseLinkedMap;

/**
 * @project sagacity-sqltoy
 * @description EntityUpdate内部扩展类,便于隐藏属性避免暴露过多get方法
 * @author zhongxuchen
 * @version v1.0, Date:2020-8-7
 * @modify 2020-8-7,修改说明
 */
public class EntityUpdateExtend implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7224627356139617128L;

	/**
	 * 条件语句
	 */
	public String where;

	/**
	 * 条件参数值
	 */
	public Object[] values;

	/**
	 * 数据源
	 */
	public DataSource dataSource;

	/**
	 * 空白字符转为null
	 */
	public Boolean blankToNull;

	/**
	 * 跳过不存在的字段设置
	 */
	public Boolean skipNotExistColumn = false;

	/**
	 * 是否输出sql日志
	 */
	public Boolean showSql;

	/**
	 * update 的字段名称和对应的值
	 */
	public IgnoreCaseLinkedMap updateValues = new IgnoreCaseLinkedMap();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy