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

net.gdface.facelog.db.PermitMetaData 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_permit table.
* @author guyadong */ public class PermitMetaData extends RowMetaData implements Constant { private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.builder() .put("device_group_id","fl_device_group.id") .put("person_group_id","fl_person_group.id") .build(); private static final ImmutableList FOREIGN_KEYS = ImmutableList.builder() .add("fl_permit_ibfk_1 (device_group_id) REFERENCES fl_device_group(id) RESTRICT CASCADE") .add("fl_permit_ibfk_2 (person_group_id) REFERENCES fl_person_group(id) RESTRICT CASCADE") .build(); private static final ImmutableList INDEXS = ImmutableList.builder() .build(); private static final List GETTERS = Arrays.asList("getDeviceGroupId","getPersonGroupId","getSchedule","getPassLimit","getRemark","getExtBin","getExtTxt","getCreateTime"); private static final List SETTERS = Arrays.asList("setDeviceGroupId","setPersonGroupId","setSchedule","setPassLimit","setRemark","setExtBin","setExtTxt","setCreateTime"); private static final String AUTO_INCREMENT_COLUMN = ""; private static final Class LOCK_COLUMN_TYPE = null; private static final String LOCK_COLUMN_NAME = null; public PermitMetaData(){ super( "fl_permit", "TABLE", PermitBean.class, "Permit", IPermitManager.class, FL_PERMIT_FIELDS_LIST, FL_PERMIT_JAVA_FIELDS_LIST, GETTERS, SETTERS, FL_PERMIT_FIELD_TYPES, FL_PERMIT_FIELD_SIZES, FL_PERMIT_FIELD_SQL_TYPES, FL_PERMIT_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