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.
 
graphResource2/gen-Model/models/lauchuserstructrelationorga...

42 lines
976 B

const Sequelize = require('sequelize');
module.exports = function(sequelize, DataTypes) {
return sequelize.define('lauchuserstructrelationorganizationauthority', {
organizationRelationAuthorityId: {
autoIncrement: true,
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
organizationStruct: {
type: DataTypes.INTEGER,
allowNull: false
},
authorityStruct: {
type: DataTypes.INTEGER,
allowNull: false
},
createTime: {
type: DataTypes.DATE,
allowNull: false
},
isDelete: {
type: DataTypes.STRING(64),
allowNull: false,
defaultValue: ""
}
}, {
sequelize,
tableName: 'lauchuserstructrelationorganizationauthority',
timestamps: false,
indexes: [
{
name: "PRIMARY",
unique: true,
using: "BTREE",
fields: [
{ name: "organizationRelationAuthorityId" },
]
},
]
});
};