| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -2,96 +2,96 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					'use strict'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					module.exports = dc => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  const DataTypes = dc.ORM; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  const sequelize = dc.orm; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  const ProjectCorrelation = sequelize.define("projectCorrelation", { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    id: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      unique: "project_correlation_id_uindex" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    anxinProjectId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.ARRAY(DataTypes.INTEGER), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "anxin_project_id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    createTime: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.DATE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "create_time", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    createUser: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "create_user", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    name: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.STRING, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "name", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    pepProjectId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "pep_project_id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    del: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.BOOLEAN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "del", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    updateTime: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.DATE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "update_time", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    mappingClass: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: DataTypes.STRING, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      field: "mapping_class", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    tableName: "project_correlation", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    comment: "", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    indexes: [] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  dc.models.ProjectCorrelation = ProjectCorrelation; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  return ProjectCorrelation; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   const DataTypes = dc.ORM; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   const sequelize = dc.orm; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   const ProjectCorrelation = sequelize.define("projectCorrelation", { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      id: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         unique: "project_correlation_id_uindex" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      anxinProjectId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.ARRAY(DataTypes.INTEGER), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "anxin_project_id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      createTime: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.DATE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "create_time", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      createUser: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "create_user", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      name: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.STRING, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "name", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      pepProjectId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.INTEGER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "pep_project_id", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      del: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.BOOLEAN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "del", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      updateTime: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.DATE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "update_time", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      mappingClass: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         type: DataTypes.STRING, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         allowNull: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         defaultValue: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         comment: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         primaryKey: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         field: "mapping_class", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					         autoIncrement: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   }, { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      tableName: "project_correlation", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      comment: "", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      indexes: [] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   dc.models.ProjectCorrelation = ProjectCorrelation; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   return ProjectCorrelation; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					}; |