net.gdface.facelog.db.DeviceMetaData 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_device table.
* @author guyadong
*/
public class DeviceMetaData extends RowMetaData implements Constant
{
private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of();
private static final ImmutableList FOREIGN_KEYS =
ImmutableList.builder()
.add("fl_device_ibfk_1 (group_id) REFERENCES fl_device_group(id) RESTRICT SET_NULL")
.build();
private static final ImmutableList INDEXS =
ImmutableList.builder()
.add("mac (mac) UNIQUE")
.add("serial_no (serial_no) UNIQUE")
.add("group_id (group_id) ")
.build();
private static final List GETTERS = Arrays.asList("getId","getGroupId","getName","getProductName","getModel","getVendor","getManufacturer","getMadeDate","getVersion","getUsedSdks","getSerialNo","getMac","getDirection","getRemark","getExtBin","getExtTxt","getCreateTime","getUpdateTime","getStatus","getOptions");
private static final List SETTERS = Arrays.asList("setId","setGroupId","setName","setProductName","setModel","setVendor","setManufacturer","setMadeDate","setVersion","setUsedSdks","setSerialNo","setMac","setDirection","setRemark","setExtBin","setExtTxt","setCreateTime","setUpdateTime","setStatus","setOptions");
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 DeviceMetaData(){
super(
"fl_device",
"TABLE",
DeviceBean.class,
"Device",
IDeviceManager.class,
FL_DEVICE_FIELDS_LIST,
FL_DEVICE_JAVA_FIELDS_LIST,
GETTERS,
SETTERS,
FL_DEVICE_FIELD_TYPES,
FL_DEVICE_FIELD_SIZES,
FL_DEVICE_FIELD_SQL_TYPES,
FL_DEVICE_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