net.gdface.facelog.db.ErrorLogMetaData Maven / Gradle / Ivy
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: metadata.java.vm
// ______________________________________________________
package net.gdface.facelog.db;
import java.util.List;
import java.util.Arrays;
import gu.sql2java.RowMetaData;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableList;
/**
* Class to supply table meta data for the fl_error_log table.
* @author guyadong
*/
public class ErrorLogMetaData extends RowMetaData implements Constant
{
private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of();
private static final ImmutableList FOREIGN_KEYS =
ImmutableList.builder()
.add("fl_error_log_ibfk_2 (device_id) REFERENCES fl_device(id) RESTRICT CASCADE")
.add("fl_error_log_ibfk_1 (person_id) REFERENCES fl_person(id) RESTRICT CASCADE")
.build();
private static final ImmutableList INDEXS =
ImmutableList.builder()
.add("catalog (catalog) ")
.add("device_id (device_id) ")
.add("person_id (person_id) ")
.build();
private static final List GETTERS = Arrays.asList("getId","getCatalog","getPersonId","getDeviceId","getExceptionClass","getMessage","getStackTrace","getCreateTime");
private static final List SETTERS = Arrays.asList("setId","setCatalog","setPersonId","setDeviceId","setExceptionClass","setMessage","setStackTrace","setCreateTime");
private static final String AUTO_INCREMENT_COLUMN = "id";
private static final Class> LOCK_COLUMN_TYPE = null;
private static final String LOCK_COLUMN_NAME = null;
public ErrorLogMetaData(){
super(
"fl_error_log",
"TABLE",
ErrorLogBean.class,
"ErrorLog",
IErrorLogManager.class,
FL_ERROR_LOG_FIELDS_LIST,
FL_ERROR_LOG_JAVA_FIELDS_LIST,
GETTERS,
SETTERS,
FL_ERROR_LOG_FIELD_TYPES,
FL_ERROR_LOG_FIELD_SIZES,
FL_ERROR_LOG_FIELD_SQL_TYPES,
FL_ERROR_LOG_PK_FIELDS_LIST,
JUNCTION_TABLE_PK_MAP,
LOCK_COLUMN_TYPE,
LOCK_COLUMN_NAME,
FOREIGN_KEYS,
INDEXS,
AUTO_INCREMENT_COLUMN
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy