You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.5 KiB
62 lines
1.5 KiB
2 years ago
|
/* eslint-disable*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = dc => {
|
||
|
const DataTypes = dc.ORM;
|
||
|
const sequelize = dc.orm;
|
||
|
const QualityCheckResult = sequelize.define("qualityCheckResult", {
|
||
|
id: {
|
||
|
type: DataTypes.BIGINT,
|
||
|
allowNull: false,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: true,
|
||
|
field: "id",
|
||
|
autoIncrement: true,
|
||
|
unique: "t_quality_check_result_id_uindex"
|
||
|
},
|
||
|
database: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: false,
|
||
|
field: "database",
|
||
|
autoIncrement: false,
|
||
|
},
|
||
|
mode: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: false,
|
||
|
field: "mode",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
total: {
|
||
|
type: DataTypes.BIGINT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: false,
|
||
|
field: "total",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
unexpected: {
|
||
|
type: DataTypes.BIGINT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: false,
|
||
|
field: "unexpected",
|
||
|
autoIncrement: false
|
||
|
}
|
||
|
}, {
|
||
|
tableName: "t_quality_check_result",
|
||
|
comment: "",
|
||
|
indexes: []
|
||
|
});
|
||
|
dc.models.QualityCheckResult = QualityCheckResult;
|
||
|
return QualityCheckResult;
|
||
|
};
|