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.

30 lines
625 B

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