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.

37 lines
747 B

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const CheckItems = sequelize.define("checkItems", {
id: {
field: "id",
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true,
},
name: {
field: "name",
type: DataTypes.STRING,
allowNull: false,
primaryKey: false,
autoIncrement: false
},
groupId: {
field: "group_id",
type: DataTypes.INTEGER,
allowNull: true,
primaryKey: false,
autoIncrement: false
}
}, {
tableName: "check_items",
comment: "",
indexes: []
});
dc.models.CheckItems = CheckItems;
return CheckItems;
};