net.gdface.facelog.db.ImageMetaData 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_image table.
* @author guyadong
*/
public class ImageMetaData extends RowMetaData implements Constant
{
private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of();
private static final ImmutableList FOREIGN_KEYS =
ImmutableList.builder()
.add("fl_image_ibfk_1 (device_id) REFERENCES fl_device(id) RESTRICT SET_NULL")
.build();
private static final ImmutableList INDEXS =
ImmutableList.builder()
.add("device_id (device_id) ")
.build();
private static final List GETTERS = Arrays.asList("getMd5","getFormat","getWidth","getHeight","getDepth","getFaceNum","getThumbMd5","getDeviceId");
private static final List SETTERS = Arrays.asList("setMd5","setFormat","setWidth","setHeight","setDepth","setFaceNum","setThumbMd5","setDeviceId");
private static final String AUTO_INCREMENT_COLUMN = "";
private static final Class> LOCK_COLUMN_TYPE = null;
private static final String LOCK_COLUMN_NAME = null;
public ImageMetaData(){
super(
"fl_image",
"TABLE",
ImageBean.class,
"Image",
IImageManager.class,
FL_IMAGE_FIELDS_LIST,
FL_IMAGE_JAVA_FIELDS_LIST,
GETTERS,
SETTERS,
FL_IMAGE_FIELD_TYPES,
FL_IMAGE_FIELD_SIZES,
FL_IMAGE_FIELD_SQL_TYPES,
FL_IMAGE_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