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

com.github.mybatis.util.PersistMeta Maven / Gradle / Ivy

The newest version!
package com.github.mybatis.util;

import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Map;

/**
 * 存储的元信息
 *
 * Created by lirui on 2014/10/23.
 */
public class PersistMeta {
  /**
   * 数据库表名字
   */
  private String tableName;
  /**
   * 列名字到Field的映射
   */
  private Map columns;

  /**
   * 执行某个函数获取表名后缀
   */
  private Method postfix;

  public String getTableName() {
    return tableName;
  }

  public void setTableName(String tableName) {
    this.tableName = tableName;
  }

  public Map getColumns() {
    return columns;
  }

  public void setColumns(Map columns) {
    this.columns = columns;
  }

  public Method getPostfix() {
    return postfix;
  }

  public void setPostfix(Method postfix) {
    this.postfix = postfix;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy