net.gdface.facelog.dborm.DaoConstant Maven / Gradle / Ivy
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java-2-6-7 (custom branch)
// modified by guyadong from
// sql2java original version https://sourceforge.net/projects/sql2java/
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: dao.constant.java.vm
// ______________________________________________________
package net.gdface.facelog.dborm;
/**
* constant declare
* @author guyadong
*/
public interface DaoConstant {
public static final int STATE_BIT_NUM = 32;
public static final int STATE_BIT_SHIFT = 5;
public static final int STATE_BIT_MASK = 0x1f;
public static final String SQL_LIKE_WILDCARD = "%";
/** set =QUERY for loadUsingTemplate */
public static final int SEARCH_EXACT = 0;
/** set %QUERY% for loadLikeTemplate */
public static final int SEARCH_LIKE = 1;
/** set %QUERY for loadLikeTemplate */
public static final int SEARCH_STARTING_LIKE = 2;
/** set QUERY% for loadLikeTemplate */
public static final int SEARCH_ENDING_LIKE = 3;
/** meta data of table's column */
public static class ColumnMeta{
final String table;
final String field;
final String fullName;
final int index;
final int ordinal;
final long mask;
final String getter;
final String setter;
private ColumnMeta(String table,String field,int ordinal,String getter,String setter){
this.table = table;
this.field = field;
this.fullName = this.table + field;
this.ordinal = ordinal;
this.index = ordinal -1;
this.mask = (1L << index);
this.getter = setter;
this.setter = setter;
}
}
/** Constant definition for fl_device */
public static interface DeviceConst{
public static final String TABLENAME = "fl_device";
/** column count for fl_device table */
public static final int COLUMN_COUNT = 17;
/** primary keys count for fl_device table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_device table */
public static final int FOREIGN_KEY_COUNT = 1;
/** imported keys count for fl_device table */
public static final int IMPORTED_KEY_COUNT = 2;
/** Contains all the primary key fields of the fl_device table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_device table.*/
public static final String FULL_FIELDS ="fl_device.id"
+ ",fl_device.group_id"
+ ",fl_device.name"
+ ",fl_device.product_name"
+ ",fl_device.model"
+ ",fl_device.vendor"
+ ",fl_device.manufacturer"
+ ",fl_device.made_date"
+ ",fl_device.version"
+ ",fl_device.sdk_version"
+ ",fl_device.serial_no"
+ ",fl_device.mac"
+ ",fl_device.remark"
+ ",fl_device.ext_bin"
+ ",fl_device.ext_txt"
+ ",fl_device.create_time"
+ ",fl_device.update_time";
/** Field that contains the comma separated fields of the fl_device table. */
public static final String FIELDS = "id"
+ ",group_id"
+ ",name"
+ ",product_name"
+ ",model"
+ ",vendor"
+ ",manufacturer"
+ ",made_date"
+ ",version"
+ ",sdk_version"
+ ",serial_no"
+ ",mac"
+ ",remark"
+ ",ext_bin"
+ ",ext_txt"
+ ",create_time"
+ ",update_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_device table. */
public static final String JAVA_FIELDS = "id"
+ ",groupId"
+ ",name"
+ ",productName"
+ ",model"
+ ",vendor"
+ ",manufacturer"
+ ",madeDate"
+ ",version"
+ ",sdkVersion"
+ ",serialNo"
+ ",mac"
+ ",remark"
+ ",extBin"
+ ",extTxt"
+ ",createTime"
+ ",updateTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_device(group_id) TO fl_device_group */groupId
}
public static enum Ik{
/** imported key fl_image(device_id) TO fl_device */deviceIdOfImage,
/** imported key fl_log(device_id) TO fl_device */deviceIdOfLog
}
public static enum Index{
/** fl_device index (mac) */indexMac,
/** fl_device index (serial_no) */indexSerialNo,
/** fl_device index (group_id) */indexGroupId,
/** fl_device index (sdk_version) */indexSdkVersion
}
/** Column Constant definition for fl_device */
public static enum Column{
/** constant for fl_device.id */
id("fl_device","id",1,"getId","setId"),
/** constant for fl_device.group_id */
groupId("fl_device","group_id",2,"getGroupId","setGroupId"),
/** constant for fl_device.name */
name("fl_device","name",3,"getName","setName"),
/** constant for fl_device.product_name */
productName("fl_device","product_name",4,"getProductName","setProductName"),
/** constant for fl_device.model */
model("fl_device","model",5,"getModel","setModel"),
/** constant for fl_device.vendor */
vendor("fl_device","vendor",6,"getVendor","setVendor"),
/** constant for fl_device.manufacturer */
manufacturer("fl_device","manufacturer",7,"getManufacturer","setManufacturer"),
/** constant for fl_device.made_date */
madeDate("fl_device","made_date",8,"getMadeDate","setMadeDate"),
/** constant for fl_device.version */
version("fl_device","version",9,"getVersion","setVersion"),
/** constant for fl_device.sdk_version */
sdkVersion("fl_device","sdk_version",10,"getSdkVersion","setSdkVersion"),
/** constant for fl_device.serial_no */
serialNo("fl_device","serial_no",11,"getSerialNo","setSerialNo"),
/** constant for fl_device.mac */
mac("fl_device","mac",12,"getMac","setMac"),
/** constant for fl_device.remark */
remark("fl_device","remark",13,"getRemark","setRemark"),
/** constant for fl_device.ext_bin */
extBin("fl_device","ext_bin",14,"getExtBin","setExtBin"),
/** constant for fl_device.ext_txt */
extTxt("fl_device","ext_txt",15,"getExtTxt","setExtTxt"),
/** constant for fl_device.create_time */
createTime("fl_device","create_time",16,"getCreateTime","setCreateTime"),
/** constant for fl_device.update_time */
updateTime("fl_device","update_time",17,"getUpdateTime","setUpdateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_device_group */
public static interface DeviceGroupConst{
public static final String TABLENAME = "fl_device_group";
/** column count for fl_device_group table */
public static final int COLUMN_COUNT = 10;
/** primary keys count for fl_device_group table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_device_group table */
public static final int FOREIGN_KEY_COUNT = 1;
/** imported keys count for fl_device_group table */
public static final int IMPORTED_KEY_COUNT = 3;
/** Contains all the primary key fields of the fl_device_group table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_device_group table.*/
public static final String FULL_FIELDS ="fl_device_group.id"
+ ",fl_device_group.name"
+ ",fl_device_group.leaf"
+ ",fl_device_group.parent"
+ ",fl_device_group.root_group"
+ ",fl_device_group.remark"
+ ",fl_device_group.ext_bin"
+ ",fl_device_group.ext_txt"
+ ",fl_device_group.create_time"
+ ",fl_device_group.update_time";
/** Field that contains the comma separated fields of the fl_device_group table. */
public static final String FIELDS = "id"
+ ",name"
+ ",leaf"
+ ",parent"
+ ",root_group"
+ ",remark"
+ ",ext_bin"
+ ",ext_txt"
+ ",create_time"
+ ",update_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_device_group table. */
public static final String JAVA_FIELDS = "id"
+ ",name"
+ ",leaf"
+ ",parent"
+ ",rootGroup"
+ ",remark"
+ ",extBin"
+ ",extTxt"
+ ",createTime"
+ ",updateTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_device_group(parent) TO fl_device_group */parent
}
public static enum Ik{
/** imported key fl_device(group_id) TO fl_device_group */groupIdOfDevice,
/** imported key fl_device_group(parent) TO fl_device_group */parentOfDeviceGroup,
/** imported key fl_permit(device_group_id) TO fl_device_group */deviceGroupIdOfPermit
}
public static enum Index{
/** fl_device_group index (parent) */indexParent
}
/** Column Constant definition for fl_device_group */
public static enum Column{
/** constant for fl_device_group.id */
id("fl_device_group","id",1,"getId","setId"),
/** constant for fl_device_group.name */
name("fl_device_group","name",2,"getName","setName"),
/** constant for fl_device_group.leaf */
leaf("fl_device_group","leaf",3,"getLeaf","setLeaf"),
/** constant for fl_device_group.parent */
parent("fl_device_group","parent",4,"getParent","setParent"),
/** constant for fl_device_group.root_group */
rootGroup("fl_device_group","root_group",5,"getRootGroup","setRootGroup"),
/** constant for fl_device_group.remark */
remark("fl_device_group","remark",6,"getRemark","setRemark"),
/** constant for fl_device_group.ext_bin */
extBin("fl_device_group","ext_bin",7,"getExtBin","setExtBin"),
/** constant for fl_device_group.ext_txt */
extTxt("fl_device_group","ext_txt",8,"getExtTxt","setExtTxt"),
/** constant for fl_device_group.create_time */
createTime("fl_device_group","create_time",9,"getCreateTime","setCreateTime"),
/** constant for fl_device_group.update_time */
updateTime("fl_device_group","update_time",10,"getUpdateTime","setUpdateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_face */
public static interface FaceConst{
public static final String TABLENAME = "fl_face";
/** column count for fl_face table */
public static final int COLUMN_COUNT = 19;
/** primary keys count for fl_face table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_face table */
public static final int FOREIGN_KEY_COUNT = 2;
/** imported keys count for fl_face table */
public static final int IMPORTED_KEY_COUNT = 1;
/** Contains all the primary key fields of the fl_face table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_face table.*/
public static final String FULL_FIELDS ="fl_face.id"
+ ",fl_face.image_md5"
+ ",fl_face.face_left"
+ ",fl_face.face_top"
+ ",fl_face.face_width"
+ ",fl_face.face_height"
+ ",fl_face.eye_leftx"
+ ",fl_face.eye_lefty"
+ ",fl_face.eye_rightx"
+ ",fl_face.eye_righty"
+ ",fl_face.mouth_x"
+ ",fl_face.mouth_y"
+ ",fl_face.nose_x"
+ ",fl_face.nose_y"
+ ",fl_face.angle_yaw"
+ ",fl_face.angle_pitch"
+ ",fl_face.angle_roll"
+ ",fl_face.ext_info"
+ ",fl_face.feature_md5";
/** Field that contains the comma separated fields of the fl_face table. */
public static final String FIELDS = "id"
+ ",image_md5"
+ ",face_left"
+ ",face_top"
+ ",face_width"
+ ",face_height"
+ ",eye_leftx"
+ ",eye_lefty"
+ ",eye_rightx"
+ ",eye_righty"
+ ",mouth_x"
+ ",mouth_y"
+ ",nose_x"
+ ",nose_y"
+ ",angle_yaw"
+ ",angle_pitch"
+ ",angle_roll"
+ ",ext_info"
+ ",feature_md5";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_face table. */
public static final String JAVA_FIELDS = "id"
+ ",imageMd5"
+ ",faceLeft"
+ ",faceTop"
+ ",faceWidth"
+ ",faceHeight"
+ ",eyeLeftx"
+ ",eyeLefty"
+ ",eyeRightx"
+ ",eyeRighty"
+ ",mouthX"
+ ",mouthY"
+ ",noseX"
+ ",noseY"
+ ",angleYaw"
+ ",anglePitch"
+ ",angleRoll"
+ ",extInfo"
+ ",featureMd5";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_face(feature_md5) TO fl_feature */featureMd5,
/** foreign key fl_face(image_md5) TO fl_image */imageMd5
}
public static enum Ik{
/** imported key fl_log(compare_face) TO fl_face */compareFaceOfLog
}
public static enum Index{
/** fl_face index (feature_md5) */indexFeatureMd5,
/** fl_face index (image_md5) */indexImageMd5
}
/** Column Constant definition for fl_face */
public static enum Column{
/** constant for fl_face.id */
id("fl_face","id",1,"getId","setId"),
/** constant for fl_face.image_md5 */
imageMd5("fl_face","image_md5",2,"getImageMd5","setImageMd5"),
/** constant for fl_face.face_left */
faceLeft("fl_face","face_left",3,"getFaceLeft","setFaceLeft"),
/** constant for fl_face.face_top */
faceTop("fl_face","face_top",4,"getFaceTop","setFaceTop"),
/** constant for fl_face.face_width */
faceWidth("fl_face","face_width",5,"getFaceWidth","setFaceWidth"),
/** constant for fl_face.face_height */
faceHeight("fl_face","face_height",6,"getFaceHeight","setFaceHeight"),
/** constant for fl_face.eye_leftx */
eyeLeftx("fl_face","eye_leftx",7,"getEyeLeftx","setEyeLeftx"),
/** constant for fl_face.eye_lefty */
eyeLefty("fl_face","eye_lefty",8,"getEyeLefty","setEyeLefty"),
/** constant for fl_face.eye_rightx */
eyeRightx("fl_face","eye_rightx",9,"getEyeRightx","setEyeRightx"),
/** constant for fl_face.eye_righty */
eyeRighty("fl_face","eye_righty",10,"getEyeRighty","setEyeRighty"),
/** constant for fl_face.mouth_x */
mouthX("fl_face","mouth_x",11,"getMouthX","setMouthX"),
/** constant for fl_face.mouth_y */
mouthY("fl_face","mouth_y",12,"getMouthY","setMouthY"),
/** constant for fl_face.nose_x */
noseX("fl_face","nose_x",13,"getNoseX","setNoseX"),
/** constant for fl_face.nose_y */
noseY("fl_face","nose_y",14,"getNoseY","setNoseY"),
/** constant for fl_face.angle_yaw */
angleYaw("fl_face","angle_yaw",15,"getAngleYaw","setAngleYaw"),
/** constant for fl_face.angle_pitch */
anglePitch("fl_face","angle_pitch",16,"getAnglePitch","setAnglePitch"),
/** constant for fl_face.angle_roll */
angleRoll("fl_face","angle_roll",17,"getAngleRoll","setAngleRoll"),
/** constant for fl_face.ext_info */
extInfo("fl_face","ext_info",18,"getExtInfo","setExtInfo"),
/** constant for fl_face.feature_md5 */
featureMd5("fl_face","feature_md5",19,"getFeatureMd5","setFeatureMd5");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_feature */
public static interface FeatureConst{
public static final String TABLENAME = "fl_feature";
/** column count for fl_feature table */
public static final int COLUMN_COUNT = 5;
/** primary keys count for fl_feature table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_feature table */
public static final int FOREIGN_KEY_COUNT = 1;
/** imported keys count for fl_feature table */
public static final int IMPORTED_KEY_COUNT = 2;
/** Contains all the primary key fields of the fl_feature table. */
public static final String[] PRIMARYKEY_NAMES = {"md5"};
/** Contains all the full fields of the fl_feature table.*/
public static final String FULL_FIELDS ="fl_feature.md5"
+ ",fl_feature.sdk_version"
+ ",fl_feature.person_id"
+ ",fl_feature.feature"
+ ",fl_feature.update_time";
/** Field that contains the comma separated fields of the fl_feature table. */
public static final String FIELDS = "md5"
+ ",sdk_version"
+ ",person_id"
+ ",feature"
+ ",update_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_feature table. */
public static final String JAVA_FIELDS = "md5"
+ ",sdkVersion"
+ ",personId"
+ ",feature"
+ ",updateTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_feature(person_id) TO fl_person */personId
}
public static enum Ik{
/** imported key fl_face(feature_md5) TO fl_feature */featureMd5OfFace,
/** imported key fl_log(verify_feature) TO fl_feature */verifyFeatureOfLog
}
public static enum Index{
/** fl_feature index (person_id) */indexPersonId,
/** fl_feature index (sdk_version) */indexSdkVersion
}
/** Column Constant definition for fl_feature */
public static enum Column{
/** constant for fl_feature.md5 */
md5("fl_feature","md5",1,"getMd5","setMd5"),
/** constant for fl_feature.sdk_version */
sdkVersion("fl_feature","sdk_version",2,"getSdkVersion","setSdkVersion"),
/** constant for fl_feature.person_id */
personId("fl_feature","person_id",3,"getPersonId","setPersonId"),
/** constant for fl_feature.feature */
feature("fl_feature","feature",4,"getFeature","setFeature"),
/** constant for fl_feature.update_time */
updateTime("fl_feature","update_time",5,"getUpdateTime","setUpdateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_image */
public static interface ImageConst{
public static final String TABLENAME = "fl_image";
/** column count for fl_image table */
public static final int COLUMN_COUNT = 8;
/** primary keys count for fl_image table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_image table */
public static final int FOREIGN_KEY_COUNT = 1;
/** imported keys count for fl_image table */
public static final int IMPORTED_KEY_COUNT = 2;
/** Contains all the primary key fields of the fl_image table. */
public static final String[] PRIMARYKEY_NAMES = {"md5"};
/** Contains all the full fields of the fl_image table.*/
public static final String FULL_FIELDS ="fl_image.md5"
+ ",fl_image.format"
+ ",fl_image.width"
+ ",fl_image.height"
+ ",fl_image.depth"
+ ",fl_image.face_num"
+ ",fl_image.thumb_md5"
+ ",fl_image.device_id";
/** Field that contains the comma separated fields of the fl_image table. */
public static final String FIELDS = "md5"
+ ",format"
+ ",width"
+ ",height"
+ ",depth"
+ ",face_num"
+ ",thumb_md5"
+ ",device_id";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_image table. */
public static final String JAVA_FIELDS = "md5"
+ ",format"
+ ",width"
+ ",height"
+ ",depth"
+ ",faceNum"
+ ",thumbMd5"
+ ",deviceId";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_image(device_id) TO fl_device */deviceId
}
public static enum Ik{
/** imported key fl_face(image_md5) TO fl_image */imageMd5OfFace,
/** imported key fl_person(image_md5) TO fl_image */imageMd5OfPerson
}
public static enum Index{
/** fl_image index (device_id) */indexDeviceId
}
/** Column Constant definition for fl_image */
public static enum Column{
/** constant for fl_image.md5 */
md5("fl_image","md5",1,"getMd5","setMd5"),
/** constant for fl_image.format */
format("fl_image","format",2,"getFormat","setFormat"),
/** constant for fl_image.width */
width("fl_image","width",3,"getWidth","setWidth"),
/** constant for fl_image.height */
height("fl_image","height",4,"getHeight","setHeight"),
/** constant for fl_image.depth */
depth("fl_image","depth",5,"getDepth","setDepth"),
/** constant for fl_image.face_num */
faceNum("fl_image","face_num",6,"getFaceNum","setFaceNum"),
/** constant for fl_image.thumb_md5 */
thumbMd5("fl_image","thumb_md5",7,"getThumbMd5","setThumbMd5"),
/** constant for fl_image.device_id */
deviceId("fl_image","device_id",8,"getDeviceId","setDeviceId");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_log */
public static interface LogConst{
public static final String TABLENAME = "fl_log";
/** column count for fl_log table */
public static final int COLUMN_COUNT = 9;
/** primary keys count for fl_log table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_log table */
public static final int FOREIGN_KEY_COUNT = 4;
/** imported keys count for fl_log table */
public static final int IMPORTED_KEY_COUNT = 0;
/** Contains all the primary key fields of the fl_log table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_log table.*/
public static final String FULL_FIELDS ="fl_log.id"
+ ",fl_log.person_id"
+ ",fl_log.device_id"
+ ",fl_log.verify_feature"
+ ",fl_log.compare_face"
+ ",fl_log.verify_status"
+ ",fl_log.similarty"
+ ",fl_log.verify_time"
+ ",fl_log.create_time";
/** Field that contains the comma separated fields of the fl_log table. */
public static final String FIELDS = "id"
+ ",person_id"
+ ",device_id"
+ ",verify_feature"
+ ",compare_face"
+ ",verify_status"
+ ",similarty"
+ ",verify_time"
+ ",create_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_log table. */
public static final String JAVA_FIELDS = "id"
+ ",personId"
+ ",deviceId"
+ ",verifyFeature"
+ ",compareFace"
+ ",verifyStatus"
+ ",similarty"
+ ",verifyTime"
+ ",createTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_log(device_id) TO fl_device */deviceId,
/** foreign key fl_log(compare_face) TO fl_face */compareFace,
/** foreign key fl_log(verify_feature) TO fl_feature */verifyFeature,
/** foreign key fl_log(person_id) TO fl_person */personId
}
public static enum Ik{
}
public static enum Index{
/** fl_log index (compare_face) */indexCompareFace,
/** fl_log index (device_id) */indexDeviceId,
/** fl_log index (person_id) */indexPersonId,
/** fl_log index (verify_feature) */indexVerifyFeature
}
/** Column Constant definition for fl_log */
public static enum Column{
/** constant for fl_log.id */
id("fl_log","id",1,"getId","setId"),
/** constant for fl_log.person_id */
personId("fl_log","person_id",2,"getPersonId","setPersonId"),
/** constant for fl_log.device_id */
deviceId("fl_log","device_id",3,"getDeviceId","setDeviceId"),
/** constant for fl_log.verify_feature */
verifyFeature("fl_log","verify_feature",4,"getVerifyFeature","setVerifyFeature"),
/** constant for fl_log.compare_face */
compareFace("fl_log","compare_face",5,"getCompareFace","setCompareFace"),
/** constant for fl_log.verify_status */
verifyStatus("fl_log","verify_status",6,"getVerifyStatus","setVerifyStatus"),
/** constant for fl_log.similarty */
similarty("fl_log","similarty",7,"getSimilarty","setSimilarty"),
/** constant for fl_log.verify_time */
verifyTime("fl_log","verify_time",8,"getVerifyTime","setVerifyTime"),
/** constant for fl_log.create_time */
createTime("fl_log","create_time",9,"getCreateTime","setCreateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_permit */
public static interface PermitConst{
public static final String TABLENAME = "fl_permit";
/** column count for fl_permit table */
public static final int COLUMN_COUNT = 6;
/** primary keys count for fl_permit table */
public static final int PRIMARY_KEY_COUNT = 2;
/** foreign keys count for fl_permit table */
public static final int FOREIGN_KEY_COUNT = 2;
/** imported keys count for fl_permit table */
public static final int IMPORTED_KEY_COUNT = 0;
/** Contains all the primary key fields of the fl_permit table. */
public static final String[] PRIMARYKEY_NAMES = {"device_group_id","person_group_id"};
/** Contains all the full fields of the fl_permit table.*/
public static final String FULL_FIELDS ="fl_permit.device_group_id"
+ ",fl_permit.person_group_id"
+ ",fl_permit.remark"
+ ",fl_permit.ext_bin"
+ ",fl_permit.ext_txt"
+ ",fl_permit.create_time";
/** Field that contains the comma separated fields of the fl_permit table. */
public static final String FIELDS = "device_group_id"
+ ",person_group_id"
+ ",remark"
+ ",ext_bin"
+ ",ext_txt"
+ ",create_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_permit table. */
public static final String JAVA_FIELDS = "deviceGroupId"
+ ",personGroupId"
+ ",remark"
+ ",extBin"
+ ",extTxt"
+ ",createTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_permit(device_group_id) TO fl_device_group */deviceGroupId,
/** foreign key fl_permit(person_group_id) TO fl_person_group */personGroupId
}
public static enum Ik{
}
public static enum Index{
}
/** Column Constant definition for fl_permit */
public static enum Column{
/** constant for fl_permit.device_group_id */
deviceGroupId("fl_permit","device_group_id",1,"getDeviceGroupId","setDeviceGroupId"),
/** constant for fl_permit.person_group_id */
personGroupId("fl_permit","person_group_id",2,"getPersonGroupId","setPersonGroupId"),
/** constant for fl_permit.remark */
remark("fl_permit","remark",3,"getRemark","setRemark"),
/** constant for fl_permit.ext_bin */
extBin("fl_permit","ext_bin",4,"getExtBin","setExtBin"),
/** constant for fl_permit.ext_txt */
extTxt("fl_permit","ext_txt",5,"getExtTxt","setExtTxt"),
/** constant for fl_permit.create_time */
createTime("fl_permit","create_time",6,"getCreateTime","setCreateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_person */
public static interface PersonConst{
public static final String TABLENAME = "fl_person";
/** column count for fl_person table */
public static final int COLUMN_COUNT = 17;
/** primary keys count for fl_person table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_person table */
public static final int FOREIGN_KEY_COUNT = 2;
/** imported keys count for fl_person table */
public static final int IMPORTED_KEY_COUNT = 2;
/** Contains all the primary key fields of the fl_person table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_person table.*/
public static final String FULL_FIELDS ="fl_person.id"
+ ",fl_person.group_id"
+ ",fl_person.name"
+ ",fl_person.sex"
+ ",fl_person.rank"
+ ",fl_person.password"
+ ",fl_person.birthdate"
+ ",fl_person.mobile_phone"
+ ",fl_person.papers_type"
+ ",fl_person.papers_num"
+ ",fl_person.image_md5"
+ ",fl_person.expiry_date"
+ ",fl_person.remark"
+ ",fl_person.ext_bin"
+ ",fl_person.ext_txt"
+ ",fl_person.create_time"
+ ",fl_person.update_time";
/** Field that contains the comma separated fields of the fl_person table. */
public static final String FIELDS = "id"
+ ",group_id"
+ ",name"
+ ",sex"
+ ",rank"
+ ",password"
+ ",birthdate"
+ ",mobile_phone"
+ ",papers_type"
+ ",papers_num"
+ ",image_md5"
+ ",expiry_date"
+ ",remark"
+ ",ext_bin"
+ ",ext_txt"
+ ",create_time"
+ ",update_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_person table. */
public static final String JAVA_FIELDS = "id"
+ ",groupId"
+ ",name"
+ ",sex"
+ ",rank"
+ ",password"
+ ",birthdate"
+ ",mobilePhone"
+ ",papersType"
+ ",papersNum"
+ ",imageMd5"
+ ",expiryDate"
+ ",remark"
+ ",extBin"
+ ",extTxt"
+ ",createTime"
+ ",updateTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_person(image_md5) TO fl_image */imageMd5,
/** foreign key fl_person(group_id) TO fl_person_group */groupId
}
public static enum Ik{
/** imported key fl_feature(person_id) TO fl_person */personIdOfFeature,
/** imported key fl_log(person_id) TO fl_person */personIdOfLog
}
public static enum Index{
/** fl_person index (image_md5) */indexImageMd5,
/** fl_person index (papers_num) */indexPapersNum,
/** fl_person index (expiry_date) */indexExpiryDate,
/** fl_person index (group_id) */indexGroupId
}
/** Column Constant definition for fl_person */
public static enum Column{
/** constant for fl_person.id */
id("fl_person","id",1,"getId","setId"),
/** constant for fl_person.group_id */
groupId("fl_person","group_id",2,"getGroupId","setGroupId"),
/** constant for fl_person.name */
name("fl_person","name",3,"getName","setName"),
/** constant for fl_person.sex */
sex("fl_person","sex",4,"getSex","setSex"),
/** constant for fl_person.rank */
rank("fl_person","rank",5,"getRank","setRank"),
/** constant for fl_person.password */
password("fl_person","password",6,"getPassword","setPassword"),
/** constant for fl_person.birthdate */
birthdate("fl_person","birthdate",7,"getBirthdate","setBirthdate"),
/** constant for fl_person.mobile_phone */
mobilePhone("fl_person","mobile_phone",8,"getMobilePhone","setMobilePhone"),
/** constant for fl_person.papers_type */
papersType("fl_person","papers_type",9,"getPapersType","setPapersType"),
/** constant for fl_person.papers_num */
papersNum("fl_person","papers_num",10,"getPapersNum","setPapersNum"),
/** constant for fl_person.image_md5 */
imageMd5("fl_person","image_md5",11,"getImageMd5","setImageMd5"),
/** constant for fl_person.expiry_date */
expiryDate("fl_person","expiry_date",12,"getExpiryDate","setExpiryDate"),
/** constant for fl_person.remark */
remark("fl_person","remark",13,"getRemark","setRemark"),
/** constant for fl_person.ext_bin */
extBin("fl_person","ext_bin",14,"getExtBin","setExtBin"),
/** constant for fl_person.ext_txt */
extTxt("fl_person","ext_txt",15,"getExtTxt","setExtTxt"),
/** constant for fl_person.create_time */
createTime("fl_person","create_time",16,"getCreateTime","setCreateTime"),
/** constant for fl_person.update_time */
updateTime("fl_person","update_time",17,"getUpdateTime","setUpdateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_person_group */
public static interface PersonGroupConst{
public static final String TABLENAME = "fl_person_group";
/** column count for fl_person_group table */
public static final int COLUMN_COUNT = 10;
/** primary keys count for fl_person_group table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_person_group table */
public static final int FOREIGN_KEY_COUNT = 1;
/** imported keys count for fl_person_group table */
public static final int IMPORTED_KEY_COUNT = 3;
/** Contains all the primary key fields of the fl_person_group table. */
public static final String[] PRIMARYKEY_NAMES = {"id"};
/** Contains all the full fields of the fl_person_group table.*/
public static final String FULL_FIELDS ="fl_person_group.id"
+ ",fl_person_group.name"
+ ",fl_person_group.leaf"
+ ",fl_person_group.parent"
+ ",fl_person_group.root_group"
+ ",fl_person_group.remark"
+ ",fl_person_group.ext_bin"
+ ",fl_person_group.ext_txt"
+ ",fl_person_group.create_time"
+ ",fl_person_group.update_time";
/** Field that contains the comma separated fields of the fl_person_group table. */
public static final String FIELDS = "id"
+ ",name"
+ ",leaf"
+ ",parent"
+ ",root_group"
+ ",remark"
+ ",ext_bin"
+ ",ext_txt"
+ ",create_time"
+ ",update_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_person_group table. */
public static final String JAVA_FIELDS = "id"
+ ",name"
+ ",leaf"
+ ",parent"
+ ",rootGroup"
+ ",remark"
+ ",extBin"
+ ",extTxt"
+ ",createTime"
+ ",updateTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
/** foreign key fl_person_group(parent) TO fl_person_group */parent
}
public static enum Ik{
/** imported key fl_permit(person_group_id) TO fl_person_group */personGroupIdOfPermit,
/** imported key fl_person(group_id) TO fl_person_group */groupIdOfPerson,
/** imported key fl_person_group(parent) TO fl_person_group */parentOfPersonGroup
}
public static enum Index{
/** fl_person_group index (parent) */indexParent
}
/** Column Constant definition for fl_person_group */
public static enum Column{
/** constant for fl_person_group.id */
id("fl_person_group","id",1,"getId","setId"),
/** constant for fl_person_group.name */
name("fl_person_group","name",2,"getName","setName"),
/** constant for fl_person_group.leaf */
leaf("fl_person_group","leaf",3,"getLeaf","setLeaf"),
/** constant for fl_person_group.parent */
parent("fl_person_group","parent",4,"getParent","setParent"),
/** constant for fl_person_group.root_group */
rootGroup("fl_person_group","root_group",5,"getRootGroup","setRootGroup"),
/** constant for fl_person_group.remark */
remark("fl_person_group","remark",6,"getRemark","setRemark"),
/** constant for fl_person_group.ext_bin */
extBin("fl_person_group","ext_bin",7,"getExtBin","setExtBin"),
/** constant for fl_person_group.ext_txt */
extTxt("fl_person_group","ext_txt",8,"getExtTxt","setExtTxt"),
/** constant for fl_person_group.create_time */
createTime("fl_person_group","create_time",9,"getCreateTime","setCreateTime"),
/** constant for fl_person_group.update_time */
updateTime("fl_person_group","update_time",10,"getUpdateTime","setUpdateTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_store */
public static interface StoreConst{
public static final String TABLENAME = "fl_store";
/** column count for fl_store table */
public static final int COLUMN_COUNT = 3;
/** primary keys count for fl_store table */
public static final int PRIMARY_KEY_COUNT = 1;
/** foreign keys count for fl_store table */
public static final int FOREIGN_KEY_COUNT = 0;
/** imported keys count for fl_store table */
public static final int IMPORTED_KEY_COUNT = 0;
/** Contains all the primary key fields of the fl_store table. */
public static final String[] PRIMARYKEY_NAMES = {"md5"};
/** Contains all the full fields of the fl_store table.*/
public static final String FULL_FIELDS ="fl_store.md5"
+ ",fl_store.encoding"
+ ",fl_store.data";
/** Field that contains the comma separated fields of the fl_store table. */
public static final String FIELDS = "md5"
+ ",encoding"
+ ",data";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_store table. */
public static final String JAVA_FIELDS = "md5"
+ ",encoding"
+ ",data";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
}
public static enum Ik{
}
public static enum Index{
}
/** Column Constant definition for fl_store */
public static enum Column{
/** constant for fl_store.md5 */
md5("fl_store","md5",1,"getMd5","setMd5"),
/** constant for fl_store.encoding */
encoding("fl_store","encoding",2,"getEncoding","setEncoding"),
/** constant for fl_store.data */
data("fl_store","data",3,"getData","setData");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
/** Constant definition for fl_log_light */
public static interface LogLightConst{
public static final String TABLENAME = "fl_log_light";
/** column count for fl_log_light table */
public static final int COLUMN_COUNT = 6;
/** primary keys count for fl_log_light table */
public static final int PRIMARY_KEY_COUNT = 0;
/** foreign keys count for fl_log_light table */
public static final int FOREIGN_KEY_COUNT = 0;
/** imported keys count for fl_log_light table */
public static final int IMPORTED_KEY_COUNT = 0;
/** Contains all the primary key fields of the fl_log_light table. */
public static final String[] PRIMARYKEY_NAMES = {};
/** Contains all the full fields of the fl_log_light table.*/
public static final String FULL_FIELDS ="fl_log_light.id"
+ ",fl_log_light.person_id"
+ ",fl_log_light.name"
+ ",fl_log_light.papers_type"
+ ",fl_log_light.papers_num"
+ ",fl_log_light.verify_time";
/** Field that contains the comma separated fields of the fl_log_light table. */
public static final String FIELDS = "id"
+ ",person_id"
+ ",name"
+ ",papers_type"
+ ",papers_num"
+ ",verify_time";
/** immutable list of {@link #FIELDS} */
public static final java.util.List FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(FIELDS.split(",")));
/** Field that contains the comma separated java fields of the fl_log_light table. */
public static final String JAVA_FIELDS = "id"
+ ",personId"
+ ",name"
+ ",papersType"
+ ",papersNum"
+ ",verifyTime";
/** immutable list of {@link #JAVA_FIELDS} */
public static final java.util.List JAVA_FIELDS_LIST = java.util.Collections.unmodifiableList(java.util.Arrays.asList(JAVA_FIELDS.split(",")));
public static enum Fk{
}
public static enum Ik{
}
public static enum Index{
}
/** Column Constant definition for fl_log_light */
public static enum Column{
/** constant for fl_log_light.id */
id("fl_log_light","id",1,"getId","setId"),
/** constant for fl_log_light.person_id */
personId("fl_log_light","person_id",2,"getPersonId","setPersonId"),
/** constant for fl_log_light.name */
name("fl_log_light","name",3,"getName","setName"),
/** constant for fl_log_light.papers_type */
papersType("fl_log_light","papers_type",4,"getPapersType","setPapersType"),
/** constant for fl_log_light.papers_num */
papersNum("fl_log_light","papers_num",5,"getPapersNum","setPapersNum"),
/** constant for fl_log_light.verify_time */
verifyTime("fl_log_light","verify_time",6,"getVerifyTime","setVerifyTime");
final ColumnMeta meta;
private Column(String table,String field,int ordinal,String getter,String setter){
meta = new ColumnMeta(table,field,ordinal,getter,setter);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy