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

net.gdface.facelog.db.LogMetaData Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// ______________________________________________________
// 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_log table.
* @author guyadong */ public class LogMetaData extends RowMetaData implements Constant { private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of(); private static final ImmutableList FOREIGN_KEYS = ImmutableList.builder() .add("fl_log_ibfk_2 (device_id) REFERENCES fl_device(id) RESTRICT SET_NULL") .add("fl_log_ibfk_5 (compare_face) REFERENCES fl_face(id) RESTRICT SET_NULL") .add("fl_log_ibfk_3 (verify_feature) REFERENCES fl_feature(md5) RESTRICT SET_NULL") .add("fl_log_ibfk_4 (image_md5) REFERENCES fl_image(md5) RESTRICT SET_NULL") .add("fl_log_ibfk_1 (person_id) REFERENCES fl_person(id) RESTRICT CASCADE") .build(); private static final ImmutableList INDEXS = ImmutableList.builder() .add("compare_face (compare_face) ") .add("device_id (device_id) ") .add("image_md5 (image_md5) ") .add("person_id (person_id) ") .add("verify_feature (verify_feature) ") .build(); private static final List GETTERS = Arrays.asList("getId","getPersonId","getDeviceId","getVerifyFeature","getImageMd5","getCompareFace","getVerifyStatus","getSimilarty","getDirection","getTemperature","getProps","getVerifyType","getVerifyTime","getCreateTime"); private static final List SETTERS = Arrays.asList("setId","setPersonId","setDeviceId","setVerifyFeature","setImageMd5","setCompareFace","setVerifyStatus","setSimilarty","setDirection","setTemperature","setProps","setVerifyType","setVerifyTime","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 LogMetaData(){ super( "fl_log", "TABLE", LogBean.class, "Log", ILogManager.class, FL_LOG_FIELDS_LIST, FL_LOG_JAVA_FIELDS_LIST, GETTERS, SETTERS, FL_LOG_FIELD_TYPES, FL_LOG_FIELD_SIZES, FL_LOG_FIELD_SQL_TYPES, FL_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